Questions tagged [pager]
The pager tag has no summary.
98 questions
4 votes
1 answer
754 views
How do I stop 'more' from stopping and displaying "(END)" at the end of files in Debian 12 (bookworm)?
Since upgrading to Debian 12 (bookworm), the more command seems to have been changed and now comes to a stop when you reach the end of the file you are viewing and then displays "(END)", ...
3 votes
2 answers
409 views
how to alias the `history` function in fish shell
I'm trying to set the fish history pager to be bat -l fish for syntax highlighting. (i.e. set the PAGER environment variable bat -l fish just for the history command). I tried: # 1: alias history &...
6 votes
4 answers
2k views
How do I add line numbers to the man page?
How can I add line numbers to man pages or info pages in Linux? I want to use line numbers to navigate in man pages. I can write the man page in a file and then open it with Vim, but is there a better ...
2 votes
2 answers
2k views
How do I change the PAGER variable for man if it's possible?
I'm not an expert in Linux, but I was reading an introductory book and found that man pages use the PAGER environment variable to show the content of man pages. I checked printenv and didn't find any ...
0 votes
3 answers
300 views
open man (or info) pages from the same position where you left off last time
I treat man pages is the primary source of documentation about installed software. I would like to use them not only as a reference, but actually read them from beginning to end. And here comes the ...
0 votes
1 answer
137 views
mkfs.xfs completely ignoring "|more" redirect
trying to install gentoo linux and can't format the drive with xfs because when I run mkfs.xfs /dev/sda3 it throws an error and then displays help, but the help is so big that it takes up the entire ...
2 votes
1 answer
477 views
Oh-my-zsh deletes output of successful command with "FAIL: 141"
My Oh-my-zsh does the following: When I run the git log --pretty --oneline command, it shows me a long list of commits, as expected. As soon as I hit q, it suddenly disappears with the below output: ...
10 votes
1 answer
965 views
Issue viewing compressed file with "zless", but not with "zmore" or "gunzip -c"
On my FreeBSD 13.2 system, the zless utility cannot view text files compressed with gzip or compress, warning that they may be binary files and then showing garbage if I say I want to see the contents ...
0 votes
1 answer
408 views
Any 'cat' colorized tool? [duplicate]
I sometimes cat a c file or a JSON file, there is no colorful format text. Is there any command line tool that can show colorful format text as it is in ex: gedit?
1 vote
1 answer
185 views
Any CLI pager that display full-screen optionaly (when prompted to)?
I've been using less forever now, and there's one thing I wish it was doing differently. When I do git log --pretty=oneline --abbrev-commit it switches to full-screen immediately (as the output is ...
1 vote
2 answers
2k views
Systemd `journalctl` - Unable to change default $PAGER
I'm on Arch Linux. I came across some new pager software called OV and installed it. It has more features than less and I like it so I want to set it as my default pager. I added the following to my ....
3 votes
1 answer
139 views
Scroll to the end in less without stretching out single-page input
When I pipe something into less --quit-if-one-screen +G (alias -F +G), less opens and scrolls to the end if the output exceeds the terminal size. Unfortunately, it also scrolls to the end before ...
1 vote
1 answer
172 views
less option "--save-marks" does nothing when less is used as a manual pager
I use less version 590 (GNU regular expressions). I use export LESSFILE="/root/.lesshst_for_manpages" export MANPAGER="pager --save-marks -I" man -L en <<somemanpage>> ...
1 vote
1 answer
634 views
simplest possible pager
In mc (midnight commander), I can define custom command for viewing files, ie: shell/i/.jpg Open=gpicview %f View=file %f | less The command file %f has to be piped to a pager. I am using ...
3 votes
2 answers
924 views
How to pipe a man page (without pagination) while intentionally preserving formatting?
Minimal example: man git | cat Real example: man git | grep --color=always -C 3 "pathspec" FWIW, I've tried --pager="cat" using various pagers, as well as piping to various ...