public final enum

PTYMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ net.schmizz.sshj.connection.channel.direct.PTYMode

Class Overview

Various modes for a psuedo-terminal. They are meant to have integer parameters.

Summary

Enum Values
PTYMode  CS7  7 bit mode. 
PTYMode  CS8  8 bit mode. 
PTYMode  ECHO  Enable echoing. 
PTYMode  ECHOCTL  Echo control characters as ˆ(Char). 
PTYMode  ECHOE  Visually erase chars. 
PTYMode  ECHOK  Kill character discards current line. 
PTYMode  ECHOKE  Visual erase for line kill. 
PTYMode  ECHONL  Echo NL even if ECHO is off. 
PTYMode  ICANON  Canonicalize input lines. 
PTYMode  ICRNL  Map CR to NL on input. 
PTYMode  IEXTEN  Enable extensions. 
PTYMode  IGNCR  Ignore CR on input. 
PTYMode  IGNPAR  The ignore parity flag. 
PTYMode  IMAXBEL  Ring bell on input queue full. 
PTYMode  INLCR  Map NL into CR on input. 
PTYMode  INPCK  Enable checking of parity errors. 
PTYMode  ISIG  Enable signals INTR, QUIT, [D]SUSP. 
PTYMode  ISTRIP  Strip 8th bit off characters. 
PTYMode  IUCLC  Translate uppercase characters to lowercase. 
PTYMode  IXANY  Any char will restart after stop. 
PTYMode  IXOFF  Enable input flow control. 
PTYMode  IXON  Enable output flow control. 
PTYMode  NOFLSH  Don't flush after interrupt. 
PTYMode  OCRNL  Translate carriage return to newline (output). 
PTYMode  OLCUC  Convert lowercase to uppercase. 
PTYMode  ONLCR  Map NL to CR-NL. 
PTYMode  ONLRET  Newline performs a carriage return (output). 
PTYMode  ONOCR  Translate newline to carriage return-newline (output). 
PTYMode  OPOST  Enable output processing. 
PTYMode  PARENB  Parity enable. 
PTYMode  PARMRK  Mark parity and framing errors. 
PTYMode  PARODD  Odd parity, else even. 
PTYMode  PENDIN  Retype pending input. 
PTYMode  TOSTOP  Stop background jobs from output. 
PTYMode  TTY_OP_ISPEED  Specifies the input baud rate in bits per second. 
PTYMode  TTY_OP_OSPEED  Specifies the output baud rate in bits per second. 
PTYMode  VDISCARD  Toggles the flushing of terminal output. 
PTYMode  VDSUSP  Another suspend character. 
PTYMode  VEOF  End-of-file character (sends EOF from the terminal). 
PTYMode  VEOL  End-of-line character in addition to carriage return and/or linefeed. 
PTYMode  VEOL2  Additional end-of-line character. 
PTYMode  VERASE  Erase the character to left of the cursor. 
PTYMode  VFLUSH  Character to flush output. 
PTYMode  VINTR  Interrupt character; 255 if none. 
PTYMode  VKILL  Kill the current input line. 
PTYMode  VLNEXT  Enter the next character typed literally, even if it is a special character. 
PTYMode  VQUIT  The quit character (sends SIGQUIT signal on POSIX systems). 
PTYMode  VREPRINT  Reprints the current input line. 
PTYMode  VSTART  Continues paused output (normally control-Q). 
PTYMode  VSTATUS  Prints system status line (load, command, pid, etc). 
PTYMode  VSTOP  Pauses output (normally control-S). 
PTYMode  VSUSP  Suspends the current program. 
PTYMode  VSWTCH  Switch to a different shell layer. 
PTYMode  VWERASE  Erases a word left of cursor. 
PTYMode  XCASE  Enable input and output of uppercase characters by preceding their lowercase equivalents with "\". 
Fields
private final byte opcode
[Expand]
Inherited Fields
From class java.lang.Enum
Public Methods
static byte[] encode(Map<PTYMode, Integer> modes)
byte getOpcode()
static PTYMode valueOf(String name)
final static PTYMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PTYMode CS7

7 bit mode.

public static final PTYMode CS8

8 bit mode.

public static final PTYMode ECHO

Enable echoing.

public static final PTYMode ECHOCTL

Echo control characters as ˆ(Char).

public static final PTYMode ECHOE

Visually erase chars.

public static final PTYMode ECHOK

Kill character discards current line.

public static final PTYMode ECHOKE

Visual erase for line kill.

public static final PTYMode ECHONL

Echo NL even if ECHO is off.

public static final PTYMode ICANON

Canonicalize input lines.

public static final PTYMode ICRNL

Map CR to NL on input.

public static final PTYMode IEXTEN

Enable extensions.

public static final PTYMode IGNCR

Ignore CR on input.

public static final PTYMode IGNPAR

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

public static final PTYMode IMAXBEL

Ring bell on input queue full.

public static final PTYMode INLCR

Map NL into CR on input.

public static final PTYMode INPCK

Enable checking of parity errors.

public static final PTYMode ISIG

Enable signals INTR, QUIT, [D]SUSP.

public static final PTYMode ISTRIP

Strip 8th bit off characters.

public static final PTYMode IUCLC

Translate uppercase characters to lowercase.

public static final PTYMode IXANY

Any char will restart after stop.

public static final PTYMode IXOFF

Enable input flow control.

public static final PTYMode IXON

Enable output flow control.

public static final PTYMode NOFLSH

Don't flush after interrupt.

public static final PTYMode OCRNL

Translate carriage return to newline (output).

public static final PTYMode OLCUC

Convert lowercase to uppercase.

public static final PTYMode ONLCR

Map NL to CR-NL.

public static final PTYMode ONLRET

Newline performs a carriage return (output).

public static final PTYMode ONOCR

Translate newline to carriage return-newline (output).

public static final PTYMode OPOST

Enable output processing.

public static final PTYMode PARENB

Parity enable.

public static final PTYMode PARMRK

Mark parity and framing errors.

public static final PTYMode PARODD

Odd parity, else even.

public static final PTYMode PENDIN

Retype pending input.

public static final PTYMode TOSTOP

Stop background jobs from output.

public static final PTYMode TTY_OP_ISPEED

Specifies the input baud rate in bits per second.

public static final PTYMode TTY_OP_OSPEED

Specifies the output baud rate in bits per second.

public static final PTYMode VDISCARD

Toggles the flushing of terminal output.

public static final PTYMode VDSUSP

Another suspend character.

public static final PTYMode VEOF

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

public static final PTYMode VEOL

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

public static final PTYMode VEOL2

Additional end-of-line character.

public static final PTYMode VERASE

Erase the character to left of the cursor.

public static final PTYMode VFLUSH

Character to flush output.

public static final PTYMode VINTR

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

public static final PTYMode VKILL

Kill the current input line.

public static final PTYMode VLNEXT

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

public static final PTYMode VQUIT

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

public static final PTYMode VREPRINT

Reprints the current input line.

public static final PTYMode VSTART

Continues paused output (normally control-Q).

public static final PTYMode VSTATUS

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

public static final PTYMode VSTOP

Pauses output (normally control-S).

public static final PTYMode VSUSP

Suspends the current program.

public static final PTYMode VSWTCH

Switch to a different shell layer.

public static final PTYMode VWERASE

Erases a word left of cursor.

public static final PTYMode XCASE

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

Fields

private final byte opcode

Public Methods

public static byte[] encode (Map<PTYMode, Integer> modes)

Parameters
modes

public byte getOpcode ()

public static PTYMode valueOf (String name)

Parameters
name

public static final PTYMode[] values ()