Path: utzoo!attcan!uunet!mitel!sce!cognos!dy4!paul From: paul@dy4.uucp (Paul Burry) Newsgroups: comp.unix.wizards Subject: Re: A few questions on the SysV shl program Message-ID: <148@dy4.UUCP> Date: 21 Nov 89 19:10:33 GMT References: <1989Nov14.145043.5428@investor.pgh.pa.us> Reply-To: paul@dy4.UUCP (Paul Burry) Organization: DY-4 Systems Inc. Nepean, Ont Can. Lines: 38 In article <1989Nov14.145043.5428@investor.pgh.pa.us> rbp@investor.pgh.pa.us (Bob Peirce #305) writes: > >1. Write doesn't work to a shl layer. We have a number of programs >to write to users and I would like to have them work when a user is in a >shl layer. Part of the problem is the who command shows sxt### instead >of tty##, but even a "write user tty##" fails. > >-- >Bob Peirce, Pittsburgh, PA 412-471-5320 >...!uunet!pitt!investor!rbp rbp@investor.pgh.pa.us I once worked around this bug in "write" by linking the special files in /dev/sxt/ to special files in /dev/. It seems that "write" didn't realize that the sxt??? devices recorded in /etc/utmp really refer to the special files /dev/sxt/???. ie. --------------------------- cut here ------------------------- : cd /dev/sxt for node in * do ln $node /dev/sxt$node done --------------------------- cut here ------------------------- Hope this helps, =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Paul Burry PHONE: (613)-596-9911 UUCP: ...!cognos!dy4!paul POST: Dy4 Systems Inc., 21 Fitzgerald Road, or ...!cognos!dy4!seu13!paul Nepean, Ontario, Canada K2H 9J4 -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Paul Burry PHONE: (613)-596-9911 UUCP: ...!cognos!dy4!paul POST: Dy4 Systems Inc., 21 Fitzgerald Road, or ...!cognos!dy4!seu13!paul Nepean, Ontario, Canada K2H 9J4