Questions tagged [pager]

20 questions
57
votes
3 answers

How do I exit the systemctl status command's output?

How does one go about getting the command line prompt back after using the systemctl status command? The command appears to succeed as it displays the status information of the requested service. However, the terminal appears to lock up after using…
Brian Ankeny
  • 673
  • 1
  • 5
  • 4
30
votes
2 answers

What is the default PAGER used by man pages?

What is the default PAGER used by man pages. I,e what is the program runs the man pages? It look some like more or less. I'm sure it's not more since more doesn't support reverse backward.
Maythux
  • 87,123
15
votes
3 answers

After viewing logs with journalctl, how do I exit the screen that says "lines 1-2/2 (END)"?

When you use the command journalctl -p err -b for example, you get an answer that ends with "END". What command do I use to end this and get the opportunity to enter the next command without having to close the window and open a new one? erik@server…
Skalman65
  • 221
13
votes
1 answer

Set PostgreSQL pager to less?

I'm trying to get my psql pager output to look nicer. I've added the following to my ~/.bashrc export PAGER='less -S' And I've added these line to my ~/.psqlrc \x auto \pset pager on \setenv PAGER less Current output: Desired output:
8
votes
1 answer

man doesn't display anything after package installation with conda on Ubuntu 17.10

When I try to get the manpages with man it seems to display nothing and behaves as though I just pressed enter ~$ man ls ~$ man man I have tried solutions from these pages to no avail question1 question2. This last question matches my condition…
Abhilash
  • 161
5
votes
1 answer

All manpages broken

I can't use manpages. The manpages don't display anything. Looks like an empty vi file every time. I tried reinstalling man-db and reinstalling perl. It didn't work. It seems that my man database is broken. I even can't try and open a manpage…
5
votes
3 answers

How to change manpage pager

I am running Ubuntu GNOME 15.04 with GNOME 3.16 and my current default pager for man is less (I think), but I would like to change it to something else like more, does anyone know how this could be achieved?
user364819
4
votes
1 answer

No output from some paginated commands (man, git log)

Something has gone wrong with both the man and git log commands on my Ubuntu system over the holidays. Neither produce any output, and I have no clues as to what the issue is, bar that they both should produce paginated commands. An example is…
Eoin
  • 143
3
votes
2 answers

How to open a new terminal, execute a process in that terminal and pipe to the process?

What I'd like to do basically is a new-window version of less. Long ago there was a tool called gless which did exactly that. For example cat my_very_long_file | gless would open a new window and run a less-like pager showing my very long file; the…
3
votes
1 answer

colors of bold section in man pages

After upgrade to 16.04 I hit the issue with colors of some sections in man pages e.g. color of bold is black and when I read man pages in terminal with black background there is no possibility to see those sections(as their color is black too). My…
1
vote
2 answers

Fastest editor/pager for text search

I have a 4.6GB text file that I need to search through. Surprisingly grep is fairly fast, but I need to be able to scroll around the file after searching for specific text. Less would normally be my tool of choice but it is slow as molasses for…
1
vote
3 answers

What is the PAGER used by info pages?

When typing the command info you get a long output with header as: File: dir, Node: Top This is the top of the INFO tree This (the Directory node) gives a menu of major topics. Typing "q" exits, "?" lists all Info commands, "d"…
Maythux
  • 87,123
1
vote
1 answer

more or less pager - how to quit

Idiotic question of the day On Ubuntu 12.04 server console, I've run an apt-get update followed by an apt-get upgrade Everything was going swimmingly; when it got to MySQL, it warned me it was about to overwrite the my.conf file which I had…
1
vote
1 answer

How to set Vi key bindings for man pages

How can I set J/K keys to go up and down in manpages? In less the keys work, but for some reason, manpages have configured J to be used for go to line. So when I accidentally press J, I am always taken to the go to line: prompt. Is there any way to…
Vaisakh K M
  • 157
  • 6
1
vote
1 answer

System V "pg" command

I am an old System V guy, and I finally got around to setting up a Linux box, using Ubuntu, of course. One of the first things I noticed was missing is the "pg" command. The web tells me that it is available as part of the "util-linux" package.…
1
2