A few questions on the SysV shl program
Paul Burry
paul at dy4.uucp
Wed Nov 22 06:10:33 AEST 1989
In article <1989Nov14.145043.5428 at investor.pgh.pa.us> rbp at 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 at 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
More information about the Comp.unix.wizards
mailing list