Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!ucbarpa.Berkeley.EDU!leres From: leres@ucbarpa.Berkeley.EDU.UUCP Newsgroups: comp.windows.x Subject: Re: Small change to xterm (V10R4) Message-ID: <19240@ucbvax.BERKELEY.EDU> Date: Thu, 4-Jun-87 21:16:10 EDT Article-I.D.: ucbvax.19240 Posted: Thu Jun 4 21:16:10 1987 Date-Received: Sat, 6-Jun-87 10:07:23 EDT References: <1494.549836525@limbo.uci.edu> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: leres@ucbarpa.Berkeley.EDU (Craig Leres) Lines: 12 The "standard" version of wall writes to all tty's that have utmp entries. The Sun version is hacked so that it ignores pty's that don't have anything in the host field. So instead of adding a flag to completely skip the utmp code, I just added a simple test in main.c: + if (strcmp("unix:0", DisplayName()) != 0) (void) strcpy(utmp.ut_host, DisplayName()); (I never liked having "unix:0" in the utmp anyway; it was nice to find a legitimate reason for nuking it.) Craig