source: trunk/athena/bin/delete/col.h @ 4505

Revision 4505, 1.5 KB checked in by jik, 34 years ago (diff)
Shorten mit-copyright.h to mit-copying.h so it'll work on systems with 14-char filenames.
Line 
1/*
2 * $Source: /afs/dev.mit.edu/source/repository/athena/bin/delete/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-copying.h."
11 */
12#include "mit-copying.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
Note: See TracBrowser for help on using the repository browser.