home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume22 / undel2 / part01 / col.h next >
C/C++ Source or Header  |  1990-06-07  |  2KB  |  37 lines

  1. /*
  2.  * $Source: /afs/athena.mit.edu/user/j/jik/src/delete/RCS/col.h,v $
  3.  * $Author: jik $
  4.  *
  5.  * This header file is part of a package including delete, undelete,
  6.  * lsdel, expunge and purge.  The software suite is meant as a
  7.  * replacement for rm which allows for file recovery.
  8.  * 
  9.  * Copyright (c) 1989 by the Massachusetts Institute of Technology.
  10.  * For copying and distribution information, see the file "mit-copyright.h."
  11.  */
  12. #include "mit-copyright.h"
  13.  
  14. /*
  15.  * DEF_COL_WIDTH: the column with to try to use if none is specified.
  16.  * DEF_WAIT: 1 if the program is supposed to wait for stdin to get to
  17.  *           end-of-file and then print out everything in order in
  18.  *           columns by default.  If this is 0, then the default is
  19.  *           for the program to print across instead of down and to
  20.  *           print as it receives input from stdin.
  21.  * DEF_VAR_COLS: if 1, use variable-width columns based on text width.
  22.  *               if 1, DEF_WAIT must be true.
  23.  * DEF_SCR_WIDTH: default screen width
  24.  * DEF_NUM_ITEMS: if 1, number each item
  25.  * DEF_MARGIN: the default margin in between columns of text
  26.  */ 
  27. #define DEF_COL_WIDTH 20
  28. #define DEF_WAIT 1
  29. #define DEF_VAR_COLS 1
  30. #define DEF_SCR_WIDTH 80
  31. #define DEF_NUM_ITEMS 1
  32. #define DEF_MARGIN 2
  33.  /* This is used for when we need a guess as to how long a number will */
  34.  /* be when printed.  Also, if we are supposed to work in wait mode    */
  35.  /* and are not given a maxitems value, this is what is used.          */
  36. #define DEF_MAX_ITEMS 10000
  37.