You are not logged in.

#1 2022-05-03 09:04:28

null
Member
Registered: 2009-05-06
Posts: 398

[solved] Systemd pager prints all input

I did some system maintenance yesterday I had to use `systemctl --no-pager` all the time as the pager / less cannot be interacted with. Instead all input is just printed at the bottom of the terminal. I.e. `j` or `^[OB` is printed if I try to navigate down via `j` or the arrow down key. I cannot say since when this is the case. The only thing still working is `ctrl+c`.

I have neither $SYSTEMD_PAGER nor $SYSTEMD_LESS set, and even if I set them to their default values ("less" and "FRSXMK") nothing changes.
This behavior is terminal agnostic (I have confirmed it in termite, gnome-terminal and on the tty). If I use less directly, everything works as expected.
I've verified with `ps` the the used pager really is less. The problem exist as the regular user and as root.

Last edited by null (2022-05-03 15:16:14)

Offline

#2 2022-05-03 09:35:06

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: [solved] Systemd pager prints all input

Does it happen as well if you switch to a different shell (e.g. bash to zsh/zsh to bash)?


RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#3 2022-05-03 10:30:59

null
Member
Registered: 2009-05-06
Posts: 398

Re: [solved] Systemd pager prints all input

Yes, same result with bash, dash and zsh

Offline

#4 2022-05-03 12:40:42

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [solved] Systemd pager prints all input

Does it happen under

env -i bash --norc

Offline

#5 2022-05-03 15:16:03

null
Member
Registered: 2009-05-06
Posts: 398

Re: [solved] Systemd pager prints all input

No, it doesn't. Thanks a lot. I could locate the problem to a broken perl package in my $PATH I completely forgot I had installed..

Offline

Board footer

Powered by FluxBB