I love the pipe to feed long text output into less
(or more
) to make it more readable. It's only on Ubuntu that i observed a uncommon behavior: Sometimes in less keystrokes are not processed immediately. It's like i have to "confirm" them with <ENTER>
. For example less opens, text is displayed, i hit <SPACE>
(nothing happens), i hit <ENTER>
(page scrolls down now). This is very annoying, as it makes less practically unusable because the also messes up the terminal output.
It doesn't happen for all piped commands. One example is:
php --rc PDO | less
I've never seen this happen on any other Linux distribution.
less
misbehaving while receiving data on a pipe; but working fine if I instead dumped the output to a file and then ranless
on it. RedirectingSTDIN
to/dev/null
as you said fixed the problem for me and now I can happily pipe again :) – zenzelezz Dec 14 '11 at 10:47