Enum TerminalModes.Mode

java.lang.Object
java.lang.Enum<TerminalModes.Mode>
com.sshtools.synergy.ssh.TerminalModes.Mode
All Implemented Interfaces:
Serializable, Comparable<TerminalModes.Mode>, java.lang.constant.Constable
Enclosing class:
TerminalModes

public static enum TerminalModes.Mode extends Enum<TerminalModes.Mode>
Enumeration of supported modes.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    7 bit mode.
    8 bit mode.
    Enable echoing.
    Echo control characters as ^(Char).
    Visually erase chars.
    Kill character discards current line.
    Visual erase for line kill.
    Echo NL even if ECHO is off.
    Canonicalize input lines.
    Map CR to NL on input.
    Enable extensions.
    Ignore CR on input.
    The ignore parity flag.
    Ring bell on input queue full.
    Map NL into CR on input.
    Enable checking of parity errors.
    Enable signals INTR, QUIT, [D]SUSP.
    Strip 8th bit off characters.
    Translate uppercase characters to lowercase.
    Output is assumed to be UTF-8
    Any char will restart after stop.
    Enable input flow control.
    Enable output flow control.
    Don't flush after interrupt.
    Translate carriage return to newline (output).
    Convert lowercase to uppercase.
    Map NL to CR-NL.
    Newline performs a carriage return (output).
    Translate newline to carriage return-newline (output).
    Enable output processing.
    Parity enable.
    Mark parity and framing errors.
    Odd parity, else even.
    Retype pending input.
    Stop background jobs from output.TerminalModes
    Specifies the input baud rate in bits per second.
    Specifies the output baud rate in bits per second.
    Toggles the flushing of terminal output.
    Another suspend character.
    End-of-file character (sends EOF from the terminal).
    End-of-line character in addition to carriage return and/or linefeed.
    Additional end-of-line character.
    Erase the character to left of the cursor.
    Character to flush output.
    Interrupt character; 255 if none.
    Kill the current input line.
    Enter the next character typed literally, even if it is a special character
    The quit character (sends SIGQUIT signal on POSIX systems).
    Reprints the current input line.
    Continues paused output (normally control-Q).
    Prints system status line (load, command, pid, etc).
    Pauses output (normally control-S)..
    Suspends the current program.
    Switch to a different shell layer.
    Erases a word left of cursor.
    Enable input and output of uppercase characters by preceding their lowercase equivalents with "\".
  • Method Summary

    Modifier and Type
    Method
    Description
    fromMode(int mode)
     
    int
     
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • VINTR

      public static final TerminalModes.Mode VINTR
      Interrupt character; 255 if none.
    • VQUIT

      public static final TerminalModes.Mode VQUIT
      The quit character (sends SIGQUIT signal on POSIX systems).
    • VERASE

      public static final TerminalModes.Mode VERASE
      Erase the character to left of the cursor.
    • VKILL

      public static final TerminalModes.Mode VKILL
      Kill the current input line.
    • VEOF

      public static final TerminalModes.Mode VEOF
      End-of-file character (sends EOF from the terminal).
    • VEOL

      public static final TerminalModes.Mode VEOL
      End-of-line character in addition to carriage return and/or linefeed.
    • VEOL2

      public static final TerminalModes.Mode VEOL2
      Additional end-of-line character.
    • VSTART

      public static final TerminalModes.Mode VSTART
      Continues paused output (normally control-Q).
    • VSTOP

      public static final TerminalModes.Mode VSTOP
      Pauses output (normally control-S)..
    • VSUSP

      public static final TerminalModes.Mode VSUSP
      Suspends the current program.
    • VDSUSP

      public static final TerminalModes.Mode VDSUSP
      Another suspend character.
    • VREPRINT

      public static final TerminalModes.Mode VREPRINT
      Reprints the current input line.
    • VWERASE

      public static final TerminalModes.Mode VWERASE
      Erases a word left of cursor.
    • VLNEXT

      public static final TerminalModes.Mode VLNEXT
      Enter the next character typed literally, even if it is a special character
    • VFLUSH

      public static final TerminalModes.Mode VFLUSH
      Character to flush output.
    • VSWITCH

      public static final TerminalModes.Mode VSWITCH
      Switch to a different shell layer.
    • VSTATUS

      public static final TerminalModes.Mode VSTATUS
      Prints system status line (load, command, pid, etc).
    • VDISCARD

      public static final TerminalModes.Mode VDISCARD
      Toggles the flushing of terminal output.
    • IGNPAR

      public static final TerminalModes.Mode IGNPAR
      The ignore parity flag. The parameter SHOULD be 0 if this flag is FALSE, and 1 if it is TRUE.
    • PARMRK

      public static final TerminalModes.Mode PARMRK
      Mark parity and framing errors.
    • INPCK

      public static final TerminalModes.Mode INPCK
      Enable checking of parity errors.
    • ISTRIP

      public static final TerminalModes.Mode ISTRIP
      Strip 8th bit off characters.
    • INLCR

      public static final TerminalModes.Mode INLCR
      Map NL into CR on input.
    • IGNCR

      public static final TerminalModes.Mode IGNCR
      Ignore CR on input.
    • ICRNL

      public static final TerminalModes.Mode ICRNL
      Map CR to NL on input.
    • IUCLC

      public static final TerminalModes.Mode IUCLC
      Translate uppercase characters to lowercase.
    • IXON

      public static final TerminalModes.Mode IXON
      Enable output flow control.
    • IXANY

      public static final TerminalModes.Mode IXANY
      Any char will restart after stop.
    • IXOFF

      public static final TerminalModes.Mode IXOFF
      Enable input flow control.
    • IMAXBEL

      public static final TerminalModes.Mode IMAXBEL
      Ring bell on input queue full.
    • IUTF8

      public static final TerminalModes.Mode IUTF8
      Output is assumed to be UTF-8
    • ISIG

      public static final TerminalModes.Mode ISIG
      Enable signals INTR, QUIT, [D]SUSP.
    • ICANON

      public static final TerminalModes.Mode ICANON
      Canonicalize input lines.
    • XCASE

      public static final TerminalModes.Mode XCASE
      Enable input and output of uppercase characters by preceding their lowercase equivalents with "\".
    • ECHO

      public static final TerminalModes.Mode ECHO
      Enable echoing.
    • ECHOE

      public static final TerminalModes.Mode ECHOE
      Visually erase chars.
    • ECHOK

      public static final TerminalModes.Mode ECHOK
      Kill character discards current line.
    • ECHONL

      public static final TerminalModes.Mode ECHONL
      Echo NL even if ECHO is off.
    • NOFLSH

      public static final TerminalModes.Mode NOFLSH
      Don't flush after interrupt.
    • TOSTOP

      public static final TerminalModes.Mode TOSTOP
      Stop background jobs from output.TerminalModes
    • IEXTEN

      public static final TerminalModes.Mode IEXTEN
      Enable extensions.
    • ECHOCTL

      public static final TerminalModes.Mode ECHOCTL
      Echo control characters as ^(Char).
    • ECHOKE

      public static final TerminalModes.Mode ECHOKE
      Visual erase for line kill.
    • PENDIN

      public static final TerminalModes.Mode PENDIN
      Retype pending input.
    • OPOST

      public static final TerminalModes.Mode OPOST
      Enable output processing.
    • OLCUC

      public static final TerminalModes.Mode OLCUC
      Convert lowercase to uppercase.
    • ONLCR

      public static final TerminalModes.Mode ONLCR
      Map NL to CR-NL.
    • OCRNL

      public static final TerminalModes.Mode OCRNL
      Translate carriage return to newline (output).
    • ONOCR

      public static final TerminalModes.Mode ONOCR
      Translate newline to carriage return-newline (output).
    • ONLRET

      public static final TerminalModes.Mode ONLRET
      Newline performs a carriage return (output).
    • CS7

      public static final TerminalModes.Mode CS7
      7 bit mode.
    • CS8

      public static final TerminalModes.Mode CS8
      8 bit mode.
    • PARENB

      public static final TerminalModes.Mode PARENB
      Parity enable.
    • PARODD

      public static final TerminalModes.Mode PARODD
      Odd parity, else even.
    • TTY_OP_ISPEED

      public static final TerminalModes.Mode TTY_OP_ISPEED
      Specifies the input baud rate in bits per second.
    • TTY_OP_OSPEED

      public static final TerminalModes.Mode TTY_OP_OSPEED
      Specifies the output baud rate in bits per second.
  • Method Details

    • values

      public static TerminalModes.Mode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TerminalModes.Mode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toMode

      public int toMode()
    • fromMode

      public static TerminalModes.Mode fromMode(int mode)