Class FreeBsdNativePty
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,org.jline.terminal.spi.Pty
-
Constructor Summary
ConstructorsConstructorDescriptionFreeBsdNativePty(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
Modifier and TypeMethodDescriptionstatic FreeBsdNativePtycurrent(org.jline.terminal.spi.TerminalProvider.Stream consoleStream) static FreeBsdNativePtyopen(org.jline.terminal.Attributes attr, org.jline.terminal.Size size) protected org.jline.terminal.AttributestoAttributes(org.fusesource.jansi.internal.CLibrary.Termios tio) protected org.fusesource.jansi.internal.CLibrary.TermiostoTermios(org.jline.terminal.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, isPosixSystemStream, posixSystemStreamName, setSize, toString, ttynameMethods inherited from class org.jline.terminal.impl.AbstractPty
checkInterrupted, getSlaveInput, newDescriptor, setAttrMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jline.terminal.spi.Pty
getSlaveInput, setAttr
-
Constructor Details
-
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 Details
-
current
public static FreeBsdNativePty current(org.jline.terminal.spi.TerminalProvider.Stream consoleStream) throws IOException - Throws:
IOException
-
open
public static FreeBsdNativePty open(org.jline.terminal.Attributes attr, org.jline.terminal.Size size) throws IOException - Throws:
IOException
-
toTermios
protected org.fusesource.jansi.internal.CLibrary.Termios toTermios(org.jline.terminal.Attributes t) - Specified by:
toTermiosin classJansiNativePty
-
toAttributes
protected org.jline.terminal.Attributes toAttributes(org.fusesource.jansi.internal.CLibrary.Termios tio) - Specified by:
toAttributesin classJansiNativePty
-