From owner-freebsd-hackers Sun Jul 16 19:07:17 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id TAA19948 for hackers-outgoing; Sun, 16 Jul 1995 19:07:17 -0700 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id TAA19942 for ; Sun, 16 Jul 1995 19:07:16 -0700 Received: from corbin.Root.COM (corbin [198.145.90.18]) by Root.COM (8.6.11/8.6.5) with ESMTP id TAA14622; Sun, 16 Jul 1995 19:06:38 -0700 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id TAA03570; Sun, 16 Jul 1995 19:07:50 -0700 Message-Id: <199507170207.TAA03570@corbin.Root.COM> To: Peter Wemm cc: hackers@freebsd.org Subject: Re: utmp ut_host field In-reply-to: Your message of "Sun, 16 Jul 95 23:44:31 +0800." From: David Greenman Reply-To: davidg@Root.COM Date: Sun, 16 Jul 1995 19:07:50 -0700 Sender: hackers-owner@freebsd.org Precedence: bulk >Hi all.. > >telnetd will store the dotted IP address in the hostname field if the >actual name is too long to fit. > >w detects this and correctly looks up the real name. > >who does not, neither does finger. > >tcsh does really strange things.. it tries to >gethostbyname("192.9.200.1") and other wierd things. > >I like the idea of using the IP address if the full name wont fit, but >it's a bit annoying to see only some of the system understanding it. > >Would there be objections to me going through and fixing it? (ie: get >rlogind to generate the IP address in the same way that telnetd does, and >fix who,finger,tcsh etc so they understand it? Yes, I object. I would rather rip out the support in 'w'. This "feature" was ill conceived and ends up making 'w' appear to hang all the time when a nameserver is unreachable. This happens all the time on freefall and it is more than a bit annoying. We've gotten bug reports about it too. I would be willing to compromise, however. If you would like to make the lookup an option rather than the default, I would have no problem with this. 'w' has a -n option to disable the feature, but I hate the feature being the default. -DG