TIOCSTI t_lnextc: safe?
der Mouse
mouse at mcgill-vision.uucp
Fri Dec 22 02:27:31 AEST 1989
I have a program that sometimes wants to use TIOCSTI to stuff back the
literal-next character, to quote the next character the user types.
This works fine on real BSD. However, when I try the same program on
Suns, it sometimes works (release 3.5) and sometimes doesn't (release
4.0.3). When it fails, the TIOCSTI results in the literal-next
character itself being read, rather than the next character the user
types. (As if the lnextc quoted itself when TIOCSTIed.)
What I want to know is, am I wrong in expecting this to work? In other
words, is the misbehavior under Sun release 4.0.3 a Sun bug or me
expecting too much?
(If anyone knows of a simple fix, I'd love to hear about it.)
der Mouse
old: mcgill-vision!mouse
new: mouse at larry.mcrcim.mcgill.edu
More information about the Comp.unix.wizards
mailing list