Home | History | Annotate | Download | only in finger
History log of /src/usr.bin/finger/net.c
RevisionDateAuthorComments
 1.23  12-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare)
 1.22  04-Jan-2006  perry branches: 1.22.30;
de-__P, ANSIfy prototypes, and kill register
 1.21  03-Jun-2004  kleink Remove duplicate header inclusions; from Jeff Ito in PR bin/25797.
 1.20  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.19  12-Sep-2002  kim Implement 8-bit pass-through.
 1.18  10-Sep-2002  kim Add back locale support for data display.

We only enable 8-bit output for known single-byte locales, currently
ISO8859-*. For all other locales the program output is unchanged.

RFC-1288 recommends that administrators have a mechanism to enable
characters greater than ASCII 126. A suggested solution is an
environment variable. The environment variables of choice here are
LC_CTYPE and LANG.

Thanks to Martin Husemann <martin@duskware.de> for the idea on checking
for known single-byte locales, to Johan Danielsson <joda@pdc.kth.se> for
checking RFC-1288, and to Jun-ichiro itojun Hagino <itojun@iijlab.net>
for insisting on retaining security for multi-byte locales.

If you experience any problems with these changes, please send me email
describing the problem and how to repeat it. I'd rather try to fix the
problem than have this change reverted. Thanks!
 1.17  20-Aug-2002  itojun revert attempt to make finger locale-dependent. (1) locale dependent
daemon is a bad idea, (2) there's no standard in 8bit finger, (3) there's no
guarantee that finger/fingerd uses the same locale, (4) existing finger client
could scream. see tech-userlevel.
 1.16  10-Aug-2002  kim Obey the locale settings of the user when deciding what characters are
valid for output. If something bad gets printed, either the locale
settings for the user (or output terminal) are wrong, or the LC_CTYPE
definitions on the system are invalid.
 1.15  02-Aug-2002  christos support utmpx; no lastlogx support yet.
 1.14  07-Jul-2000  itojun errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
 1.13  02-Jul-1999  itojun branches: 1.13.8;
dual-stack finger.
% finger itojun@::1
% finger itojun@127.0.0.1
% finger itojun@localhost
tries all addresses listed on DNS, uses first one with successful
connect(2).
 1.12  10-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.11  24-Nov-1997  lukem remove extraneous newline in remote finger output. (found by chuck cranor)
 1.10  19-Oct-1997  mrg merge lite-2. WARNSify. clean up .Nm.
 1.9  17-May-1997  pk NULL => 0 (Arne Juul; PR#3629)
 1.8  09-Jan-1997  tls RCS ID police
 1.7  21-Nov-1996  lukem - 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.
 1.6  21-May-1995  mycroft Fix oversight in previous.
 1.5  21-May-1995  mycroft Use inet_aton(), not inet_addr().
 1.4  24-Dec-1994  cgd pull in string.h or stdlib.h as necessary.
 1.3  14-Jan-1994  mycroft Ignore multiple \r's.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  01-Sep-1995  jtc imported from 44lite2
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.13.8.1  28-Jul-2000  itojun pullup (approved by releng-1-5)
printf-like format pedant. do not pass string variable alone. use "%s".
from openbsd.

/cvsroot/basesrc/usr.bin/biff/biff.c 1.6 -> 1.7
/cvsroot/basesrc/usr.bin/chpass/chpass.c 1.18 -> 1.19
/cvsroot/basesrc/usr.bin/finger/net.c 1.13 -> 1.14
/cvsroot/basesrc/usr.bin/finger/util.c 1.15 -> 1.16
/cvsroot/basesrc/usr.bin/hexdump/display.c 1.8 -> 1.9
/cvsroot/basesrc/usr.bin/ktrace/ktrace.c 1.18 -> 1.19
/cvsroot/basesrc/usr.bin/mail/lex.c 1.14 -> 1.15
/cvsroot/basesrc/usr.bin/modstat/modstat.c 1.14 -> 1.15
/cvsroot/basesrc/usr.bin/tcopy/tcopy.c 1.9 -> 1.10
/cvsroot/basesrc/usr.bin/tn3270/ascii/map3270.c 1.7 -> 1.8
/cvsroot/basesrc/usr.bin/tn3270/tools/mkmake/mkmake.y 1.7 -> 1.8
/cvsroot/basesrc/usr.bin/vmstat/dkstats.c 1.8 -> 1.9
 1.22.30.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed