eric:computer:bash:shell_scripting:shell.scripting.tput
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eric:computer:bash:shell_scripting:shell.scripting.tput [2026/10/08 20:56] – [Terminal codes (ANSI/VT100) introduction] admin | eric:computer:bash:shell_scripting:shell.scripting.tput [2026/10/08 21:33] (current) – [Bash examples] admin | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| The Ctrl-Key representation is simply associating the non-printable characters from ASCII code 1 with the printable (letter) characters from ASCII code 65 (“A”). ASCII code 1 would be ^A (Ctrl-A), while ASCII code 7 (BEL) would be ^G (Ctrl-G). This is a common representation (and input method) and historically comes from one of the VT series of terminals. | The Ctrl-Key representation is simply associating the non-printable characters from ASCII code 1 with the printable (letter) characters from ASCII code 65 (“A”). ASCII code 1 would be ^A (Ctrl-A), while ASCII code 7 (BEL) would be ^G (Ctrl-G). This is a common representation (and input method) and historically comes from one of the VT series of terminals. | ||
| - | ^ Name ^ decimal ^ octal ^ hex ^ C-escape ^ Ctrl-Key | + | ^ Name ^ decimal ^ octal ^ hex ^ C-escape ^ Ctrl-Key |
| - | | BEL | 7 | 007 | 0x07 | < | + | | BEL | 7 | 007 | 0x07 | \a | Ctrl-G |
| - | | BS | 8 | 010 | 0x08 | Ctrl-H | + | | BS | 8 | 010 | 0x08 | \b | Ctrl-H |
| - | | HT | 9 | 011 | 0x09 | Ctrl-I | + | | HT | 9 | 011 | 0x09 | \t | Ctrl-I |
| - | | LF | 10 | 012 | 0x0A | < | + | | LF | 10 | 012 | 0x0A | \n | Ctrl-J |
| - | | VT | 11 | 013 | 0x0B | Ctrl-K | + | | VT | 11 | 013 | 0x0B | \v | Ctrl-K |
| - | | FF | 12 | 014 | 0x0C | Ctrl-L | + | | FF | 12 | 014 | 0x0C | \f | Ctrl-L |
| - | | CR | 13 | 015 | 0x0D | Ctrl-M | + | | CR | 13 | 015 | 0x0D | \r | Ctrl-M |
| - | | ESC | 27 | 033 | 0x1B | < | + | | ESC | 27 | 033 | 0x1B | < |
| - | | DEL | 127 | 177 | 0x7F | < | + | | DEL | 127 | 177 | 0x7F | < |
| ===== Cursor handling ===== | ===== Cursor handling ===== | ||
| Line 251: | Line 251: | ||
| MORE INFO < | MORE INFO < | ||
| - | Source: http:// | + | Source: http:// |
| + | Original source now offline, try: https:// | ||
eric/computer/bash/shell_scripting/shell.scripting.tput.1791492990.txt.gz · Last modified: by admin
