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