|
|
1.1 ! root 1: /* ! 2: * escapes.h ! 3: * Nroff/Troff. ! 4: * Escape character definitions. ! 5: */ ! 6: ! 7: /* ! 8: * Values kludged by steve 2/21/91. ! 9: * getf() should support the use of any character value between 0 and 255. ! 10: * But its returned value is often stored in an array of char, ! 11: * e.g. for conditionals and macros; the values defined below, which are ! 12: * returned for escape sequences, therefore must fit in a char for now. ! 13: * The values below are in the ranges 0x01 to 0x1F and 0x80 to 0xA0; ! 14: * this avoids the high-bit-set characters in the standard PostScript ! 15: * character set and will have to do until someone has time to fix it ! 16: * the right way (by changing various char array buffers to int arrays). ! 17: * I'm not proud of this one, folks. ! 18: */ ! 19: ! 20: /* Pseudoescapes. */ ! 21: #define ENUL 0 /* Character maps onto itself */ ! 22: #define ECOD 0x10 /* Return processed text */ ! 23: ! 24: /* Currently unimplemented. */ ! 25: #define EBRA 0x13 /* \b Bracket building function */ ! 26: ! 27: /* Recently added, should be in implemented list below. */ ! 28: #define ECHR 0x11 /* \( Special character indicator */ ! 29: #define EVLF 0x12 /* \L Vertical line drawing function */ ! 30: #define EOVS 0x14 /* \o Overstrike */ ! 31: #define EZWD 0x15 /* \z Print character with zero width */ ! 32: #define EHEX 0x16 /* \X Hexadecimal character */ ! 33: ! 34: /* Implemented. */ ! 35: #define EIGN 0x80 /* \\n Concealed newline (ignored) */ ! 36: #define EUNP 0x81 /* \SP Unpaddable space */ ! 37: #define ETLI 0x82 /* \! Transparent line indicator */ ! 38: #define ECOM 0x83 /* \" Start of comment */ ! 39: #define EARG 0x84 /* \$ Parameter character */ ! 40: #define EHYP 0x85 /* \% Hyphenation character */ ! 41: #define ENOP 0x86 /* \& Zero width character */ ! 42: #define EACA 0x87 /* \' Acute accent */ ! 43: #define ESTR 0x88 /* \* String macro indicator */ ! 44: #define EMIN 0x89 /* \- Minus sign */ ! 45: #define EDWS 0x8A /* \0 Digit width space */ ! 46: #define EM12 0x8B /* \^ 1/12 em half narrow space */ ! 47: #define EGRA 0x8C /* \` Grave accent */ ! 48: #define ELDR 0x8D /* \a Uninterpreted leader character */ ! 49: #define EINT 0x8E /* \c Interrupt text processing */ ! 50: #define EVNF 0x8F /* \d 1/2 em vertical motion */ ! 51: #define EESC 0x90 /* \e Printable escape character */ ! 52: #define EFON 0x91 /* \f Font change */ ! 53: #define EHMT 0x92 /* \h Local horizontal motion */ ! 54: #define EMAR 0x93 /* \k Mark horizontal input place */ ! 55: #define EHLF 0x94 /* \l Horizontal line drawing fn */ ! 56: #define ENUM 0x95 /* \n Expand number register */ ! 57: #define ESPR 0x96 /* \p Break and spread output line */ ! 58: #define EVRM 0x97 /* \r Reverse 1 em vertically */ ! 59: #define EPSZ 0x98 /* \s Change pointsize */ ! 60: #define ETAB 0x99 /* \t Uninterpreted horizontal tab */ ! 61: #define EVRN 0x9A /* \u Reverse 1 en vertically */ ! 62: #define EVMT 0x9B /* \v Local vertical motion */ ! 63: #define EWID 0x9C /* \w Width function */ ! 64: #define EXLS 0x9D /* \x Extra line spacing */ ! 65: #define EBEG 0x9E /* \{ Begin conditional input */ ! 66: #define EM06 0x9F /* \| 1/6 em narrow space */ ! 67: #define EEND 0xA0 /* \} End conditional input */ ! 68: ! 69: /* end of escapes.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.