Package org.aesh.terminal.tty
Enum Capability
- All Implemented Interfaces:
Serializable,Comparable<Capability>,java.lang.constant.Constable
Terminal capabilities as defined in the terminfo database.
Each capability has a name and a short cap code.
This enum provides a comprehensive list of terminal capabilities including:
- Boolean capabilities - indicate whether a feature is supported
- Numeric capabilities - provide numeric values like screen dimensions
- String capabilities - contain escape sequences for terminal operations
- 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 ConstantDescriptionGraphics charset pairs, based on vt100.Alternate escape for scancode emulation.Terminal has automatic margins (cursor wraps from last column to first of next line).Cursor wraps from right margin to left of next line.Screen erased with background color.Back tab.Audible signal (bell).Move cursor to beginning of same row in bit image.Number of passes for each bit-image row.Move to next row of the bit image.Repeat bit image cell #1 #2 times.Type of bit-image device.Number of bytes buffered before printing.Number of buttons on mouse.Terminal can redefine existing colors.Carriage return.Standout mode causes glitch at end of line.Change horizontal pitch.Change vertical pitch.Change horizontal resolution.Change vertical resolution.Change scrolling region to lines #1 to #2.Like ip but when in replace mode.Produce #1'th item from list of character set names.Clear all tab stops.Clear right and left soft margins.Clear screen and home cursor.Clear to beginning of line.Clear to end of line.Clear to end of screen.Initialize sequence for multiple codesets.Column address has glitch.Give name for color #1.Move cursor to column #1.Number of columns in a line.Terminal settable cmd character in prototype.Changing character pitch changes resolution.Carriage return cancels micro mode.Create a window #1 #2 #3 #4 #5.Move cursor to row #1 column #2.Move cursor down one line.Move cursor to home position.Make cursor invisible.Move cursor left one space.Memory relative cursor addressing.Make cursor appear normal.Move cursor right one space.Move cursor to last line, first column.Move cursor up one line.Make cursor very visible.Define rectangular bit image region.Define a character.Delete character.Delete line.Destructive tabs with magic standout.Indicate language/codeset support.Dial phone number #1.Disable status line.Display clock at row #1, column #2.Display PC character #1.Spacing of pins horizontally in dots per inch.Spacing of dots vertically in pins per inch.Move cursor down half a line.Newline ignored after 80 columns.Enable alternate character set.End a bit image region.Start alternate character set.Turn on automatic margins.Turn on blinking.Turn on bold (extra bright) mode.Enter alternate screen mode.Enter delete mode.Turn on half-bright mode.Enter double-wide mode.Enter draft-quality mode.Enter horizontal highlight mode.Enter insert mode.Enter italic mode.Enter left highlight mode.Start leftward carriage motion.Enter low highlight mode.Start micro-motion mode.Enter NLQ mode.Enter normal-quality mode.Enter PC charset mode.Turn on protected mode.Turn on reverse video mode.Enter right highlight mode.Enter scancode mode.Turn on secure (invisible) mode.Enter shadow-print mode.Begin standout mode.Enter subscript mode.Enter superscript mode.Enter top highlight mode.Begin underline mode.Start upward carriage motion.Enter vertical highlight mode.Turn on xon/xoff handshaking.Erase #1 characters.Can erase overstrikes with a blank.End alternate character set.Turn off automatic margins.Turn off all attributes.Exit alternate screen mode.End delete mode.End double-wide mode.Exit insert mode.End italic mode.End leftward carriage motion.End micro-motion mode.Exit PC charset mode.Exit scancode mode.End shadow-print mode.Exit standout mode.End subscript mode.End superscript mode.Exit underline mode.End upward carriage motion.Turn off xon/xoff handshaking.Pause for 2-3 seconds.Flash switch hook.Visible bell (may move cursor).Hardcopy terminal page eject.Return from status line.Generic terminal type.Curses should get button events.Go to window #1.Hang-up phone.Hardcopy terminal.Cursor is hard to see.Terminal has a meta key.Printer needs operator to change character set.Terminal has a status line.Terminal uses HLS color notation.Initialization string 1.Initialization string 2.Initialization string 3.Name of initialization file.Path name of program for initialization.Tabs initially every n spaces.Initialize color #1 to RGB values #2 #3 #4.Initialize color pair #1 to fg=#2 bg=#3.Insert character.Insert line.Insert mode distinguishes nulls.Insert padding after inserted character.Upper left of keypad key.Upper right of keypad key.Center of keypad key.Backspace key.Begin key.Back-tab key.Lower left of keypad key.Lower right of keypad key.Cancel key.Clear-all-tabs key.Clear-screen or erase key.Close key.Command key.Copy key.Create key.Clear-tab key.Delete-character key.Delete-line key.Down-arrow key.Exit insert-mode key.End key.Enter/send key.Clear-to-end-of-line key.Clear-to-end-of-screen key.Exit key.Function key F0.Function key F1.Function key F10.Function key F11.Function key F12.Function key F13.Function key F14.Function key F15.Function key F16.Function key F17.Function key F18.Function key F19.Function key F2.Function key F20.Function key F21.Function key F22.Function key F23.Function key F24.Function key F25.Function key F26.Function key F27.Function key F28.Function key F29.Function key F3.Function key F30.Function key F31.Function key F32.Function key F33.Function key F34.Function key F35.Function key F36.Function key F37.Function key F38.Function key F39.Function key F4.Function key F40.Function key F41.Function key F42.Function key F43.Function key F44.Function key F45.Function key F46.Function key F47.Function key F48.Function key F49.Function key F5.Function key F50.Function key F51.Function key F52.Function key F53.Function key F54.Function key F55.Function key F56.Function key F57.Function key F58.Function key F59.Function key F6.Function key F60.Function key F61.Function key F62.Function key F63.Function key F7.Function key F8.Function key F9.Find key.Help key.Home key.Insert-character key.Insert-line key.Left-arrow key.Lower-left key (home down).Mark key.Message key.Mouse event has occurred.Move key.Next key.Next-page key.Open key.Options key.Previous-page key.Previous key.Print key.Redo key.Reference key.Refresh key.Replace key.Restart key.Resume key.Right-arrow key.Save key.Shifted begin key.Shifted cancel key.Shifted command key.Shifted copy key.Shifted create key.Shifted delete-character key.Shifted delete-line key.Select key.Shifted end key.Shifted clear-to-end-of-line key.Shifted exit key.Scroll-forward key.Shifted find key.Shifted help key.Shifted home key.Shifted insert-character key.Shifted left-arrow key.Shifted message key.Shifted move key.Shifted next key.Shifted options key.Shifted previous key.Shifted print key.Scroll-backward key.Shifted redo key.Shifted replace key.Shifted right-arrow key.Shifted resume key.Shifted save key.Shifted suspend key.Set-tab key.Shifted undo key.Suspend key.Undo key.Up-arrow key.Leave keyboard transmit mode.Enter keyboard transmit mode.Label on function key F0.Label on function key F1.Label on function key F10.Label on function key F2.Label on function key F3.Label on function key F4.Label on function key F5.Label on function key F6.Label on function key F7.Label on function key F8.Label on function key F9.Label format.Number of rows in each label.Turn off soft labels.Turn on soft labels.Number of columns in each label.Number of lines on screen or page.Lines of memory if greater than lines.Changing line pitch changes resolution.Number of blank characters left by smso/rmso.Maximum combined attributes terminal can handle.Maximum number of colors on screen.Maximum value in micro_...Maximum value in parm_...Maximum number of color pairs on screen.Maximum number of definable windows.Display may be retained above the screen.Display may be retained below the screen.Turn off meta mode.Turn on meta mode (8th bit on).Character step size in micro mode.Move cursor to column #1 in micro mode.Move cursor down in micro mode.Move cursor left in micro mode.Line step size in micro mode.Move cursor right in micro mode.Move cursor to row #1 in micro mode.Move cursor up in micro mode.Mouse status information.Safe to move while in insert mode.Safe to move while in standout mode.Padding will not work, xon/xoff required.Newline (behave like carriage return followed by line feed).Video attributes that cannot be used with colors.Beehive (f1=escape, f2=ctrl C).Padding character does not exist.Scrolling region is nondestructive.Exit alternate screen without restoring cursor.Number of labels on screen.Number of pins in print head.Match software bits to print-head pins.Reset all color pairs to the default.Set default pair to its original value.Horizontal resolution in units per character.Horizontal resolution in units per inch.Vertical resolution in units per line.Vertical resolution in units per inch.Terminal can overstrike.Padding character.Lowest baud rate where padding is needed.Delete #1 characters.Delete #1 lines.Move cursor down #1 lines.Move cursor down #1 lines in micro mode.Insert #1 characters.Scroll forward #1 lines.Insert #1 lines.Move cursor left #1 spaces.Move cursor left #1 spaces in micro mode.Move cursor right #1 spaces.Move cursor right #1 spaces in micro mode.Scroll backward #1 lines.Move cursor up #1 lines.Move cursor up #1 lines in micro mode.PC terminal options.Program function key #1 to type string #2.Program function key #1 to execute string #2.Program function key #1 to transmit #2 and show #3.Program function key #1 to transmit string #2.Program label #1 to show string #2.Print rate in characters per second.Print contents of screen.Turn on printer for #1 bytes.Turn off printer.Turn on printer.Printer will not echo on screen.Select pulse dialing.Dial number #1 without detection.Remove clock.Repeat character #1 #2 times.Send next input character.Request mouse position.Reset string 1.Reset string 2.Reset string 3.Name of reset file.Restore cursor to position of last save.Row address has glitch.Move cursor to row #1.Save current cursor position.Escape for scancode emulation.Scroll text up.Scroll text down.Select character set.Printing in last column causes carriage return.Set ANSI attributes.Set ANSI background color to #1.Set ANSI foreground color to #1.Define video attributes.Set background color.Set bottom margin at current line.Set bottom margin at line #1 or #2 lines from bottom.Set clock at row #1, column #2.Change to ribbon color #1.Set current color pair to #1.Set foreground color.Set left margin at current column.Set left (right) margin at column #1.Set both left and right margins to #1, #2.Set page length to #1 lines.Set page length to #1 inches.Set right margin at current column.Set right margin at column #1.Set a tab in every row, current columns.Set both top and bottom margins to #1, #2.Set top margin at current line.Set top (bottom) margin at row #1.Current window is lines #1-#2 cols #3-#4.Shift to code set 0 (EUC set 0, ASCII).Shift to code set 1.Shift to code set 2.Shift to code set 3.Start printing bit image graphics.Start character set definition.Escape can be used on the status line.Stop printing bit image graphics.End definition of character set.List of subscriptable characters.List of superscriptable characters.Tab to next 8-space hardware tab stop.Printing any of these characters causes carriage return.Cannot print tilde (~) character.Move to status line, column #1.Select touch tone dialing.Underline character overstrikes.Underline character and move past it.Move cursor up half a line.User string 0.User string 1.User string 2.User string 3.User string 4.User string 5.User string 6.User string 7.User string 8.User string 9.Virtual terminal number.Wait for dial-tone.Character step size when in double-wide mode.Number of columns in status line.XOFF character.XON character.Terminal uses xon/xoff handshaking.No motion for subsequent characters. -
Method Summary
Modifier and TypeMethodDescriptionstatic CapabilityFinds a capability by its name, terminfo name, or termcap code.getCap()Returns the short termcap code for this capability.getName()Returns the terminfo capability name.static CapabilityReturns the enum constant of this type with the specified name.static Capability[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
auto_left_margin
Terminal has automatic margins (cursor wraps from last column to first of next line). -
auto_right_margin
Cursor wraps from right margin to left of next line. -
back_color_erase
Screen erased with background color. -
can_change
Terminal can redefine existing colors. -
ceol_standout_glitch
Standout mode causes glitch at end of line. -
col_addr_glitch
Column address has glitch. -
cpi_changes_res
Changing character pitch changes resolution. -
cr_cancels_micro_mode
Carriage return cancels micro mode. -
dest_tabs_magic_smso
Destructive tabs with magic standout. -
eat_newline_glitch
Newline ignored after 80 columns. -
erase_overstrike
Can erase overstrikes with a blank. -
generic_type
Generic terminal type. -
hard_copy
Hardcopy terminal. -
hard_cursor
Cursor is hard to see. -
has_meta_key
Terminal has a meta key. -
has_print_wheel
Printer needs operator to change character set. -
has_status_line
Terminal has a status line. -
hue_lightness_saturation
Terminal uses HLS color notation. -
insert_null_glitch
Insert mode distinguishes nulls. -
lpi_changes_res
Changing line pitch changes resolution. -
memory_above
Display may be retained above the screen. -
memory_below
Display may be retained below the screen. -
move_insert_mode
Safe to move while in insert mode. -
move_standout_mode
Safe to move while in standout mode. -
needs_xon_xoff
Padding will not work, xon/xoff required. -
no_esc_ctlc
Beehive (f1=escape, f2=ctrl C). -
no_pad_char
Padding character does not exist. -
non_dest_scroll_region
Scrolling region is nondestructive. -
non_rev_rmcup
Exit alternate screen without restoring cursor. -
over_strike
Terminal can overstrike. -
prtr_silent
Printer will not echo on screen. -
row_addr_glitch
Row address has glitch. -
semi_auto_right_margin
Printing in last column causes carriage return. -
status_line_esc_ok
Escape can be used on the status line. -
tilde_glitch
Cannot print tilde (~) character. -
transparent_underline
Underline character overstrikes. -
xon_xoff
Terminal uses xon/xoff handshaking. -
columns
Number of columns in a line. -
init_tabs
Tabs initially every n spaces. -
label_height
Number of rows in each label. -
label_width
Number of columns in each label. -
lines
Number of lines on screen or page. -
lines_of_memory
Lines of memory if greater than lines. -
magic_cookie_glitch
Number of blank characters left by smso/rmso. -
max_attributes
Maximum combined attributes terminal can handle. -
max_colors
Maximum number of colors on screen. -
max_pairs
Maximum number of color pairs on screen. -
maximum_windows
Maximum number of definable windows. -
no_color_video
Video attributes that cannot be used with colors. -
num_labels
Number of labels on screen. -
padding_baud_rate
Lowest baud rate where padding is needed. -
virtual_terminal
Virtual terminal number. -
width_status_line
Number of columns in status line. -
bit_image_entwining
Number of passes for each bit-image row. -
bit_image_type
Type of bit-image device. -
buffer_capacity
Number of bytes buffered before printing. -
buttons
Number of buttons on mouse. -
dot_horz_spacing
Spacing of pins horizontally in dots per inch. -
dot_vert_spacing
Spacing of dots vertically in pins per inch. -
max_micro_address
Maximum value in micro_..._address. -
max_micro_jump
Maximum value in parm_..._micro. -
micro_col_size
Character step size in micro mode. -
micro_line_size
Line step size in micro mode. -
number_of_pins
Number of pins in print head. -
output_res_char
Horizontal resolution in units per character. -
output_res_horz_inch
Horizontal resolution in units per inch. -
output_res_line
Vertical resolution in units per line. -
output_res_vert_inch
Vertical resolution in units per inch. -
print_rate
Print rate in characters per second. -
wide_char_size
Character step size when in double-wide mode. -
acs_chars
Graphics charset pairs, based on vt100. -
back_tab
Back tab. -
bell
Audible signal (bell). -
carriage_return
Carriage return. -
change_char_pitch
Change horizontal pitch. -
change_line_pitch
Change vertical pitch. -
change_res_horz
Change horizontal resolution. -
change_res_vert
Change vertical resolution. -
change_scroll_region
Change scrolling region to lines #1 to #2. -
char_padding
Like ip but when in replace mode. -
clear_all_tabs
Clear all tab stops. -
clear_margins
Clear right and left soft margins. -
clear_screen
Clear screen and home cursor. -
clr_bol
Clear to beginning of line. -
clr_eol
Clear to end of line. -
clr_eos
Clear to end of screen. -
column_address
Move cursor to column #1. -
command_character
Terminal settable cmd character in prototype. -
create_window
Create a window #1 #2 #3 #4 #5. -
cursor_address
Move cursor to row #1 column #2. -
cursor_down
Move cursor down one line. -
cursor_home
Move cursor to home position. -
cursor_invisible
Make cursor invisible. -
cursor_left
Move cursor left one space. -
cursor_mem_address
Memory relative cursor addressing. -
cursor_normal
Make cursor appear normal. -
cursor_right
Move cursor right one space. -
cursor_to_ll
Move cursor to last line, first column. -
cursor_up
Move cursor up one line. -
cursor_visible
Make cursor very visible. -
define_char
Define a character. -
delete_character
Delete character. -
delete_line
Delete line. -
dial_phone
Dial phone number #1. -
dis_status_line
Disable status line. -
display_clock
Display clock at row #1, column #2. -
down_half_line
Move cursor down half a line. -
ena_acs
Enable alternate character set. -
enter_alt_charset_mode
Start alternate character set. -
enter_am_mode
Turn on automatic margins. -
enter_blink_mode
Turn on blinking. -
enter_bold_mode
Turn on bold (extra bright) mode. -
enter_ca_mode
Enter alternate screen mode. -
enter_delete_mode
Enter delete mode. -
enter_dim_mode
Turn on half-bright mode. -
enter_doublewide_mode
Enter double-wide mode. -
enter_draft_quality
Enter draft-quality mode. -
enter_insert_mode
Enter insert mode. -
enter_italics_mode
Enter italic mode. -
enter_leftward_mode
Start leftward carriage motion. -
enter_micro_mode
Start micro-motion mode. -
enter_near_letter_quality
Enter NLQ mode. -
enter_normal_quality
Enter normal-quality mode. -
enter_protected_mode
Turn on protected mode. -
enter_reverse_mode
Turn on reverse video mode. -
enter_secure_mode
Turn on secure (invisible) mode. -
enter_shadow_mode
Enter shadow-print mode. -
enter_standout_mode
Begin standout mode. -
enter_subscript_mode
Enter subscript mode. -
enter_superscript_mode
Enter superscript mode. -
enter_underline_mode
Begin underline mode. -
enter_upward_mode
Start upward carriage motion. -
enter_xon_mode
Turn on xon/xoff handshaking. -
erase_chars
Erase #1 characters. -
exit_alt_charset_mode
End alternate character set. -
exit_am_mode
Turn off automatic margins. -
exit_attribute_mode
Turn off all attributes. -
exit_ca_mode
Exit alternate screen mode. -
exit_delete_mode
End delete mode. -
exit_doublewide_mode
End double-wide mode. -
exit_insert_mode
Exit insert mode. -
exit_italics_mode
End italic mode. -
exit_leftward_mode
End leftward carriage motion. -
exit_micro_mode
End micro-motion mode. -
exit_shadow_mode
End shadow-print mode. -
exit_standout_mode
Exit standout mode. -
exit_subscript_mode
End subscript mode. -
exit_superscript_mode
End superscript mode. -
exit_underline_mode
Exit underline mode. -
exit_upward_mode
End upward carriage motion. -
exit_xon_mode
Turn off xon/xoff handshaking. -
fixed_pause
Pause for 2-3 seconds. -
flash_hook
Flash switch hook. -
flash_screen
Visible bell (may move cursor). -
form_feed
Hardcopy terminal page eject. -
from_status_line
Return from status line. -
goto_window
Go to window #1. -
hangup
Hang-up phone. -
init_1string
Initialization string 1. -
init_2string
Initialization string 2. -
init_3string
Initialization string 3. -
init_file
Name of initialization file. -
init_prog
Path name of program for initialization. -
initialize_color
Initialize color #1 to RGB values #2 #3 #4. -
initialize_pair
Initialize color pair #1 to fg=#2 bg=#3. -
insert_character
Insert character. -
insert_line
Insert line. -
insert_padding
Insert padding after inserted character. -
key_a1
Upper left of keypad key. -
key_a3
Upper right of keypad key. -
key_b2
Center of keypad key. -
key_backspace
Backspace key. -
key_beg
Begin key. -
key_btab
Back-tab key. -
key_c1
Lower left of keypad key. -
key_c3
Lower right of keypad key. -
key_cancel
Cancel key. -
key_catab
Clear-all-tabs key. -
key_clear
Clear-screen or erase key. -
key_close
Close key. -
key_command
Command key. -
key_copy
Copy key. -
key_create
Create key. -
key_ctab
Clear-tab key. -
key_dc
Delete-character key. -
key_dl
Delete-line key. -
key_down
Down-arrow key. -
key_eic
Exit insert-mode key. -
key_end
End key. -
key_enter
Enter/send key. -
key_eol
Clear-to-end-of-line key. -
key_eos
Clear-to-end-of-screen key. -
key_exit
Exit key. -
key_f0
Function key F0. -
key_f1
Function key F1. -
key_f10
Function key F10. -
key_f11
Function key F11. -
key_f12
Function key F12. -
key_f13
Function key F13. -
key_f14
Function key F14. -
key_f15
Function key F15. -
key_f16
Function key F16. -
key_f17
Function key F17. -
key_f18
Function key F18. -
key_f19
Function key F19. -
key_f2
Function key F2. -
key_f20
Function key F20. -
key_f21
Function key F21. -
key_f22
Function key F22. -
key_f23
Function key F23. -
key_f24
Function key F24. -
key_f25
Function key F25. -
key_f26
Function key F26. -
key_f27
Function key F27. -
key_f28
Function key F28. -
key_f29
Function key F29. -
key_f3
Function key F3. -
key_f30
Function key F30. -
key_f31
Function key F31. -
key_f32
Function key F32. -
key_f33
Function key F33. -
key_f34
Function key F34. -
key_f35
Function key F35. -
key_f36
Function key F36. -
key_f37
Function key F37. -
key_f38
Function key F38. -
key_f39
Function key F39. -
key_f4
Function key F4. -
key_f40
Function key F40. -
key_f41
Function key F41. -
key_f42
Function key F42. -
key_f43
Function key F43. -
key_f44
Function key F44. -
key_f45
Function key F45. -
key_f46
Function key F46. -
key_f47
Function key F47. -
key_f48
Function key F48. -
key_f49
Function key F49. -
key_f5
Function key F5. -
key_f50
Function key F50. -
key_f51
Function key F51. -
key_f52
Function key F52. -
key_f53
Function key F53. -
key_f54
Function key F54. -
key_f55
Function key F55. -
key_f56
Function key F56. -
key_f57
Function key F57. -
key_f58
Function key F58. -
key_f59
Function key F59. -
key_f6
Function key F6. -
key_f60
Function key F60. -
key_f61
Function key F61. -
key_f62
Function key F62. -
key_f63
Function key F63. -
key_f7
Function key F7. -
key_f8
Function key F8. -
key_f9
Function key F9. -
key_find
Find key. -
key_help
Help key. -
key_home
Home key. -
key_ic
Insert-character key. -
key_il
Insert-line key. -
key_left
Left-arrow key. -
key_ll
Lower-left key (home down). -
key_mark
Mark key. -
key_message
Message key. -
key_move
Move key. -
key_next
Next key. -
key_npage
Next-page key. -
key_open
Open key. -
key_options
Options key. -
key_ppage
Previous-page key. -
key_previous
Previous key. -
key_print
Print key. -
key_redo
Redo key. -
key_reference
Reference key. -
key_refresh
Refresh key. -
key_replace
Replace key. -
key_restart
Restart key. -
key_resume
Resume key. -
key_right
Right-arrow key. -
key_save
Save key. -
key_sbeg
Shifted begin key. -
key_scancel
Shifted cancel key. -
key_scommand
Shifted command key. -
key_scopy
Shifted copy key. -
key_screate
Shifted create key. -
key_sdc
Shifted delete-character key. -
key_sdl
Shifted delete-line key. -
key_select
Select key. -
key_send
Shifted end key. -
key_seol
Shifted clear-to-end-of-line key. -
key_sexit
Shifted exit key. -
key_sf
Scroll-forward key. -
key_sfind
Shifted find key. -
key_shelp
Shifted help key. -
key_shome
Shifted home key. -
key_sic
Shifted insert-character key. -
key_sleft
Shifted left-arrow key. -
key_smessage
Shifted message key. -
key_smove
Shifted move key. -
key_snext
Shifted next key. -
key_soptions
Shifted options key. -
key_sprevious
Shifted previous key. -
key_sprint
Shifted print key. -
key_sr
Scroll-backward key. -
key_sredo
Shifted redo key. -
key_sreplace
Shifted replace key. -
key_sright
Shifted right-arrow key. -
key_srsume
Shifted resume key. -
key_ssave
Shifted save key. -
key_ssuspend
Shifted suspend key. -
key_stab
Set-tab key. -
key_sundo
Shifted undo key. -
key_suspend
Suspend key. -
key_undo
Undo key. -
key_up
Up-arrow key. -
keypad_local
Leave keyboard transmit mode. -
keypad_xmit
Enter keyboard transmit mode. -
lab_f0
Label on function key F0. -
lab_f1
Label on function key F1. -
lab_f10
Label on function key F10. -
lab_f2
Label on function key F2. -
lab_f3
Label on function key F3. -
lab_f4
Label on function key F4. -
lab_f5
Label on function key F5. -
lab_f6
Label on function key F6. -
lab_f7
Label on function key F7. -
lab_f8
Label on function key F8. -
lab_f9
Label on function key F9. -
label_format
Label format. -
label_off
Turn off soft labels. -
label_on
Turn on soft labels. -
meta_off
Turn off meta mode. -
meta_on
Turn on meta mode (8th bit on). -
micro_column_address
Move cursor to column #1 in micro mode. -
micro_down
Move cursor down in micro mode. -
micro_left
Move cursor left in micro mode. -
micro_right
Move cursor right in micro mode. -
micro_row_address
Move cursor to row #1 in micro mode. -
micro_up
Move cursor up in micro mode. -
newline
Newline (behave like carriage return followed by line feed). -
order_of_pins
Match software bits to print-head pins. -
orig_colors
Reset all color pairs to the default. -
orig_pair
Set default pair to its original value. -
pad_char
Padding character. -
parm_dch
Delete #1 characters. -
parm_delete_line
Delete #1 lines. -
parm_down_cursor
Move cursor down #1 lines. -
parm_down_micro
Move cursor down #1 lines in micro mode. -
parm_ich
Insert #1 characters. -
parm_index
Scroll forward #1 lines. -
parm_insert_line
Insert #1 lines. -
parm_left_cursor
Move cursor left #1 spaces. -
parm_left_micro
Move cursor left #1 spaces in micro mode. -
parm_right_cursor
Move cursor right #1 spaces. -
parm_right_micro
Move cursor right #1 spaces in micro mode. -
parm_rindex
Scroll backward #1 lines. -
parm_up_cursor
Move cursor up #1 lines. -
parm_up_micro
Move cursor up #1 lines in micro mode. -
pkey_key
Program function key #1 to type string #2. -
pkey_local
Program function key #1 to execute string #2. -
pkey_xmit
Program function key #1 to transmit string #2. -
plab_norm
Program label #1 to show string #2. -
print_screen
Print contents of screen. -
prtr_non
Turn on printer for #1 bytes. -
prtr_off
Turn off printer. -
prtr_on
Turn on printer. -
pulse
Select pulse dialing. -
quick_dial
Dial number #1 without detection. -
remove_clock
Remove clock. -
repeat_char
Repeat character #1 #2 times. -
req_for_input
Send next input character. -
reset_1string
Reset string 1. -
reset_2string
Reset string 2. -
reset_3string
Reset string 3. -
reset_file
Name of reset file. -
restore_cursor
Restore cursor to position of last save. -
row_address
Move cursor to row #1. -
save_cursor
Save current cursor position. -
scroll_forward
Scroll text up. -
scroll_reverse
Scroll text down. -
select_char_set
Select character set. -
set_attributes
Define video attributes. -
set_background
Set background color. -
set_bottom_margin
Set bottom margin at current line. -
set_bottom_margin_parm
Set bottom margin at line #1 or #2 lines from bottom. -
set_clock
Set clock at row #1, column #2. -
set_color_pair
Set current color pair to #1. -
set_foreground
Set foreground color. -
set_left_margin
Set left margin at current column. -
set_left_margin_parm
Set left (right) margin at column #1. -
set_right_margin
Set right margin at current column. -
set_right_margin_parm
Set right margin at column #1. -
set_tab
Set a tab in every row, current columns. -
set_top_margin
Set top margin at current line. -
set_top_margin_parm
Set top (bottom) margin at row #1. -
set_window
Current window is lines #1-#2 cols #3-#4. -
start_bit_image
Start printing bit image graphics. -
start_char_set_def
Start character set definition. -
stop_bit_image
Stop printing bit image graphics. -
stop_char_set_def
End definition of character set. -
subscript_characters
List of subscriptable characters. -
superscript_characters
List of superscriptable characters. -
tab
Tab to next 8-space hardware tab stop. -
these_cause_cr
Printing any of these characters causes carriage return. -
to_status_line
Move to status line, column #1. -
tone
Select touch tone dialing. -
underline_char
Underline character and move past it. -
up_half_line
Move cursor up half a line. -
user0
User string 0. -
user1
User string 1. -
user2
User string 2. -
user3
User string 3. -
user4
User string 4. -
user5
User string 5. -
user6
User string 6. -
user7
User string 7. -
user8
User string 8. -
user9
User string 9. -
wait_tone
Wait for dial-tone. -
xoff_character
XOFF character. -
xon_character
XON character. -
zero_motion
No motion for subsequent characters. -
alt_scancode_esc
Alternate escape for scancode emulation. -
bit_image_carriage_return
Move cursor to beginning of same row in bit image. -
bit_image_newline
Move to next row of the bit image. -
bit_image_repeat
Repeat bit image cell #1 #2 times. -
char_set_names
Produce #1'th item from list of character set names. -
code_set_init
Initialize sequence for multiple codesets. -
color_names
Give name for color #1. -
define_bit_image_region
Define rectangular bit image region. -
device_type
Indicate language/codeset support. -
display_pc_char
Display PC character #1. -
end_bit_image_region
End a bit image region. -
enter_pc_charset_mode
Enter PC charset mode. -
enter_scancode_mode
Enter scancode mode. -
exit_pc_charset_mode
Exit PC charset mode. -
exit_scancode_mode
Exit scancode mode. -
get_mouse
Curses should get button events. -
key_mouse
Mouse event has occurred. -
mouse_info
Mouse status information. -
pc_term_options
PC terminal options. -
pkey_plab
Program function key #1 to transmit #2 and show #3. -
req_mouse_pos
Request mouse position. -
scancode_escape
Escape for scancode emulation. -
set0_des_seq
Shift to code set 0 (EUC set 0, ASCII). -
set1_des_seq
Shift to code set 1. -
set2_des_seq
Shift to code set 2. -
set3_des_seq
Shift to code set 3. -
set_a_background
Set ANSI background color to #1. -
set_a_foreground
Set ANSI foreground color to #1. -
set_color_band
Change to ribbon color #1. -
set_lr_margin
Set both left and right margins to #1, #2. -
set_page_length
Set page length to #1 lines. -
set_tb_margin
Set both top and bottom margins to #1, #2. -
enter_horizontal_hl_mode
Enter horizontal highlight mode. -
enter_left_hl_mode
Enter left highlight mode. -
enter_low_hl_mode
Enter low highlight mode. -
enter_right_hl_mode
Enter right highlight mode. -
enter_top_hl_mode
Enter top highlight mode. -
enter_vertical_hl_mode
Enter vertical highlight mode. -
set_a_attributes
Set ANSI attributes. -
set_pglen_inch
Set page length to #1 inches.
-
-
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
-
getName
Returns the terminfo capability name.- Returns:
- the terminfo name
-
getCap
Returns the short termcap code for this capability.- Returns:
- the termcap code
-
byName
Finds a capability by its name, terminfo name, or termcap code.- Parameters:
name- the name to search for (can be enum name, terminfo name, or termcap code)- Returns:
- the matching capability, or null if not found
-