1
0
Fork 0
forked from nuttx/nuttx-update

Fix bugs in EMACS command line editor, primarily errors in the VT100 commands

This commit is contained in:
Gregory Nutt 2014-02-02 12:24:45 -06:00
parent 7dfadbb505
commit 546ba78988

View file

@ -142,12 +142,12 @@
#define VT100_CLEARBOS {ASCII_ESC, '[', '1', 'J'} /* Clear screen from cursor up */
#define VT100_CLEARSCREEN {ASCII_ESC, '[', '2', 'J'} /* Clear entire screen */
#define VT100_DEVSTAT {ASCII_ESC, '5', 'n'} /* Device status report */
#define VT100_TERMOK {ASCII_ESC, '0', 'n'} /* Response: terminal is OK */
#define VT100_TERMNOK {ASCII_ESC, '3', 'n'} /* Response: terminal is not OK */
#define VT100_DEVSTAT {ASCII_ESC, '[', '5', 'n'} /* Device status report */
#define VT100_TERMOK {ASCII_ESC, '[', '0', 'n'} /* Response: terminal is OK */
#define VT100_TERMNOK {ASCII_ESC, '[', '3', 'n'} /* Response: terminal is not OK */
#define VT100_GETCURSOR {ASCII_ESC, '6', 'n'} /* Get cursor position */
#define VT100_CURSORPOSAT {ASCII_ESC, (v), ';', (h), 'R'} /* Response: cursor is at v,h */
#define VT100_GETCURSOR {ASCII_ESC, '[', '6', 'n'} /* Get cursor position */
#define VT100_CURSORPOSAT {ASCII_ESC, '[', (v), ';', (h), 'R'} /* Response: cursor is at v,h */
#define VT100_IDENT {ASCII_ESC, '[', 'c'} /* Identify what terminal type */
#define VT100_IDENT_ {ASCII_ESC, '[', '0', 'c'} /* Identify what terminal type */