File: LYCharVals.h

package info (click to toggle)
lynx 2.8.5-2sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,780 kB
  • ctags: 10,300
  • sloc: ansic: 118,519; sh: 3,245; makefile: 869; perl: 583
file content (34 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (4)
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
34
#ifndef LYCHARVALS_H
#define LYCHARVALS_H 1

#ifndef HTUTILS_H
#include <HTUtils.h>
#endif

/*
 * Use integer values for character constants rather than '\octal' form, since
 * not all compilers agree that those will fit in a character, even when cast.
 */
#ifndef   CH_ESC
#ifdef    EBCDIC
#define CH_DEL           0x07
#define CH_ESC           0x27
#define CH_ESC_PAR       0x27
#define CH_HICTL         0x3f
#define CH_NBSP          0x41
#define CH_SHY           0xca
#define LYCharINTERRUPT1 0x03 /* Control-C */
#define LYCharINTERRUPT2 0x2f /* Control-G */
#else  /* EBCDIC */
#define CH_ESC           0033
#define CH_DEL           0177
#define CH_ESC_PAR       0233
#define CH_HICTL         0237
#define CH_NBSP          0240
#define CH_SHY           0255
#define LYCharINTERRUPT1 0003 /* Control-C */
#define LYCharINTERRUPT2 0007 /* Control-G */
#endif /* EBCDIC */
#endif /* CH_ESC */

#endif /* LYCHARVALS_H */