- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
ascii.h
资源名称:vim53src.zip [点击查看]
上传用户:gddssl
上传日期:2007-01-06
资源大小:1003k
文件大小:1k
源码类别:
编辑器/阅读器
开发平台:
DOS
- /* vi:set ts=8 sts=4 sw=4:
- *
- * VIM - Vi IMproved by Bram Moolenaar
- *
- * Do ":help uganda" in Vim to read copying and usage conditions.
- * Do ":help credits" in Vim to see a list of people who contributed.
- */
- /*
- * Definitions of various common control characters
- */
- #define NUL '00'
- #define BS '10'
- #define TAB '11'
- #define NL '12'
- #define NL_STR (char_u *)"12"
- #define FF '14'
- #define CR '15'
- #define ESC '33'
- #define ESC_STR (char_u *)"33"
- #define DEL 0x7f
- #define CSI 0x9b
- #define Ctrl(x) ((x) & 0x1f)
- #define Meta(x) ((x) | 0x80)
- /*
- * Character that separates dir names in a path.
- * For MS-DOS, WIN32 and OS/2 we use a backslash. A slash mostly works
- * fine, but there are places where it doesn't (e.g. in a command name).
- * For Macintosh we use a colon.
- * For Acorn we use a dot.
- */
- #ifdef BACKSLASH_IN_FILENAME
- # define PATHSEP '\'
- # define PATHSEPSTR "\"
- #else
- # ifdef COLON_AS_PATHSEP
- # define PATHSEP ':'
- # define PATHSEPSTR ":"
- # else
- # ifdef RISCOS
- # define PATHSEP '.'
- # define PATHSEPSTR "."
- # else
- # define PATHSEP '/'
- # define PATHSEPSTR "/"
- # endif
- # endif
- #endif