Annotation of src/usr.bin/vim/ascii.h, Revision 1.1
1.1 ! downsj 1: /* $OpenBSD$ */
! 2: /* vi:set ts=4 sw=4:
! 3: *
! 4: * VIM - Vi IMproved by Bram Moolenaar
! 5: *
! 6: * Do ":help uganda" in Vim to read copying and usage conditions.
! 7: * Do ":help credits" in Vim to see a list of people who contributed.
! 8: */
! 9:
! 10: /*
! 11: * Definitions of various common control characters
! 12: */
! 13:
! 14: #define NUL '\000'
! 15: #define TAB '\011'
! 16: #define NL '\012'
! 17: #define NL_STR (char_u *)"\012"
! 18: #define CR '\015'
! 19: #define ESC '\033'
! 20: #define ESC_STR (char_u *)"\033"
! 21: #define DEL 0x7f
! 22: #define CSI 0x9b
! 23:
! 24: #define Ctrl(x) ((x) & 0x1f)
! 25: #define Meta(x) ((x) | 0x80)
! 26:
! 27: /*
! 28: * Character that separates dir names in a path.
! 29: * For MS-DOS and WIN32 we also use the slash, the backslash causes trouble in
! 30: * a command line and the slash works fine.
! 31: */
! 32: #define PATHSEP '/'
! 33: #define PATHSEPSTR "/"