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

Revision 11295, 752 bytes checked in by ghudson, 26 years ago (diff)
/usr/spool -> /var/spool
RevLine 
[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
6if ( -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
9endif
10
11if ( -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
18else
[5563]19        if ($#argv == 0) echo "  Creating .meetings file:"
[316]20        cat >~/.meetings << _EOF_
[11295]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:
[316]23_EOF_
[5563]24        if ($#argv == 0) echo "  done."
[316]25endif
Note: See TracBrowser for help on using the repository browser.