home *** CD-ROM | disk | FTP | other *** search
- chat
- ====
-
- Written by D'Arcy J.M. Cain 1990
- (darcy@cain)
- All rights reserved
-
- Permission is hereby granted to freely copy and redistribute this
- software, provided that the author is clearly credited in all
- copies and derivations. This software is provided ``As Is'' and
- without any express or implied warranties.
-
- Chat allows more than one user on a system to be involved
- in a conference via their terminal. It consists of a foreground
- part and a background part.
-
- chatter is the background process. It looks for messages from
- other processes and sends messages to them. It should be put into
- inittab so that it always restarts.
-
- chat is the front end and is the program run by users wishing to
- join or start a chat. In chat, lines starting with / are commands.
- enter /? or /h for a list of commands
-
- To call chat simply enter chat from the command line. Various
- options are available and are accessed by adding '-x' to the command
- where x is one of the following letters:
-
- h Displays a usage message instead of running the program.
- n Takes the following name and uses it instead of login name.
- f Takes the following file and keeps a log of the conversation in it.
-
- Example:
-
- chat -n "D'Arcy" -f chat.log
-
- This starts chat, sets up the name as D'Arcy, opens the file chat.log
- and keeps a record of the chat in it. Note that the quotes around
- D'Arcy are only neccessary because of the apostrophe.
-
- The n option can be set from within the program as well.
-
- Move chat.make to Makefile and run make to create the programs.
-
-
- Chat Wish List:
-
- These are a few things that I hope to add to chat later. If you can
- think of other enhancements please let me know.
-
- - A TLI version. I have made a small start on this but if anyone wants
- to give it a try, go ahead. Use the ???_msg.c files as models. You
- should be able to write ???_tli.c files that just link into the other
- files without changing them.
-
- - A monitor program. This is mostly a matter of deciding what it should
- do. One idea would be to print the name of the user any time there was
- any activity from the chatter. This could be monitored in any way one
- chooses. A simplistic method would be to run the monitor program in
- background and allow it to interupt the user each time there was any
- activity. Of course there are other possibilities. On my system, for
- example, I would put it in background and pipe it to a program that
- displays the name on the LED's on my front panel.
-
-
- Enjoy.
- D'Arcy J.M. Cain
- (darcy@druid)
-
-