rn - A new and improved newsreader with an old name.

Guy Harris guy at sun.uucp
Fri May 10 16:16:04 AEST 1985


> The new 'rn' has a bug. On terminals where parity is used, the top bit
> of a character read in raw mode is set for parity....

The new 'rn' has another bug.  On terminals like a VT100 in smooth-scroll
mode where you *must* support XON/XOFF flow control, there is a good chance
that it will **** all over your screen under certain circumstances.

Fix: use CBREAK mode, not RAW mode.  CBREAK mode was put into UNIX
specifically for this kind of thing.  RAW is intended for binary data
transmission (UUCP's 'g' protocol uses it, for instance).  'rn' neither uses
the eighth bit of characters from terminals that can generate them nor the
XON or XOFF characters for any purpose, so it doesn't need to run in RAW
mode and shouldn't do so.

	Guy Harris



More information about the Comp.sources.bugs mailing list