Commit Graph

26 Commits

Author SHA1 Message Date
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem 2585608506 remove extraneous newline in remote finger output. (found by chuck cranor) 1997-11-24 22:03:48 +00:00
mrg 66f7b9fd72 fix compile warnings on the alpha. 1997-10-19 14:05:56 +00:00
mrg 987dbad8ba merge lite-2. WARNSify. clean up .Nm. 1997-10-19 08:13:23 +00:00
lukem 906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
mrg 2703290213 add -g flag: do not show non real name gecos info. 1997-09-09 02:41:06 +00:00
pk f6d87734a6 NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:40:47 +00:00
mycroft 5d918be419 Minor formatting changes to make the output less ugly. 1997-03-28 02:15:21 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
lukem 8bcf7e5435 don't need to explicitly NUL terminate strings written by snprintf() 1996-11-22 05:34:06 +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
jtc 6ce8742ab1 Update lseek() constants:
L_SET	-> SEEK_SET
Add off_t cast to offset arg.
1995-09-27 01:10:48 +00:00
jtc ca160a4e7b imported from 44lite2 1995-09-01 00:25:45 +00:00
jtc 1a62dfd970 Fix typo, noted by Masanobu Saitoh in PR #1272 1995-07-25 18:16:57 +00:00
mycroft 39a59b6bbe Fix oversight in previous. 1995-05-21 15:06:52 +00:00
mycroft 504e402f82 Use inet_aton(), not inet_addr(). 1995-05-21 15:03:24 +00:00
cgd fcb1f85786 pull in string.h or stdlib.h as necessary. 1994-12-24 16:33:46 +00:00
cgd 67f7468b24 bad cast 1994-04-01 03:32:38 +00:00
cgd 0563f20cc0 after -> before 1994-02-14 19:07:33 +00:00
mycroft 540438e596 Ignore multiple \r's. 1994-01-14 03:50:50 +00:00
mycroft 6be6fca207 Print `-' rather than ` ' for 0 idle time. 1993-10-26 20:52:51 +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
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00