The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
3answers
601 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
23 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
602 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
1answer
175 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
1answer
84 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
100 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
96 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 ...
3
votes
2answers
809 views

Case insensitive search in man pages

Is there a way to search man pages case-insensitively? Using the '/' search feature matches exact case.
4
votes
2answers
142 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 ...
14
votes
1answer
2k 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
114 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 ...
4
votes
4answers
301 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
184 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 ...
6
votes
4answers
527 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
179 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
471 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
120 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, ...
9
votes
6answers
5k 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 ...
13
votes
1answer
8k 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
243 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
230 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
958 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 ...
5
votes
1answer
3k 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 ...
26
votes
3answers
4k 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 ...