Module: Net::SSH::Connection::Term
- Defined in:
- lib/net/ssh/connection/term.rb
Overview
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.
Constant Summary collapse
- VINTR =
Interrupt character; 255 if none. Similarly for the other characters. Not all of these characters are supported on all systems.
1- VQUIT =
The quit character (sends SIGQUIT signal on POSIX systems).
2- VERASE =
Erase the character to left of the cursor.
3- VKILL =
Kill the current input line.
4- VEOF =
End-of-file character (sends EOF from the terminal).
5- VEOL =
End-of-line character in addition to carriage return and/or linefeed.
6- VEOL2 =
Additional end-of-line character.
7- VSTART =
Continues paused output (normally control-Q).
8- VSTOP =
Pauses output (normally control-S).
9- VSUSP =
Suspends the current program.
10- VDSUSP =
Another suspend character.
11- VREPRINT =
Reprints the current input line.
12- VWERASE =
Erases a word left of cursor.
13- VLNEXT =
Enter the next character typed literally, even if it is a special character.
14- VFLUSH =
Character to flush output.
15- VSWITCH =
Switch to a different shell layer.
16- VSTATUS =
Prints system status line (load, command, pid, etc).
17- VDISCARD =
Toggles the flushing of terminal output.
18- IGNPAR =
The ignore parity flag. The parameter SHOULD be 0 if this flag is FALSE, and 1 if it is TRUE.
30- PARMRK =
Mark parity and framing errors.
31- INPCK =
Enable checking of parity errors.
32- ISTRIP =
Strip 8th bit off characters.
33- INCLR =
Map NL into CR on input.
34- IGNCR =
Ignore CR on input.
35- ICRNL =
Map CR to NL on input.
36- IUCLC =
Translate uppercase characters to lowercase.
37- IXON =
Enable output flow control.
38- IXANY =
Any char will restart after stop.
39- IXOFF =
Enable input flow control.
40- IMAXBEL =
Ring bell on input queue full.
41- ISIG =
Enable signals INTR, QUIT, [D]SUSP.
50- ICANON =
Canonicalize input lines.
51- XCASE =
Enable input and output of uppercase characters by preceding their lowercase equivalents with “".
52- ECHO =
Enable echoing.
53- ECHOE =
Visually erase chars.
54- ECHOK =
Kill character discards current line.
55- ECHONL =
Echo NL even if ECHO is off.
56- NOFLSH =
Don’t flush after interrupt.
57- TOSTOP =
Stop background jobs from output.
58- IEXTEN =
Enable extensions.
59- ECHOCTL =
Echo control characters as ^(Char).
60- ECHOKE =
Visual erase for line kill.
61- PENDIN =
Retype pending input.
62- OPOST =
Enable output processing.
70- OLCUC =
Convert lowercase to uppercase.
71- ONLCR =
Map NL to CR-NL.
72- OCRNL =
Translate carriage return to newline (output).
73- ONOCR =
Translate newline to carriage return-newline (output).
74- ONLRET =
Newline performs a carriage return (output).
75- CS7 =
7 bit mode.
90- CS8 =
8 bit mode.
91- PARENB =
Parity enable.
92- PARODD =
Odd parity, else even.
93- TTY_OP_ISPEED =
Specifies the input baud rate in bits per second.
128- TTY_OP_OSPEED =
Specifies the output baud rate in bits per second.
129