[6898] in Athena Bugs
finger doesn't undo netascii
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Jan 15 12:08:42 1991
Date: Tue, 15 Jan 91 12:08:30 -0500
From: Mark Rosenstein <mar@MIT.EDU>
To: bugs@MIT.EDU
From: cadill@ATHENA.MIT.EDU
To: bug-dialup@ATHENA.MIT.EDU
Subject: 'more' bug?
Date: Sat, 12 Jan 91 00:47:01 EST
I've had a little problem with the 'more' program. When I 'more'
a weather report generated by a finger, ie:
finger weather@synoptic.mit.edu | more
whenever the screen pauses at the bottom, the following line is
subsequently erased upon pressing the space bar to continue. This
causes loss of vital information. Why am I losing lines???
-cadill aka Christopher Carrillo
----------------
Date: Sun, 13 Jan 91 22:30:24 -0500
From: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
To: bug-dialup@ATHENA.MIT.EDU
In-Reply-To: [868]
Subject: Re: 'more' bug?
Arguably, this is a bug in finger - fingerd goes though the trouble of
converting the output of local finger to "netascii" format, with cr/lf
pairs at the end of each line --- finger, upon receipt, does *not*
convert back. On the other hand, more seems to be pausing on the cr
for the line and then erasing it on the lf (this can be seen most
clearly by doing a remote finger to *anywhere* and piping it through
more, then hitting <return> at the more prompt, forcing it to go line
by line --- note that it loses *every* line.)
This is one of those "classic" problems that noone's ever
bothered to report as a bug...
_Mark_
ps. No, I did not cc cadill, since my explanation does not answer his
question...
----------------
Date: Tue, 15 Jan 91 12:06:02 -0500
From: Mark Rosenstein <mar@MIT.EDU>
Sender: mar@MIT.EDU
To: cadill@ATHENA.MIT.EDU
Cc: bug-dialup@ATHENA.MIT.EDU
In-Reply-To: cadill@ATHENA.MIT.EDU's message of Sat, 12 Jan 91 00:47:01 EST <9101120547.AA04420@e40-008-6.MIT.EDU>
Subject: 'more' bug?
You recently reported a problem with the command:
finger weather@synoptic.mit.edu | more
The problem is actually with finger, not more. I will forward your
report on to bugs@athena since it is a general problem, not just a
problem on the dialup servers. In the meantime, here is a workaround
for the problem. Use this command instead:
finger weather@synoptic | tr -d '\015' | more
The "tr" command will delete all carriage returns from the output of
the finger command.
-Mark