- java.lang.Object
-
- org.jline.terminal.impl.AbstractPty
-
- org.jline.terminal.impl.jansi.JansiNativePty
-
- org.jline.terminal.impl.jansi.freebsd.FreeBsdNativePty
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Pty
public class FreeBsdNativePty extends JansiNativePty
-
-
Constructor Summary
Constructors Constructor Description FreeBsdNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, int slaveOut, FileDescriptor slaveOutFD, String name)
FreeBsdNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FreeBsdNativePty
current()
static FreeBsdNativePty
open(Attributes attr, Size size)
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
-
-
-
-
Constructor Detail
-
FreeBsdNativePty
public FreeBsdNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, String name)
-
FreeBsdNativePty
public FreeBsdNativePty(int master, FileDescriptor masterFD, int slave, FileDescriptor slaveFD, int slaveOut, FileDescriptor slaveOutFD, String name)
-
-
Method Detail
-
current
public static FreeBsdNativePty current() throws IOException
- Throws:
IOException
-
open
public static FreeBsdNativePty open(Attributes attr, Size size) throws IOException
- Throws:
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
-
-