Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pager]

The tag has no usage guidance.

1
vote
2answers
57 views

navigating forward in more pager using f

It is given in the man page of more that f is used to skip forward k screenful of text(default to 1).I saved a very long file using cat and used more to show it on the screen page by page but when i ...
-2
votes
1answer
36 views

Unable to search a string using more pager

I opened a file using the more pager,i was trying to find a string in this file using / as shown in the figure below,but it is saying that pattern not found even though the string i have searched is ...
1
vote
1answer
79 views

man pages no longer rendering - lots of “permission denied” errors related to pager / vimpager

For reasons I can't determine, within the last two days the "man" command stopped working on my linux server (Ubuntu 18.04). When attempting to run man <anything> I end up at a blank instance ...
2
votes
1answer
805 views

changing default (man) pager

I'm working on Solaris 10, using bash. Want to change default pager from "more" to "less" (because "less is more" :). Tried to do the following: PAGER=less PS. When I do it in csh via setenv PAGER ...
2
votes
0answers
35 views

How can I keep colorful terminal output, but disable pagers

On macOS man uses the pager "/usr/bin/less -is" (see man's man page). When I type man , I see colorized output, and I like this. But, I prefer to use the terminal's find commands when using man, and ...
1
vote
3answers
106 views

Using 'less' to leave text on screen for small files

I'm pretty sure seeing this customization of the less command on some colleague system long ago, in order to imitate 'more'. What I want: If the file is short (less that one screen long), it should ...
0
votes
1answer
83 views

Lightweigtht pager with links?

Are there any pagers/readers/viewers for the use inside the Linux terminal that can follow links to the same page and different files (not necessarily on the net) which have an simpler markup language ...
1
vote
1answer
443 views

Jumping to end/beginning of line in “less -S”

The commonly used pager less can be started with the option -S, prevents it from breaking lines. One can then press the right and left arrow keys to scroll horizontally. Since the lines can be quite ...
8
votes
2answers
718 views

Is it possible to scroll beyond the end of a file in the less pager?

Is it possible to scroll past the bottom in less? Ideally, I'd like to be able to see the last line of the file I am viewing at the top of my terminal window (the rest of the screen may be filled ...
2
votes
1answer
61 views

Custom terminal with less

Currently I have this in my "~/.profile": export PAGER='env TERM=fox less' However I just realized that this only works with "man", and not if you do something like this: less /etc/DIR_COLORS to ...
4
votes
0answers
423 views

Change Search Highlight Color In Less

I am a bit lost here on customizing the search/find highlight color or font format if you will. I understand that using LESS_TERMCAP_* we can alter the font format of less display. Full capabilities ...
0
votes
1answer
72 views

How to configure the keybinddings of “most”, a pager in Linux

I've recently discovered the pager "most". most can make the manpages colorful and I like it. I want to change some of its bound keys and from the manpage of most I found out it's possible to do that. ...
0
votes
1answer
539 views

How to show desktop pager in KDE for one virtual desktop [closed]

I have KDE5 plasma and one virtual desktop. I tried to show desktop pager in panel for one virtual desktop, but without succesfull. In KDE4 I made change in script here '/usr/share/kde4/apps/plasma/...
0
votes
1answer
183 views

GRUB scrolls off top of screen

I'm entering commands at the GRUB2 prompt on Debian 9. If I run e.g. help or lsmod, there is more than one screens-worth of output, and it just scrolls off the top so I can only read the last screen. ...
0
votes
1answer
144 views

Bash always outputs to less, how can I turn this off?

After a recent update bash seems to always output to less, which is resulting in pagination for many commands. Does anyone know how to turn less off? Example output for systemctl status
0
votes
1answer
715 views

How to use terminfo to set colors for man and less?

I saw this question where the answerer uses termcap to define colors for less which then could be used for how man could be displayed. It said while termcap is obsolete, it's easier while terminfo is ...
35
votes
3answers
2k views

How do some tools (e.g. nano , less) manage to leave no content in terminals after exit? [duplicate]

Whenever I use a pager like less or an editor like nano in the shell (my shell is GNU bash), I see a behaviour I cannot explain completely and which differs to the behaviour I can observe with other ...
5
votes
2answers
390 views

Is there a interactive filter tool when paging output?

I would like to take the output from a program and interactively filter which lines to pipe to the next command. ls | interactive-filter | xargs rm For example, I have a list of files that a ...
1
vote
1answer
116 views

Should I set PAGER environment variable, alias or symbolic link?

I noticed that when using aliases, some programs launch pager directly (either from PATH or through PAGER). I'd like to define default pager for all cases, not just when I type the command. Should I ...
10
votes
1answer
578 views

Is there any way of changing most keybindings to something more familiar?

most pager is nice, but its default keybindings are unlike any other. As I don't want to learn a whole new set of keybindings for my pager (no matter how fancy and wonderful it is), is there any way ...
5
votes
2answers
582 views

Is there a graphical pager?

Does someone know of a GUI application (X/GTK+/Qt/whatever) that can be used instead of less or more for viewing text, specifically one piped in from standard input? Ideally looking for something that ...
1
vote
0answers
109 views

Set debugfs pager

I do not want pager to clear screen when using debugfs. Have tried things like, as per man for debugfs: export PAGER='less -FX' debugfs foo bar export DEBUGFS_PAGER='less -FX' debugfs foo bar ...
2
votes
2answers
147 views

How to get out of opened documents in the terminal?

I use to press CTRL+C, but there are some cases where this key combination doesn't work. E.g. if you open the perl docs: perldoc File::Path The documentation is presented on the terminal and I can't ...
0
votes
1answer
37 views

Kubuntu 15.10, pager appears twice

The desktop switcher on my taskbar appears twice, once on the left side, once on the right. Also I cannot position it anywhere I like. Does anyone know how I can delete one of the desktop switchers ...
2
votes
3answers
609 views

Does `less` or `more` support ansi escape `\x1b[2K` (erase_line)?

Basically I want to animate my terminal but because the text is too long, I need a pager. Let's just say I want to change my text colour periodically in less. Is it possible?
1
vote
1answer
750 views

Busybox pager with color capability?

I asked on Superuser about colors for git log in MobaXterm (on Windows), but it turned out that the problem wasn't MobaXterm—it's the lack of a -R flag in busybox's less. It would help my workflow ...
2
votes
2answers
163 views

How to change pager key bindings

I'd like to swap RETURN (scroll forward N lines, default one window) and SPACE (scroll forward N lines, default 1) in less to get a for me more natural way to page through man pages. I saw years ...
2
votes
1answer
52 views

Why does using rev as your man pager fail when piping it through rev again?

I recently thought about a devious trick that involves setting the PAGER envionment variable to rev as a joke. When I tried reading the man page for rev with man rev I then saw the man page in reverse ...
4
votes
1answer
741 views

How do I forbid access to physical memory in Linux?

I'm on an embedded system (Zynq from Xilinx. It uses ARMv7, Cortex-A9), and running Linux. I need to ensure that no access to a certain physical memory range is ever made, either accidentally by the ...
2
votes
0answers
30 views

Pager that would work with header-lines? [duplicate]

Is there any pager, like less, that would allow paging result, but keeping configurable number of lines at the top always? Example: I run a query that returns many rows from database. Results are ...
37
votes
2answers
14k views

Does less have a feature like tail --follow=name (-F)

The command less can be used to replace tail in tail -f file to provide features like handling binary output and navigating the scrollback: less +F file The + prefix means "pretend I type that ...
5
votes
4answers
3k views

Viewing man pages with scroll wheel support

I'd like to use the scroll wheel (xterm mouse escape codes) to scroll through man pages, like I can in emacs with xterm-mouse-mode. less doesn't seem to have support for that and short of recompiling ...
18
votes
3answers
4k views

Git pager is less, but what is causing the output coloring?

less itself isn't capable of doing syntax highlighting, according to this thread. However, git diff nicely shows colored output in less, its default pager. When I redirect the output of git diff ...
1
vote
0answers
140 views

man causes a broken pipe when using a pager other than less

I'm trying to write a simple script to format my man pages, but I've run into a broken pipe error. These lines both cause the error: env MANPAGER=cat man $foo man -P cat $foo and this is the script ...
11
votes
1answer
13k views

What is a pager?

I saw "pager" in several places: less is a terminal pager program on Unix option -P for man Specify which output pager to use. What is a pager? How is it related to and different from a ...
1
vote
2answers
1k views

Show two desktop pagers with different settings in KDE

I'm trying to set up a CentOS 6 system with KDE. I have an older system that use gnome that I'm happy with, and I'm trying to make the KDE system behave as much like the gnome one as possible. The ...
3
votes
2answers
846 views

Center Mutt pager horizontally

Is there a way to horizontally center emails when reading them in a larger terminal using mutt? I'm not interested in centered justification of the text in the email, but I am interested in forcing ...
3
votes
2answers
615 views

less freezes at last line when paging output from a running command

I have a CLI app that produces lots of debug output and I have a really big need to search in the output. I'm using less for that but it freezes when I reach the last line with j or G. And it returns ...
3
votes
1answer
406 views

How to get colours on man pages with w3m as a PAGER?

Is it possible, and if so how, to have colour/bold/italic characters in man pages while using w3m? Another pager (most) does have some limited colour support but is not as versatile as w3m. I know ...
17
votes
2answers
5k views

Case insensitive search in man pages

Is there a way to search man pages case-insensitively? Using the '/' search feature matches exact case.
5
votes
4answers
961 views

Shift-Space in less

In modern web browsers and other software with text content, Space scrolls down more or less a screenful. ShiftSpace scrolls up in everything but less. How can one use ShiftSpace to scroll up in less?...
45
votes
3answers
9k views

git diff displays colors incorrectly

In order to get coloured output from all git commands, I set the following: git config --global color.ui true However, this produces an output like this for git diff, git log whereas commands like ...
1
vote
2answers
175 views

How can I see output from a command progressively?

I have fired an ls -1 command that runs and displays a long list of values. When the command ends I can not see the output which is outside the screen vertical length. How can I see those previous ...
19
votes
5answers
4k views

How to scroll large datafile while keeping header

Suppose I have some large datafile, which overflow the screen in both vertical and horizontal direction. How can I browse this file, while the header-lines stay on the screen? For the moment, I am ...
4
votes
4answers
958 views

How to send all output to a pager by default?

git has a very nice feature for many of its commands: The output on an interactive terminal is passed to a pager by default, in such a way that it only keeps the pager open if there's more than one ...
3
votes
1answer
277 views

Using more command

Is there any case or reason to use "more" unix command instead of "less". As far as I see "less" is "better" in all senses, so does it mean that "more" is a command which has no reason to be used when ...
13
votes
5answers
2k views

pager program like less, able to repeat top N lines

Is there any way to make less program repeat first line (or first 2 lines) on every displayed page? Is there any other pager program which can do this? This would be a killer-app for database table ...
4
votes
2answers
219 views

Why do 'man' pages have many extra lines?

When I run the command: man fork There is a highlight line at the bottom that reads: Manual page fork(2) line 52/99 (END) But when I navigate to line 53 and up to 99, these are just blank lines. ...
2
votes
1answer
1k views

What is the `less` command line option to page to the next file at the end of the current one?

I'm sure there used to be an option in less which allowed you to page onto the next file after you reached the end of the current file, so you could just keep *space*ing through a bunch of short files ...
5
votes
1answer
249 views

Is there a pager that stops on form feeds?

Is there a pager that stops on form feeds? When I'm reading RFCs, I can read them like this: $ less -z57 rfc748.txt This will keep the pager lined up with the pages, but this is a bit of a hack, ...