The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
14 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 ...
3
votes
1answer
20 views

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

most pager is nice, but it's default keybindings are unlike any others. 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 ...
1
vote
2answers
47 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
22 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
29 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 ...
0
votes
1answer
10 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 ...
1
vote
3answers
40 views

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

Basically I wanna animate my terminal but because the text is too long, I need a pager. Let's just say I wanna change my text colour periodically in less. Is it possible?
0
votes
1answer
72 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 ...
1
vote
2answers
60 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
31 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 ...
3
votes
1answer
132 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 ...
0
votes
0answers
29 views

Page Fault Frequency Algorithm - Compute number of frames and mean resident set

I'm reading about Page Fault Frequency algorithm but I don't understand how can I compute the number of frames. For example I have my reference string: 112233444412412214432255543 and control ...
2
votes
0answers
21 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 ...
6
votes
1answer
1k 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 ...
4
votes
4answers
686 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 ...
10
votes
3answers
2k 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
83 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 ...
5
votes
1answer
3k 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
604 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 ...
4
votes
2answers
248 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
233 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
166 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 ...
9
votes
2answers
2k 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
2answers
300 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 ...
28
votes
1answer
5k 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 ...
1
vote
2answers
146 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 ...
10
votes
5answers
1k 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
505 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
211 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 ...
7
votes
4answers
829 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
196 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 ...
2
votes
1answer
685 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 ...
4
votes
1answer
171 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, ...
14
votes
7answers
17k views

Looking at logs from bottom upwards

Is there a linux command or some way to look at logs from bottom up rather than from top towards bottom. I know about tail -n <number of lines>, but is there something that I can actually scroll ...
25
votes
1answer
14k views

How to make Vim display colors as indicated by color codes?

In short, I'm in an effort to replace less with vim (vimpager). I have settings for scripts to spit out colors (and bold and everything nice) whenever they can. less understands the color codes and ...
3
votes
1answer
298 views

`man ascii` is misaligned when using vim as a pager

To use Vim as a pager for man I have export MANPAGER="/usr/share/vim/vim73/macros/manpager.sh" in my profile. Now man pages look very good with colors and stuff. However, when trying man ascii as a ...
3
votes
1answer
266 views

ls pagination on MontaVista with BusyBox

I'm logged into an IP Phone running MontaVista with a very stripped down BusyBox binary (by stripped down, I mean the OEM has removed almost all of its functionality, except the basics like cat, ls ...
2
votes
3answers
2k views

Which systems have 'pager' shortcut/alias?

On a Debian system, one can type pager in order to use whatever pager program happens to be default/available. By default, less is used, and if not available, the lesser more gets to do the job. Is ...
6
votes
1answer
4k views

Why don't Page U/Down, Home/End work in less on Solaris over ssh from Ubuntu?

I need to work on a Solaris server over ssh from my Ubuntu (Lucid) laptop. I got Home/End Insert/Delete Page Up/Down working in csh and bash using bindkey and ~/.inputrc, respectively. But I can't ...
37
votes
3answers
9k views

Colors in Man Pages

When I look at a man page in my 'console' (not an xterm) I see some coloration, but I don't get this in my xterm's (e.g. konsole) is there any way I can enable this? hopefully a fairly simple ...