If i do a "less file" on xterm i get strange ANSI codes output, instead
of the proper output.
If i do "cat file | less" the output is correct.
Once on a big file i used <ctrl-C> before less finished to load the file
and the output seemed to be correct.
If i change the terminal to xterm-24, or vt100, or ansi i see the right
This bug and bug 10397 are the same as bug 9443.
I observe in 6.2 and having defined TERM=vt100; export TERM, that less
<filename> only echoes the lines I added to /etc/bashrc and then displays END.
The command cat <filename> | less, however, does work.
Taking a RedHat 6.1 and upgrading only the 'less' package it works. The RH6.2
for which i reported the bug is a full installation.
Regarding the other comment less doesnt make you see only the lines you added,
but it lets you see old lines that passed on the xterm.
*** This bug has been marked as a duplicate of 9443 ***