Skip to content
Snippets Groups Projects
Commit 558d53da authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Revert "Revert "Define CTRL character enum when not already defined.""

This reverts commit 218d283e
parent 218d283e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #511 canceled
...@@ -288,6 +288,44 @@ enum { /* Node Action */ ...@@ -288,6 +288,44 @@ enum { /* Node Action */
#ifndef _SBBSDEFS_H #ifndef _SBBSDEFS_H
#define KEY_BUFSIZE 256 #define KEY_BUFSIZE 256
#endif
#ifndef CTRL_A
enum {
CTRL_AT // NUL
,CTRL_A // SOH
,CTRL_B // STX
,CTRL_C // ETX
,CTRL_D // EOT
,CTRL_E // ENQ
,CTRL_F // ACK
,CTRL_G // BEL
,CTRL_H // BS
,CTRL_I // HT
,CTRL_J // LF
,CTRL_K // VT
,CTRL_L // FF
,CTRL_M // CR
,CTRL_N // SO
,CTRL_O // SI
,CTRL_P // DLE
,CTRL_Q // DC1
,CTRL_R // DC2
,CTRL_S // DC3
,CTRL_T // DC4
,CTRL_U // NAK
,CTRL_V // SYN
,CTRL_W // ETB
,CTRL_X // CAN
,CTRL_Y // EM
,CTRL_Z // SUB
,CTRL_OPEN_BRACKET // ESC
,CTRL_BACKSLASH // FS
,CTRL_CLOSE_BRACKET // GS
,CTRL_CARET // RS
,CTRL_UNDERSCORE // US
,CTRL_QUESTION_MARK = 0x7f // DEL
};
#endif #endif
/* Special terminal key mappings */ /* Special terminal key mappings */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment