blob: 41a9c1ea24608335197a3743596ce48a394ad232 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* $OpenBSD: ascii.h,v 1.1 1996/09/07 21:40:27 downsj Exp $ */
/* vi:set ts=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 '\000'
#define TAB '\011'
#define NL '\012'
#define NL_STR (char_u *)"\012"
#define CR '\015'
#define ESC '\033'
#define ESC_STR (char_u *)"\033"
#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 and WIN32 we also use the slash, the backslash causes trouble in
* a command line and the slash works fine.
*/
#define PATHSEP '/'
#define PATHSEPSTR "/"
|