Revision 11295,
752 bytes
checked in by ghudson, 26 years ago
(diff) |
/usr/spool -> /var/spool
|
Rev | Line | |
---|
[316] | 1 | #!/bin/csh -f |
---|
| 2 | # Set up a user for discuss. |
---|
| 3 | # Writing this in C is overkill. |
---|
[5563] | 4 | # True, but C-shell syntax is gross. |
---|
[316] | 5 | |
---|
| 6 | if ( -f ~/.meetings ) then |
---|
[5563] | 7 | if ($#argv == 0) echo " You appear to have a .meetings file; you don't need to run this." |
---|
[316] | 8 | exit |
---|
| 9 | endif |
---|
| 10 | |
---|
| 11 | if ( -f ~/.disrc ) then |
---|
[5563] | 12 | if ($#argv == 0) then |
---|
| 13 | echo " You appear to have a .disrc file left over from the experimental" |
---|
| 14 | echo " version of discuss." |
---|
| 15 | echo " Converting your .disrc file to a .meetings file:" |
---|
| 16 | endif |
---|
[316] | 17 | disrc2meetings |
---|
| 18 | else |
---|
[5563] | 19 | if ($#argv == 0) echo " Creating .meetings file:" |
---|
[316] | 20 | cat >~/.meetings << _EOF_ |
---|
[11295] | 21 | 0:0:0:charon.mit.edu:/var/spool/discuss/new_meetings:New_meetings,new_meetings: |
---|
| 22 | 0:0:0:charon.mit.edu:/var/spool/discuss/eve:Everybody,eve: |
---|
[316] | 23 | _EOF_ |
---|
[5563] | 24 | if ($#argv == 0) echo " done." |
---|
[316] | 25 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.