Class SolarisNativePty
- java.lang.Object
-
- org.jline.terminal.impl.AbstractPty
-
- org.jline.terminal.impl.jansi.JansiNativePty
-
- org.jline.terminal.impl.jansi.solaris.SolarisNativePty
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,Pty
public class SolarisNativePty extends JansiNativePty
-
-
Field Summary
Fields Modifier and Type Field Description private static int
B0
private static int
B110
private static int
B1200
private static int
B134
private static int
B150
private static int
B1800
private static int
B19200
private static int
B200
private static int
B2400
private static int
B300
private static int
B38400
private static int
B4800
private static int
B50
private static int
B600
private static int
B75
private static int
B9600
private static int
BRKINT
private static int
BS0
private static int
BS1
private static int
BSDLY
private static int
CBAUD
private static int
CLOCAL
private static int
CR0
private static int
CR1
private static int
CR2
private static int
CR3
private static int
CRDLY
private static int
CREAD
private static int
CS5
private static int
CS6
private static int
CS7
private static int
CS8
private static int
CSIZE
private static int
CSTOPB
private static int
ECHO
private static int
ECHOCTL
private static int
ECHOE
private static int
ECHOK
private static int
ECHOKE
private static int
ECHONL
private static int
ECHOPRT
private static int
EXTA
private static int
EXTB
private static int
EXTPROC
private static int
FF0
private static int
FF1
private static int
FFDLY
private static int
FLUSHO
private static int
HUPCL
private static int
ICANON
private static int
ICRNL
private static int
IEXTEN
private static int
IGNBRK
private static int
IGNCR
private static int
IGNPAR
private static int
IMAXBEL
private static int
INLCR
private static int
INPCK
private static int
ISIG
private static int
ISTRIP
private static int
IUCLC
private static int
IUTF8
private static int
IXANY
private static int
IXOFF
private static int
IXON
private static int
NL0
private static int
NL1
private static int
NLDLY
private static int
NOFLSH
private static int
OCRNL
private static int
OFDEL
private static int
OFILL
private static int
OLCUC
private static int
ONLCR
private static int
ONLRET
private static int
ONOCR
private static int
OPOST
private static int
PARENB
private static int
PARMRK
private static int
PARODD
private static int
PENDIN
private static int
TAB0
private static int
TAB1
private static int
TAB2
private static int
TAB3
private static int
TABDLY
private static int
TOSTOP
private static int
VDISCARD
private static int
VEOF
private static int
VEOL
private static int
VEOL2
private static int
VERASE
private static int
VINTR
private static int
VKILL
private static int
VLNEXT
private static int
VMIN
private static int
VQUIT
private static int
VREPRINT
private static int
VSTART
private static int
VSTOP
private static int
VSUSP
private static int
VSWTC
private static int
VT0
private static int
VT1
private static int
VTDLY
private static int
VTIME
private static int
VWERASE
private static int
XCASE
private static int
XTABS
-
Constructor Summary
Constructors Constructor Description SolarisNativePty(int master, java.io.FileDescriptor masterFD, int slave, java.io.FileDescriptor slaveFD, int slaveOut, java.io.FileDescriptor slaveOutFD, java.lang.String name)
SolarisNativePty(int master, java.io.FileDescriptor masterFD, int slave, java.io.FileDescriptor slaveFD, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static <T extends java.lang.Enum<T>>
voidaddFlag(long value, java.util.EnumSet<T> flags, T flag, int v)
static SolarisNativePty
current()
private static long
setFlag(boolean flag, long value, long org)
protected Attributes
toAttributes(org.fusesource.jansi.internal.CLibrary.Termios tio)
protected org.fusesource.jansi.internal.CLibrary.Termios
toTermios(Attributes t)
-
Methods inherited from class org.jline.terminal.impl.jansi.JansiNativePty
close, doGetSlaveInput, doSetAttr, getAttr, getMaster, getMasterFD, getMasterInput, getMasterOutput, getName, getSize, getSlave, getSlaveFD, getSlaveOut, getSlaveOutFD, getSlaveOutput, isConsoleInput, isConsoleOutput, newDescriptor, setSize, toString, ttyname
-
Methods inherited from class org.jline.terminal.impl.AbstractPty
checkInterrupted, getSlaveInput, setAttr
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jline.terminal.spi.Pty
getSlaveInput, setAttr
-
-
-
-
Field Detail
-
VINTR
private static final int VINTR
- See Also:
- Constant Field Values
-
VQUIT
private static final int VQUIT
- See Also:
- Constant Field Values
-
VERASE
private static final int VERASE
- See Also:
- Constant Field Values
-
VKILL
private static final int VKILL
- See Also:
- Constant Field Values
-
VEOF
private static final int VEOF
- See Also:
- Constant Field Values
-
VTIME
private static final int VTIME
- See Also:
- Constant Field Values
-
VMIN
private static final int VMIN
- See Also:
- Constant Field Values
-
VSWTC
private static final int VSWTC
- See Also:
- Constant Field Values
-
VSTART
private static final int VSTART
- See Also:
- Constant Field Values
-
VSTOP
private static final int VSTOP
- See Also:
- Constant Field Values
-
VSUSP
private static final int VSUSP
- See Also:
- Constant Field Values
-
VEOL
private static final int VEOL
- See Also:
- Constant Field Values
-
VREPRINT
private static final int VREPRINT
- See Also:
- Constant Field Values
-
VDISCARD
private static final int VDISCARD
- See Also:
- Constant Field Values
-
VWERASE
private static final int VWERASE
- See Also:
- Constant Field Values
-
VLNEXT
private static final int VLNEXT
- See Also:
- Constant Field Values
-
VEOL2
private static final int VEOL2
- See Also:
- Constant Field Values
-
IGNBRK
private static final int IGNBRK
- See Also:
- Constant Field Values
-
BRKINT
private static final int BRKINT
- See Also:
- Constant Field Values
-
IGNPAR
private static final int IGNPAR
- See Also:
- Constant Field Values
-
PARMRK
private static final int PARMRK
- See Also:
- Constant Field Values
-
INPCK
private static final int INPCK
- See Also:
- Constant Field Values
-
ISTRIP
private static final int ISTRIP
- See Also:
- Constant Field Values
-
INLCR
private static final int INLCR
- See Also:
- Constant Field Values
-
IGNCR
private static final int IGNCR
- See Also:
- Constant Field Values
-
ICRNL
private static final int ICRNL
- See Also:
- Constant Field Values
-
IUCLC
private static final int IUCLC
- See Also:
- Constant Field Values
-
IXON
private static final int IXON
- See Also:
- Constant Field Values
-
IXANY
private static final int IXANY
- See Also:
- Constant Field Values
-
IXOFF
private static final int IXOFF
- See Also:
- Constant Field Values
-
IMAXBEL
private static final int IMAXBEL
- See Also:
- Constant Field Values
-
IUTF8
private static final int IUTF8
- See Also:
- Constant Field Values
-
OPOST
private static final int OPOST
- See Also:
- Constant Field Values
-
OLCUC
private static final int OLCUC
- See Also:
- Constant Field Values
-
ONLCR
private static final int ONLCR
- See Also:
- Constant Field Values
-
OCRNL
private static final int OCRNL
- See Also:
- Constant Field Values
-
ONOCR
private static final int ONOCR
- See Also:
- Constant Field Values
-
ONLRET
private static final int ONLRET
- See Also:
- Constant Field Values
-
OFILL
private static final int OFILL
- See Also:
- Constant Field Values
-
OFDEL
private static final int OFDEL
- See Also:
- Constant Field Values
-
NLDLY
private static final int NLDLY
- See Also:
- Constant Field Values
-
NL0
private static final int NL0
- See Also:
- Constant Field Values
-
NL1
private static final int NL1
- See Also:
- Constant Field Values
-
CRDLY
private static final int CRDLY
- See Also:
- Constant Field Values
-
CR0
private static final int CR0
- See Also:
- Constant Field Values
-
CR1
private static final int CR1
- See Also:
- Constant Field Values
-
CR2
private static final int CR2
- See Also:
- Constant Field Values
-
CR3
private static final int CR3
- See Also:
- Constant Field Values
-
TABDLY
private static final int TABDLY
- See Also:
- Constant Field Values
-
TAB0
private static final int TAB0
- See Also:
- Constant Field Values
-
TAB1
private static final int TAB1
- See Also:
- Constant Field Values
-
TAB2
private static final int TAB2
- See Also:
- Constant Field Values
-
TAB3
private static final int TAB3
- See Also:
- Constant Field Values
-
XTABS
private static final int XTABS
- See Also:
- Constant Field Values
-
BSDLY
private static final int BSDLY
- See Also:
- Constant Field Values
-
BS0
private static final int BS0
- See Also:
- Constant Field Values
-
BS1
private static final int BS1
- See Also:
- Constant Field Values
-
VTDLY
private static final int VTDLY
- See Also:
- Constant Field Values
-
VT0
private static final int VT0
- See Also:
- Constant Field Values
-
VT1
private static final int VT1
- See Also:
- Constant Field Values
-
FFDLY
private static final int FFDLY
- See Also:
- Constant Field Values
-
FF0
private static final int FF0
- See Also:
- Constant Field Values
-
FF1
private static final int FF1
- See Also:
- Constant Field Values
-
CBAUD
private static final int CBAUD
- See Also:
- Constant Field Values
-
B0
private static final int B0
- See Also:
- Constant Field Values
-
B50
private static final int B50
- See Also:
- Constant Field Values
-
B75
private static final int B75
- See Also:
- Constant Field Values
-
B110
private static final int B110
- See Also:
- Constant Field Values
-
B134
private static final int B134
- See Also:
- Constant Field Values
-
B150
private static final int B150
- See Also:
- Constant Field Values
-
B200
private static final int B200
- See Also:
- Constant Field Values
-
B300
private static final int B300
- See Also:
- Constant Field Values
-
B600
private static final int B600
- See Also:
- Constant Field Values
-
B1200
private static final int B1200
- See Also:
- Constant Field Values
-
B1800
private static final int B1800
- See Also:
- Constant Field Values
-
B2400
private static final int B2400
- See Also:
- Constant Field Values
-
B4800
private static final int B4800
- See Also:
- Constant Field Values
-
B9600
private static final int B9600
- See Also:
- Constant Field Values
-
B19200
private static final int B19200
- See Also:
- Constant Field Values
-
B38400
private static final int B38400
- See Also:
- Constant Field Values
-
EXTA
private static final int EXTA
- See Also:
- Constant Field Values
-
EXTB
private static final int EXTB
- See Also:
- Constant Field Values
-
CSIZE
private static final int CSIZE
- See Also:
- Constant Field Values
-
CS5
private static final int CS5
- See Also:
- Constant Field Values
-
CS6
private static final int CS6
- See Also:
- Constant Field Values
-
CS7
private static final int CS7
- See Also:
- Constant Field Values
-
CS8
private static final int CS8
- See Also:
- Constant Field Values
-
CSTOPB
private static final int CSTOPB
- See Also:
- Constant Field Values
-
CREAD
private static final int CREAD
- See Also:
- Constant Field Values
-
PARENB
private static final int PARENB
- See Also:
- Constant Field Values
-
PARODD
private static final int PARODD
- See Also:
- Constant Field Values
-
HUPCL
private static final int HUPCL
- See Also:
- Constant Field Values
-
CLOCAL
private static final int CLOCAL
- See Also:
- Constant Field Values
-
ISIG
private static final int ISIG
- See Also:
- Constant Field Values
-
ICANON
private static final int ICANON
- See Also:
- Constant Field Values
-
XCASE
private static final int XCASE
- See Also:
- Constant Field Values
-
ECHO
private static final int ECHO
- See Also:
- Constant Field Values
-
ECHOE
private static final int ECHOE
- See Also:
- Constant Field Values
-
ECHOK
private static final int ECHOK
- See Also:
- Constant Field Values
-
ECHONL
private static final int ECHONL
- See Also:
- Constant Field Values
-
NOFLSH
private static final int NOFLSH
- See Also:
- Constant Field Values
-
TOSTOP
private static final int TOSTOP
- See Also:
- Constant Field Values
-
ECHOCTL
private static final int ECHOCTL
- See Also:
- Constant Field Values
-
ECHOPRT
private static final int ECHOPRT
- See Also:
- Constant Field Values
-
ECHOKE
private static final int ECHOKE
- See Also:
- Constant Field Values
-
FLUSHO
private static final int FLUSHO
- See Also:
- Constant Field Values
-
PENDIN
private static final int PENDIN
- See Also:
- Constant Field Values
-
IEXTEN
private static final int IEXTEN
- See Also:
- Constant Field Values
-
EXTPROC
private static final int EXTPROC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SolarisNativePty
public SolarisNativePty(int master, java.io.FileDescriptor masterFD, int slave, java.io.FileDescriptor slaveFD, java.lang.String name)
-
SolarisNativePty
public SolarisNativePty(int master, java.io.FileDescriptor masterFD, int slave, java.io.FileDescriptor slaveFD, int slaveOut, java.io.FileDescriptor slaveOutFD, java.lang.String name)
-
-
Method Detail
-
current
public static SolarisNativePty current() throws java.io.IOException
- Throws:
java.io.IOException
-
toTermios
protected org.fusesource.jansi.internal.CLibrary.Termios toTermios(Attributes t)
- Specified by:
toTermios
in classJansiNativePty
-
toAttributes
protected Attributes toAttributes(org.fusesource.jansi.internal.CLibrary.Termios tio)
- Specified by:
toAttributes
in classJansiNativePty
-
setFlag
private static long setFlag(boolean flag, long value, long org)
-
addFlag
private static <T extends java.lang.Enum<T>> void addFlag(long value, java.util.EnumSet<T> flags, T flag, int v)
-
-