debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #06495
[Bug 2121830] Re: Keystrokes missing when using less to read a pipe
I cannot reproduce locally so far.
Did you try to reproduce as root using the same LESS environment
variable?
Also, can you try using a non-sudo command, e.g. `curl
https://ubuntu.com/ | less` ?
** Changed in: less (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to less in Ubuntu.
https://bugs.launchpad.net/bugs/2121830
Title:
Keystrokes missing when using less to read a pipe
Status in less package in Ubuntu:
Incomplete
Bug description:
I have a pretty peculiar problem. I execute `sudo dmesg|less` and when
I try to search something in the result, using /, I got missed
keystrokes when I'm typing the word I want to search for, like
'iwlwifi'.
A simple `sudo dmesg|less` doesn't work as should, but `sudo
dmesg|gnustdbuf -i0 -o0 -e0 less` works, no missing keystrokes.
Other command that has problems is `sudo dmesg|gnustdbuf -oL -eL
less`.
I found out if I become root using sudo and type `dmesg|less`, the
problem doesn't occur, so maybe it's something related to pipe
buffering in the normal user mode, but root user doesn't have such
problem.
I'm using Zsh, but it also happens with Bash, when I'm not root and
need to use sudo.
At first I thought it was a kernel problem, but I tested with 6.17,
6.16, 6.15 and 6.14 (I'm using Questing), so maybe it's related to the
less version, pending test.
Anyone can thing anything related to buffering?
This is the content of my config env variable.
➜ echo $LESS
j.25MqRSW#.25
Thanks,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/less/+bug/2121830/+subscriptions
References