Public bug reported:
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,
** Affects: less (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121830
Title:
Keystrokes missing when using less to read a pipe
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/less/+bug/2121830/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs