Skip to main content

Questions tagged [pager]

4 votes
1 answer
754 views

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)", ...
dave559's user avatar
  • 451
3 votes
2 answers
410 views

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 &...
matan h's user avatar
  • 149
6 votes
4 answers
2k views

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 ...
mohamadi_arch's user avatar
2 votes
2 answers
2k views

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 ...
Yanjan. Kaf.'s user avatar
0 votes
3 answers
300 views

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 ...
Sergey Guzenkov's user avatar
0 votes
1 answer
138 views

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 ...
Zack's user avatar
  • 1
2 votes
1 answer
478 views

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: ...
ritratt's user avatar
  • 131
10 votes
1 answer
965 views

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 ...
Kusalananda's user avatar
  • 357k
0 votes
1 answer
408 views

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?
Mark Kang's user avatar
  • 975
1 vote
1 answer
185 views

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 ...
dpc.pw's user avatar
  • 121
1 vote
2 answers
2k views

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 ....
Casper's user avatar
  • 113
3 votes
1 answer
140 views

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 ...
xeruf's user avatar
  • 651
1 vote
1 answer
172 views

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>> ...
Anton Wessel's user avatar
1 vote
1 answer
635 views

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 ...
Martin Vegter's user avatar
3 votes
2 answers
924 views

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 ...
Jonathan Wheeler's user avatar

15 30 50 per page
1
2 3 4 5
7