~ubuntu-branches/ubuntu/edgy/lynx/edgy

« back to all changes in this revision

Viewing changes to src/LYCharVals.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-16 12:14:10 UTC
  • Revision ID: james.westby@ubuntu.com-20040916121410-cz1gu92c4nqfeyrg
Tags: upstream-2.8.5
ImportĀ upstreamĀ versionĀ 2.8.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef LYCHARVALS_H
 
2
#define LYCHARVALS_H 1
 
3
 
 
4
#ifndef HTUTILS_H
 
5
#include <HTUtils.h>
 
6
#endif
 
7
 
 
8
/*
 
9
 * Use integer values for character constants rather than '\octal' form, since
 
10
 * not all compilers agree that those will fit in a character, even when cast.
 
11
 */
 
12
#ifndef   CH_ESC
 
13
#ifdef    EBCDIC
 
14
#define CH_DEL           0x07
 
15
#define CH_ESC           0x27
 
16
#define CH_ESC_PAR       0x27
 
17
#define CH_HICTL         0x3f
 
18
#define CH_NBSP          0x41
 
19
#define CH_SHY           0xca
 
20
#define LYCharINTERRUPT1 0x03 /* Control-C */
 
21
#define LYCharINTERRUPT2 0x2f /* Control-G */
 
22
#else  /* EBCDIC */
 
23
#define CH_ESC           0033
 
24
#define CH_DEL           0177
 
25
#define CH_ESC_PAR       0233
 
26
#define CH_HICTL         0237
 
27
#define CH_NBSP          0240
 
28
#define CH_SHY           0255
 
29
#define LYCharINTERRUPT1 0003 /* Control-C */
 
30
#define LYCharINTERRUPT2 0007 /* Control-G */
 
31
#endif /* EBCDIC */
 
32
#endif /* CH_ESC */
 
33
 
 
34
#endif /* LYCHARVALS_H */