rn pager bug

Matt Goheen matt at srs.UUCP
Tue Jan 19 06:13:03 AEST 1988


In article <556 at srs.UUCP> matt at srs.UUCP (I) write:
>In article <444 at taux01.UUCP> amos%taux01 at nsc.com (Amos Shapir) writes:
>>Anyway, after making a few tests I found the culprit: it's the tty driver!
>>
>>When in -tabs mode, it tries to expand tabs to blanks; it receives from
>
>'rn' almost works as is, except that rn prints out the "ce" string just
>before it continues after a prompt (with the actual text).  Putting in an
>extra carriage return should solve the problem and not create any more.

This works fine.  There are two files that need to be touched.  One is
"art.c" and the other is "term.c".  Basically, every time you see a
"erase_eol()" line, add a line following it "carriage_return()".
There are about six places this occurs.  Since the line preceding the
"erase_eol()" is always a "carriage_return()" anyway, you're pretty
much assured that this won't create any problems.

As far as I can tell, there is no way to fix this in the terminal driver
unless you add termcap support in the driver (hah!) since that is where
the terminal specific escape codes reside...
-- 
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
- UUCP:	{allegra,rutgers,ames}!rochester!srs!matt	Matt Goheen 	-
- 	"Stay out of trouble."				S.R. Systems	-
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-



More information about the Comp.sources.bugs mailing list