module Net::SSH::Connection::Term
These constants are used when requesting a pseudo-terminal (via Net::SSH::Connection::Channel#request_pty
). The descriptions for each are taken directly from RFC 4254 (“The Secure Shell (SSH
) Connection
Protocol”), tools.ietf.org/html/rfc4254.
Constants
- CS7
-
7 bit mode.
- CS8
-
8 bit mode.
- ECHO
-
Enable echoing.
- ECHOCTL
-
Echo control characters as ^(Char).
- ECHOE
-
Visually erase chars.
- ECHOK
-
Kill character discards current line.
- ECHOKE
-
Visual erase for line kill.
- ECHONL
-
Echo NL even if
ECHO
is off. - ICANON
-
Canonicalize input lines.
- ICRNL
-
Map CR to NL on input.
- IEXTEN
-
Enable extensions.
- IGNCR
-
Ignore CR on input.
- IGNPAR
-
The ignore parity flag. The parameter SHOULD be 0 if this flag is FALSE, and 1 if it is TRUE.
- IMAXBEL
-
Ring bell on input queue full.
- INCLR
-
Map NL into CR on input.
- INPCK
-
Enable checking of parity errors.
- ISIG
-
Enable signals INTR, QUIT, [D]SUSP.
- ISTRIP
-
Strip 8th bit off characters.
- IUCLC
-
Translate uppercase characters to lowercase.
- IXANY
-
Any char will restart after stop.
- IXOFF
-
Enable input flow control.
- IXON
-
Enable output flow control.
- NOFLSH
-
Don’t flush after interrupt.
- OCRNL
-
Translate carriage return to newline (output).
- OLCUC
-
Convert lowercase to uppercase.
- ONLCR
-
Map NL to CR-NL.
- ONLRET
-
Newline performs a carriage return (output).
- ONOCR
-
Translate newline to carriage return-newline (output).
- OPOST
-
Enable output processing.
- PARENB
-
Parity enable.
- PARMRK
-
Mark parity and framing errors.
- PARODD
-
Odd parity, else even.
- PENDIN
-
Retype pending input.
- TOSTOP
-
Stop background jobs from output.
- TTY_OP_ISPEED
-
Specifies the input baud rate in bits per second.
- TTY_OP_OSPEED
-
Specifies the output baud rate in bits per second.
- VDISCARD
-
Toggles the flushing of terminal output.
- VDSUSP
-
Another suspend character.
- 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.
- VERASE
-
Erase the character to left of the cursor.
- VFLUSH
-
Character to flush output.
- VINTR
-
Interrupt character; 255 if none. Similarly for the other characters. Not all of these characters are supported on all systems.
- VKILL
-
Kill the current input line.
- VLNEXT
-
Enter the next character typed literally, even if it is a special character.
- VQUIT
-
The quit character (sends SIGQUIT signal on POSIX systems).
- VREPRINT
-
Reprints the current input line.
- VSTART
-
Continues paused output (normally control-Q).
- VSTATUS
-
Prints system status line (load, command, pid, etc).
- VSTOP
-
Pauses output (normally control-S).
- VSUSP
-
Suspends the current program.
- VSWITCH
-
Switch to a different shell layer.
- VWERASE
-
Erases a word left of cursor.
- XCASE
-
Enable input and output of uppercase characters by preceding their lowercase equivalents with “".