Package org.aesh.terminal.tty
Enum Signal
- All Implemented Interfaces:
Serializable,Comparable<Signal>,java.lang.constant.Constable
Terminal signals that can be sent to a process.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWake up.End of file, first send end-of-file, then causes the next read to send end of file.Request for status information about the process.Interrupt, usually caused by Ctrl-c or the ASCII code 3Usually works like INT, caused by Ctrl-\Works like INT and QUIT, caused by Ctrl-z.Window resize -
Method Summary
-
Enum Constant Details
-
INT
Interrupt, usually caused by Ctrl-c or the ASCII code 3 -
QUIT
Usually works like INT, caused by Ctrl-\ -
SUSP
Works like INT and QUIT, caused by Ctrl-z. The default action is to suspend the process. -
EOF
End of file, first send end-of-file, then causes the next read to send end of file. Ctrl-d by default. -
CONT
Wake up. This will un-suspend a stopped process. -
INFO
Request for status information about the process. -
WINCH
Window resize
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-