Commit | Line | Data |
---|---|---|
d8875586 MBT |
1 | ?RCS: $Id: newsspool.U 1 2006-08-24 12:32:52Z rmanfredi $ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi | |
4 | ?RCS: | |
5 | ?RCS: You may redistribute only under the terms of the Artistic Licence, | |
6 | ?RCS: as specified in the README file that comes with the distribution. | |
7 | ?RCS: You may reuse parts of this distribution only within the terms of | |
8 | ?RCS: that same Artistic Licence; a copy of which may be found at the root | |
9 | ?RCS: of the source tree for dist 4.0. | |
10 | ?RCS: | |
11 | ?RCS: $Log: newsspool.U,v $ | |
12 | ?RCS: Revision 3.0 1993/08/18 12:09:24 ram | |
13 | ?RCS: Baseline for dist 3.0 netwide release. | |
14 | ?RCS: | |
15 | ?MAKE:newsspool newsspoolexp: Getfile Oldconfig | |
16 | ?MAKE: -pick add $@ %< | |
17 | ?S:newsspool: | |
18 | ?S: This variable contains the eventual value of the NEWSSPOOL symbol, | |
19 | ?S: which is the directory name where news articles are spooled. It | |
20 | ?S: may have a ~ on the front of it. | |
21 | ?S:. | |
22 | ?S:newsspoolexp: | |
23 | ?S: This is the same as the newsspool variable, but is filename expanded | |
24 | ?S: at configuration time, for programs not wanting to deal with it at | |
25 | ?S: run-time. | |
26 | ?S:. | |
27 | ?C:NEWSSPOOL: | |
28 | ?C: This symbol contains the directory name where news articles are | |
29 | ?C: spooled. The program must be prepared to do ~ expansion on it. | |
30 | ?C:. | |
31 | ?C:NEWSSPOOL_EXP: | |
32 | ?C: This is the same as NEWSSPOOL, but is filename expanded at | |
33 | ?C: configuration time, for use in programs not willing to do so | |
34 | ?C: at run-time. | |
35 | ?C:. | |
36 | ?H:#define NEWSSPOOL "$newsspool" /**/ | |
37 | ?H:#define NEWSSPOOL_EXP "$newsspoolexp" /**/ | |
38 | ?H:. | |
39 | : locate news spool directory | |
40 | case "$newsspool" in | |
41 | '') | |
42 | dflt=/usr/spool/news | |
43 | ;; | |
44 | *) dflt="$newsspool";; | |
45 | esac | |
46 | echo " " | |
47 | fn=d~ | |
48 | rp='Where are news spooled?' | |
49 | . ./getfile | |
50 | newsspool="$ans" | |
51 | newsspoolexp="$ansexp" | |
52 |