[net.news.b] vnews buglet

msc@qubix.UUCP (Mark Callow) (12/06/83)

There is a small bug in the virtterm.c part of vnews.  It thinks
that the "ts" field in a termcap entry is the sequence to send to a terminal
before entering "cursor mode".  It's really the 'ti' field.

This didn't show up till we converted to 4.2bsd which has added a "ts"
field to termcap for use by the "sysline(1) command.  (ts == to status line).
When vnews starts it outputs this sequence which results in the following
data being sent to the status line.

The fix is simple.  In virtterm.c, first change all occurences of TS to TI
then in initialisation of the string "sterm" change the ts to a ti.

It would have been nice if Berkeley had changed the termcap(5) documentation
but the 4.2 entry is the same old page as 4.1.
-- 
From the Tardis of Mark Callow
msc@qubix.UUCP,  decwrl!qubix!msc@Berkeley.ARPA
...{decvax,ucbvax,ihnp4}!decwrl!qubix!msc, ...{ittvax,amd70}!qubix!msc