aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/boxes.c
diff options
context:
space:
mode:
Diffstat (limited to 'boxes.c')
-rw-r--r--boxes.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/boxes.c b/boxes.c
index fc429fc..2e856b9 100644
--- a/boxes.c
+++ b/boxes.c
@@ -320,8 +320,8 @@ struct key keys[] =
320// {"\x00", "^@"}, // NUL Commented out coz it's the C string terminator, and may confuse things. 320// {"\x00", "^@"}, // NUL Commented out coz it's the C string terminator, and may confuse things.
321 {"\x01", "^A"}, // SOH Apparently sometimes sent as Home 321 {"\x01", "^A"}, // SOH Apparently sometimes sent as Home
322 {"\x02", "^B"}, // STX 322 {"\x02", "^B"}, // STX
323 {"\x03", "^C"}, // ETX SIGTERM 323 {"\x03", "^C"}, // ETX SIGINT Emacs and vi.
324 {"\x04", "^D"}, // EOT 324 {"\x04", "^D"}, // EOT EOF Emacs, joe, and nano.
325 {"\x05", "^E"}, // ENQ Apparently sometimes sent as End 325 {"\x05", "^E"}, // ENQ Apparently sometimes sent as End
326 {"\x06", "^F"}, // ACK 326 {"\x06", "^F"}, // ACK
327 {"\x07", "^G"}, // BEL 327 {"\x07", "^G"}, // BEL
@@ -332,25 +332,25 @@ struct key keys[] =
332 {"\x0C", "^L"}, // FF 332 {"\x0C", "^L"}, // FF
333 {"\x0D", "^M"}, // CR Other Return key, usually. 333 {"\x0D", "^M"}, // CR Other Return key, usually.
334 {"\x0E", "^N"}, // SO 334 {"\x0E", "^N"}, // SO
335 {"\x0F", "^O"}, // SI 335 {"\x0F", "^O"}, // SI DISCARD
336 {"\x10", "^P"}, // DLE 336 {"\x10", "^P"}, // DLE
337 {"\x11", "^Q"}, // DC1 337 {"\x11", "^Q"}, // DC1 SIGCONT Vi, and made up commands in MC, which seem to work anyway.
338 {"\x12", "^R"}, // DC2 338 {"\x12", "^R"}, // DC2
339 {"\x13", "^S"}, // DC3 339 {"\x13", "^S"}, // DC3 SIGSTOP can't be caught. Emacs and vi, so much for "can't be caught".
340 {"\x14", "^T"}, // DC4 340 {"\x14", "^T"}, // DC4 SIGINFO STATUS
341 {"\x15", "^U"}, // NAK 341 {"\x15", "^U"}, // NAK KILL character
342 {"\x16", "^V"}, // SYN 342 {"\x16", "^V"}, // SYN LNEXT
343 {"\x17", "^W"}, // ETB 343 {"\x17", "^W"}, // ETB WERASE
344 {"\x18", "^X"}, // CAN 344 {"\x18", "^X"}, // CAN KILL character
345 {"\x19", "^Y"}, // EM 345 {"\x19", "^Y"}, // EM DSUSP SIGTSTP
346 {"\x1A", "^Z"}, // SUB 346 {"\x1A", "^Z"}, // SUB SIGTSTP
347// {"\x1B", "^["}, // ESC Esc key. Commented out coz it's the ANSI start byte in the below multibyte keys. Handled in the code with a timeout. 347// {"\x1B", "^["}, // ESC Esc key. Commented out coz it's the ANSI start byte in the below multibyte keys. Handled in the code with a timeout.
348 {"\x1C", "^\\"}, // FS SIGQUIT 348 {"\x1C", "^\\"}, // FS SIGQUIT Some say ^D is SIGQUIT, but my tests say it's this.
349 {"\x1D", "^]"}, // GS 349 {"\x1D", "^]"}, // GS
350 {"\x1E", "^^"}, // RS 350 {"\x1E", "^^"}, // RS
351 {"\x1F", "^_"}, // US 351 {"\x1F", "^_"}, // US
352 {"\x7F", "BS"}, // Backspace key, usually. Ctrl-? perhaps? 352 {"\x7F", "BS"}, // Backspace key, usually. Ctrl-? perhaps?
353 {"\x9B", "CSI"}, // CSI The eight bit encoding of "Esc [". 353// {"\x9B", "CSI"}, // CSI The eight bit encoding of "Esc [". Commented out for the same reason Esc is.
354 354
355 // "Usual" xterm CSI sequences, with ";1" omitted for no modifiers. 355 // "Usual" xterm CSI sequences, with ";1" omitted for no modifiers.
356 // Even though we have a proper CSI parser, these should still be in this table. 356 // Even though we have a proper CSI parser, these should still be in this table.