From owner-freebsd-hackers Sun Jul 16 08:44:54 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA28481 for hackers-outgoing; Sun, 16 Jul 1995 08:44:54 -0700 Received: from haywire.DIALix.COM (peter@haywire.DIALix.COM [192.203.228.65]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA28475 for ; Sun, 16 Jul 1995 08:44:43 -0700 Received: (from peter@localhost) by haywire.DIALix.COM (8.6.12/8.6.12/DIALix) id XAA16996; Sun, 16 Jul 1995 23:44:31 +0800 Date: Sun, 16 Jul 1995 23:44:31 +0800 (WST) From: Peter Wemm To: hackers@freebsd.org Subject: utmp ut_host field Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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? Cheers, -Peter