home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume3 / nwho / README < prev   
Text File  |  1986-11-30  |  2KB  |  36 lines

  1. This is an enhanced who program.  Features:
  2.     1)  expands aliases for login names
  3.     2)  sorts output alphabetically by name
  4.     3)  space-efficient multi-column output
  5.     4)  speed comparable to /bin/who
  6.     5)  size comparable to /bin/who
  7.  
  8. To compile:
  9.     This program is used regularly on 2.9, 4.1 and 4.2 BSD UNIX
  10.     systems (PDP's, VAXen, SUN-2's, and Pyramid 90x's) here at rayssd.
  11.     (We used to have a V7 system that an earlier version worked on, so
  12.     I think that with "#define void int", it should work fine.)
  13.     If you're on a 2.9 or 4.2 system, #define bsd42.  Else, if you're
  14.     on a system that has a ut_host field in the utmp structure, you should
  15.     #define hashosts.  If your system has tty id's that are other than 2
  16.     letters long (the "xx" in "ttyxx"), you'll need to #define TTYLEN to
  17.     that length.  You'll need getopt() to compile this program.  If you
  18.     don't have termcap, you can take out the guts of termlen() or adapt
  19.     the program to use terminfo (send me the diffs!).
  20.  
  21.     A good example is a vanilla Pyramid 90x system running Berkley init.
  22.  
  23.         cc -O -Dbsd42 -DTTYLEN=3 -o nwho nwho.c getopt.o -ltermcap
  24.  
  25. Problems:
  26.     If you have any problems, I'd like to know about them.  If you get
  27.     this program running on any type of system not mentioned above, I'd be
  28.     interested in the diffs to make it work.  If you have any useful
  29.     enhancements, I'd like to know about them too.
  30.  
  31.         Greg Paris          { allegra, linus, raybed2 }!rayssd!gmp
  32.         PO Box 360/MS 330
  33.         Portsmouth, RI  02871
  34.         (401) 847-8000 ext. 3839
  35.  
  36.