Date: Tue, 18 Jun 1996 02:49:00 +0800 From: Peter Wemm <peter@spinner.DIALix.COM> To: "Andrey A. Chernov" <ache@freefall.freebsd.org> Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/w w.c Message-ID: <199606171849.CAA01858@spinner.DIALix.COM> In-Reply-To: Your message of "Mon, 17 Jun 1996 11:35:21 MST." <199606171835.LAA17950@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>ache 96/06/17 11:35:19 > > Modified: usr.bin/w w.c > Log: > Don't try convert "-" to numeric form for -n option I'm not sure I like the direction this is going.. The ut_host field is useful for storing various sorts of useful information, the changes that have just been made cause 'w -n' to break and print error messages if it cant resolve an internet-visible hostname in the field. At the very least, it should print what was there rather than breaking the formatting to print an error and no ut_host data. IMHO, the -n option was documented badly. As originally implemented, it was a "dont convert IP addresses to names" flag, but the man page wasn't in sync. I think that actively attempting to *convert* ut_host data to IP addresses (consider what 'screen' and the various 'xterm' etc programs put in there) is a mistake. Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606171849.CAA01858>