Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc/usr.bin/finger
Module Name: basesrc
Committed By: kim
Date: Tue Sep 10 03:02:41 UTC 2002
Modified Files:
basesrc/usr.bin/finger: finger.c lprint.c net.c
Log Message:
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@localhost> for the idea on
checking
for known single-byte locales, to Johan Danielsson <joda%pdc.kth.se@localhost>
for
checking RFC-1288, and to Jun-ichiro itojun Hagino <itojun%iijlab.net@localhost>
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!
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 basesrc/usr.bin/finger/finger.c
cvs rdiff -r1.16 -r1.17 basesrc/usr.bin/finger/lprint.c
cvs rdiff -r1.17 -r1.18 basesrc/usr.bin/finger/net.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index