The pager tag has no wiki summary.
2
votes
1answer
93 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
74 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
182 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
140 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
276 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
160 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
238 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 ...
3
votes
1answer
68 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, ...
6
votes
5answers
764 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 ...
7
votes
1answer
3k 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
176 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
175 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
581 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 ...
4
votes
1answer
2k 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 ...
11
votes
4answers
2k 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 ...