Enum ssh2::PtyModeOpcode
source · pub enum PtyModeOpcode {
Show 56 variants
TTY_OP_END,
VINTR,
VQUIT,
VERASE,
VKILL,
VEOF,
VEOL,
VEOL2,
VSTART,
VSTOP,
VSUSP,
VDSUSP,
VREPRINT,
VWERASE,
VLNEXT,
VFLUSH,
VSWTCH,
VSTATUS,
VDISCARD,
IGNPAR,
PARMRK,
INPCK,
ISTRIP,
INLCR,
IGNCR,
ICRNL,
IUCLC,
IXON,
IXANY,
IXOFF,
IMAXBEL,
ISIG,
ICANON,
XCASE,
ECHO,
ECHOE,
ECHOK,
ECHONL,
NOFLSH,
TOSTOP,
IEXTEN,
ECHOCTL,
ECHOKE,
PENDIN,
OPOST,
OLCUC,
ONLCR,
OCRNL,
ONOCR,
ONLRET,
CS7,
CS8,
PARENB,
PARODD,
TTY_OP_ISPEED,
TTY_OP_OSPEED,
}
Expand description
The modes described in https://tools.ietf.org/html/rfc4250#section-4.5.2
Variants§
TTY_OP_END
Indicates end of options.
VINTR
Interrupt character; 255 if none. Similarly for the other characters. Not all of these characters are supported on all systems.
VQUIT
The quit character (sends SIGQUIT signal on POSIX systems).
VERASE
Erase the character to left of the cursor.
VKILL
Kill the current input line.
VEOF
End-of-file character (sends EOF from the terminal).
VEOL
End-of-line character in addition to carriage return and/or linefeed.
VEOL2
Additional end-of-line character.
VSTART
Continues paused output (normally control-Q).
VSTOP
Pauses output (normally control-S).
VSUSP
Suspends the current program.
VDSUSP
Another suspend character.
VREPRINT
Reprints the current input line.
VWERASE
Erases a word left of cursor.
VLNEXT
Enter the next character typed literally, even if it is a special character
VFLUSH
Character to flush output.
VSWTCH
Switch to a different shell layer.
VSTATUS
Prints system status line (load, command, pid, etc).
VDISCARD
Toggles the flushing of terminal output.
IGNPAR
The ignore parity flag. The parameter SHOULD be 0 if this flag is FALSE, and 1 if it is TRUE.
PARMRK
Mark parity and framing errors.
INPCK
Enable checking of parity errors.
ISTRIP
Strip 8th bit off characters.
INLCR
Map NL into CR on input.
IGNCR
Ignore CR on input.
ICRNL
Map CR to NL on input.
IUCLC
Translate uppercase characters to lowercase.
IXON
Enable output flow control.
IXANY
Any char will restart after stop.
IXOFF
Enable input flow control.
IMAXBEL
Ring bell on input queue full.
ISIG
Enable signals INTR, QUIT, [D]SUSP.
ICANON
Canonicalize input lines.
XCASE
Enable input and output of uppercase characters by preceding their lowercase equivalents with “".
ECHO
Enable echoing.
ECHOE
Visually erase chars.
ECHOK
Kill character discards current line.
ECHONL
Echo NL even if ECHO is off.
NOFLSH
Don’t flush after interrupt.
TOSTOP
Stop background jobs from output.
IEXTEN
Enable extensions.
ECHOCTL
Echo control characters as ^(Char).
ECHOKE
Visual erase for line kill.
PENDIN
Retype pending input.
OPOST
Enable output processing.
OLCUC
Convert lowercase to uppercase.
ONLCR
Map NL to CR-NL.
OCRNL
Translate carriage return to newline (output).
ONOCR
Translate newline to carriage return-newline (output).
ONLRET
Newline performs a carriage return (output).
CS7
7 bit mode.
CS8
8 bit mode.
PARENB
Parity enable.
PARODD
Odd parity, else even.
TTY_OP_ISPEED
Specifies the input baud rate in bits per second.
TTY_OP_OSPEED
Specifies the output baud rate in bits per second.
Trait Implementations§
source§impl Clone for PtyModeOpcode
impl Clone for PtyModeOpcode
source§fn clone(&self) -> PtyModeOpcode
fn clone(&self) -> PtyModeOpcode
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PtyModeOpcode
impl Debug for PtyModeOpcode
source§impl From<PtyModeOpcode> for ExtensiblePtyModeOpcode
impl From<PtyModeOpcode> for ExtensiblePtyModeOpcode
source§fn from(op: PtyModeOpcode) -> ExtensiblePtyModeOpcode
fn from(op: PtyModeOpcode) -> ExtensiblePtyModeOpcode
source§impl PartialEq<PtyModeOpcode> for PtyModeOpcode
impl PartialEq<PtyModeOpcode> for PtyModeOpcode
source§fn eq(&self, other: &PtyModeOpcode) -> bool
fn eq(&self, other: &PtyModeOpcode) -> bool
self
and other
values to be equal, and is used
by ==
.