home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
1
/
1935
/
lchat
< prev
Wrap
Text File
|
1990-12-28
|
537b
|
22 lines
:
# $Id: lchat,v 1.1 90/08/19 19:06:00 darcy Exp $
# This script calls chat with some arguments. Set LOGFILE equal to
# a log file to capture your session to. Set REALNAME to the name
# to display on the output.
# If a user's name is entered, chat is called via chatyell which
# sends a message to the named user to run chat before running chat.
LOGFILE=/usr/darcy/chat.log
REALNAME="D'Arcy"
echo "\n`date`" >> $LOGFILE
if [ $# = 0 ]
then
chat -n $REALNAME -f $LOGFILE
else
chatyell $1 -n $REALNAME -f $LOGFILE $2 $3 $4 $5
fi