home *** CD-ROM | disk | FTP | other *** search
- 21-Jul-1987
-
- Here's a Eunice emulation of /usr/ucb/finger. I've attempted to make it
- not depend on local features of the Eunice I run, but I'm sure people
- with older versions of Eunice will have some difficulty getting it to
- run. (I have the 4.3 BSD Eunice and use this program under VMS V4.5.)
-
- This program requires CMKRNL, WORLD, and NETMBX for normal use. Since
- it uses CMKRNL too look at kernel data structures (to get things like
- idle time and network location), I highly recommend that you test it on
- an unused system since simple errors in the building of this program
- can crash your machine.
-
- This version of finger displays username, real name, terminal, idle and
- login time, and location. Terminals with broadcasts disabled are noted
- with an asterisk. It uses getpwent() to get the real name. Hardwired
- port locations are found in /etc/locations which looks similar this:
-
- opa0:,Console
- tta0:,Machine room vt100
- tta1:,Machine room vt100
- tta2:,Dialup 666-1234
- tta3:,Dialup 666-1235
- tta4:,Portselector
- tta5:,Portselector
- tta6:,
- tta7:,Craig's office
-
- Internet locations are determined by consulting gethostbyaddr().
- DECnet locations are determined by consulting NETACP.
-
- Craig
-