1: /*
   2:  * Standard include file for "less".
   3:  */
   4: 
   5: /*
   6:  * Language details.
   7:  */
   8: #if !VOID
   9: #define void  int
  10: #endif
  11: #define public      /* PUBLIC FUNCTION */
  12: 
  13: /*
  14:  * Special types and constants.
  15:  */
  16: typedef long        POSITION;
  17: /*
  18:  * {{ Warning: if POSITION is changed to other than "long",
  19:  *    you may have to change some of the printfs which use "%ld"
  20:  *    to print a variable of type POSITION. }}
  21:  */
  22: 
  23: #define END_POSITION    ((POSITION)(-2))
  24: #define NULL_POSITION   ((POSITION)(-1))
  25: 
  26: #define EOF     (0)
  27: #define NULL        (0)
  28: 
  29: /* How quiet should we be? */
  30: #define NOT_QUIET   0   /* Ring bell at eof and for errors */
  31: #define LITTLE_QUIET    1   /* Ring bell only for errors */
  32: #define VERY_QUIET  2   /* Never ring bell */
  33: 
  34: /* How should we prompt? */
  35: #define PR_SHORT    0   /* Prompt with colon */
  36: #define PR_MEDIUM   1   /* Prompt with message */
  37: #define PR_LONG     2   /* Prompt with longer message */
  38: 
  39: /* How should we handle backspaces? */
  40: #define BS_UNDERLINE    0   /* Underlining converted to underline mode */
  41: #define BS_NORMAL   1   /* \b treated as normal char; actually output *
  42: /
  43: #define	BS_CONTROL	2	/* \b treated as control char; prints as ^H */
  44: 
  45: /* Flag to eq_message() telling what to put in the message */
  46: #define MNAME       001 /* File name */
  47: #define MOF     002 /* "file x of y" */
  48: #define MBYTE       004 /* "byte x/y" */
  49: #define MPCT        010 /* Percentage into the file */
  50: 
  51: /* Special chars used to tell put_line() to do something special */
  52: #define UL_CHAR     '\201'  /* Enter underline mode */
  53: #define UE_CHAR     '\202'  /* Exit underline mode */
  54: 
  55: #define CONTROL(c)      ((c)&037)
  56: #define SIGNAL(sig,func)    signal(sig,func)
  57: 
  58: off_t lseek();
  59: 
  60: #include "funcs.h"

Defined typedef's

POSITION defined in line 16; used 2 times

Defined macros

BS_NORMAL defined in line 41; never used
BS_UNDERLINE defined in line 40; never used
CONTROL defined in line 55; never used
END_POSITION defined in line 23; never used
EOF defined in line 26; never used
LITTLE_QUIET defined in line 31; never used
MBYTE defined in line 48; never used
MNAME defined in line 46; never used
MOF defined in line 47; never used
MPCT defined in line 49; never used
NOT_QUIET defined in line 30; never used
NULL defined in line 27; never used
NULL_POSITION defined in line 24; never used
PR_LONG defined in line 37; never used
PR_MEDIUM defined in line 36; never used
PR_SHORT defined in line 35; never used
SIGNAL defined in line 56; never used
UE_CHAR defined in line 53; never used
UL_CHAR defined in line 52; never used
VERY_QUIET defined in line 32; never used
public defined in line 11; never used
void defined in line 9; never used
Last modified: 1986-04-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: ?E00
Valid CSS Valid XHTML 1.0 Strict