source: trunk/athena/bin/discuss/mclient/dsc_setup.sh @ 11295

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