Commit Graph

10 Commits

Author SHA1 Message Date
christos d0d49a5805 PR/36278: David A. Holland: hard-coded paths in finger 2007-05-05 16:55:17 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
christos 8bff4369e7 support utmpx; no lastlogx support yet. 2002-08-02 00:10:40 +00:00
christos 8b325711d4 don't include extern.h here; every other file includes it. 2001-02-05 01:56:38 +00:00
mrg 987dbad8ba merge lite-2. WARNSify. clean up .Nm. 1997-10-19 08:13:23 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
lukem 3ccb8ba1c9 - add -h (show hostnames in short listing instead of office info), and
-o (the reverse of this, also the default)
- use vis(3) in vputc() instead of handcrufted function (from OpenBSD).
- move gecos expansion into expandusername() (a la sendmail's buildfname).
  A generic version of this last bit in libutil would be useful...
- cleanup the code, fix prototypes, etc.
1996-11-21 06:01:47 +00:00
brezak 4eae27f3eb Whilst hacking the Net/2 version of finger to work on Solaris 2.2 (we
needed a finger on that platform which grokked the office/phone # GCOS
info), I decided to put mail status in (as the solaris version has
that).

The attached patch adds:
- manual page typos fixed: finger doesn't scan .forward, contrary to
  what the man page says (and really shouldn't either, IMHO - that's
  what telnet host SMTP & VRFY are for :)

- added a mail check (printed between login info and the project).
  three different messages possible:
  - if you have no mail:
        No Mail.
  - if you have mail, but there's no unread mail:
        Mail last read DDD MMM ## HH:MM (TZ)
  - if you have new mail:
        New mail received DDD MMM ## HH:MM (TZ)
             Unread since DDD MMM ## HH:MM (TZ)

- fixed the manual page.

lm@yallara.cs.rmit.OZ.AU (Luke Mewburn)
1993-10-07 19:58:28 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00