enum SSH2::TerminalMode

Defined in:

ssh2.cr

Enum Members

VINTR = 1

Interrupt character; 255 if none. Similarly for the other characters. Not all of these characters are supported on all systems.

VQUIT = 2

The quit character (sends SIGQUIT signal on POSIX systems).

VERASE = 3

Erase the character to left of the cursor.

VKILL = 4

Kill the current input line.

VEOF = 5

End-of-file character (sends EOF from the terminal).

VEOL = 6

End-of-line character in addition to carriage return and/or linefeed.

VEOL2 = 7

Additional end-of-line character.

VSTART = 8

Continues paused output (normally control-Q).

VSTOP = 9

Pauses output (normally control-S).

VSUSP = 10

Suspends the current program.

VDSUSP = 11

Another suspend character.

VREPRINT = 12

Reprints the current input line.

VWERASE = 13

Erases a word left of cursor.

VLNEXT = 14

Enter the next character typed literally, even if it is a special character.

VFLUSH = 15

Character to flush output.

VSWITCH = 16

Switch to a different shell layer.

VSTATUS = 17

Prints system status line (load, command, pid, etc).

VDISCARD = 18

Toggles the flushing of terminal output.

IGNPAR = 30

The ignore parity flag. The parameter SHOULD be 0 if this flag is FALSE, and 1 if it is TRUE.

PARMRK = 31

Mark parity and framing errors.

INPCK = 32

Enable checking of parity errors.

ISTRIP = 33

Strip 8th bit off characters.

INCLR = 34

Map NL into CR on input.

IGNCR = 35

Ignore CR on input.

ICRNL = 36

Map CR to NL on input.

IUCLC = 37

Translate uppercase characters to lowercase.

IXON = 38

Enable output flow control.

IXANY = 39

Any char will restart after stop.

IXOFF = 40

Enable input flow control.

IMAXBEL = 41

Ring bell on input queue full.

ISIG = 50

Enable signals INTR, QUIT, [D]SUSP.

ICANON = 51

Canonicalize input lines.

XCASE = 52

Enable input and output of uppercase characters by preceding their lowercase equivalents with "".

ECHO = 53

Enable echoing.

ECHOE = 54

Visually erase chars.

ECHOK = 55

Kill character discards current line.

ECHONL = 56

Echo NL even if ECHO is off.

NOFLSH = 57

Don't flush after interrupt.

TOSTOP = 58

Stop background jobs from output.

IEXTEN = 59

Enable extensions.

ECHOCTL = 60

Echo control characters as ^(Char).

ECHOKE = 61

Visual erase for line kill.

PENDIN = 62

Retype pending input.

OPOST = 70

Enable output processing.

OLCUC = 71

Convert lowercase to uppercase.

ONLCR = 72

Map NL to CR-NL.

OCRNL = 73

Translate carriage return to newline (output).

ONOCR = 74

Translate newline to carriage return-newline (output).

ONLRET = 75

Newline performs a carriage return (output).

CS7 = 90

7 bit mode.

CS8 = 91

8 bit mode.

PARENB = 92

Parity enable.

PARODD = 93

Odd parity, else even.

TTY_OP_ISPEED = 128

Specifies the input baud rate in bits per second.

TTY_OP_OSPEED = 129

Specifies the output baud rate in bits per second.

Instance Method Summary

Instance Method Detail

def cs7? #

[View source]
def cs8? #

[View source]
def echo? #

[View source]
def echoctl? #

[View source]
def echoe? #

[View source]
def echok? #

[View source]
def echoke? #

[View source]
def echonl? #

[View source]
def icanon? #

[View source]
def icrnl? #

[View source]
def iexten? #

[View source]
def igncr? #

[View source]
def ignpar? #

[View source]
def imaxbel? #

[View source]
def inclr? #

[View source]
def inpck? #

[View source]
def isig? #

[View source]
def istrip? #

[View source]
def iuclc? #

[View source]
def ixany? #

[View source]
def ixoff? #

[View source]
def ixon? #

[View source]
def noflsh? #

[View source]
def ocrnl? #

[View source]
def olcuc? #

[View source]
def onlcr? #

[View source]
def onlret? #

[View source]
def onocr? #

[View source]
def opost? #

[View source]
def parenb? #

[View source]
def parmrk? #

[View source]
def parodd? #

[View source]
def pendin? #

[View source]
def tostop? #

[View source]
def tty_op_ispeed? #

[View source]
def tty_op_ospeed? #

[View source]
def vdiscard? #

[View source]
def vdsusp? #

[View source]
def veof? #

[View source]
def veol2? #

[View source]
def veol? #

[View source]
def verase? #

[View source]
def vflush? #

[View source]
def vintr? #

[View source]
def vkill? #

[View source]
def vlnext? #

[View source]
def vquit? #

[View source]
def vreprint? #

[View source]
def vstart? #

[View source]
def vstatus? #

[View source]
def vstop? #

[View source]
def vsusp? #

[View source]
def vswitch? #

[View source]
def vwerase? #

[View source]
def xcase? #

[View source]