Path: utzoo!mnetor!uunet!husc6!bbn!rochester!srs!matt From: matt@srs.UUCP (Matt Goheen) Newsgroups: comp.sources.bugs Subject: Re: rn pager bug Message-ID: <557@srs.UUCP> Date: 18 Jan 88 20:13:03 GMT References: <545@srs.UUCP> <444@taux01.UUCP> <556@srs.UUCP> Reply-To: matt@dash.UUCP (Matt Goheen) Organization: S.R. Systems, Rochester NY Lines: 25 In article <556@srs.UUCP> matt@srs.UUCP (I) write: >In article <444@taux01.UUCP> amos%taux01@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 - -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-