home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2002 / chat.readme < prev    next >
Encoding:
Text File  |  1990-12-28  |  2.5 KB  |  70 lines

  1. chat
  2. ====
  3.  
  4. Written by D'Arcy J.M. Cain 1990
  5. (darcy@cain)
  6. All rights reserved
  7.  
  8. Permission is hereby granted to freely copy and redistribute this
  9. software, provided that the author is clearly credited in all
  10. copies and derivations.  This software is provided ``As Is'' and
  11. without any express or implied warranties.
  12.  
  13. Chat allows more than one user on a system to be involved
  14. in a conference via their terminal.  It consists of a foreground
  15. part and a background part.
  16.  
  17. chatter is the background process.  It looks for messages from 
  18. other processes and sends messages to them.  It should be put into
  19. inittab so that it always restarts.
  20.  
  21. chat is the front end and is the program run by users wishing to
  22. join or start a chat.  In chat, lines starting with / are commands.
  23. enter /? or /h for a list of commands
  24.  
  25. To call chat simply enter chat from the command line.  Various 
  26. options are available and are accessed by adding '-x' to the command
  27. where x is one of the following letters:
  28.  
  29. h   Displays a usage message instead of running the program.
  30. n   Takes the following name and uses it instead of login name.
  31. f   Takes the following file and keeps a log of the conversation in it.
  32.  
  33. Example:
  34.  
  35. chat -n "D'Arcy" -f chat.log
  36.  
  37. This starts chat, sets up the name as D'Arcy, opens the file chat.log
  38. and keeps a record of the chat in it.  Note that the quotes around
  39. D'Arcy are only neccessary because of the apostrophe.
  40.  
  41. The n option can be set from within the program as well.
  42.  
  43. Move chat.make to Makefile and run make to create the programs.
  44.  
  45.  
  46. Chat Wish List:
  47.  
  48. These are a few things that I hope to add to chat later.  If you can
  49. think of other enhancements please let me know.
  50.  
  51. - A TLI version.  I have made a small start on this but if anyone wants
  52.   to give it a try, go ahead.  Use the ???_msg.c files as models.  You
  53.   should be able to write ???_tli.c files that just link into the other
  54.   files without changing them.
  55.  
  56. - A monitor program.  This is mostly a matter of deciding what it should
  57.   do.  One idea would be to print the name of the user any time there was
  58.   any activity from the chatter.  This could be monitored in any way one
  59.   chooses.  A simplistic method would be to run the monitor program in
  60.   background and allow it to interupt the user each time there was any
  61.   activity.  Of course there are other possibilities.  On my system, for
  62.   example, I would put it in background and pipe it to a program that
  63.   displays the name on the LED's on my front panel.
  64.  
  65.  
  66. Enjoy.
  67. D'Arcy J.M. Cain
  68. (darcy@druid)
  69.  
  70.