7

I am using screen (http://www.gnu.org/software/screen/manual/screen.html) to access my minecraft console. I created a server in /etc/init.d, and have minecraft running in the background.

Then, to access the minecraft console, I just type # screen -r in bash.

I can now do commands in the screen shell. The problem is if I do some command which exports a bunch of text, it exceeds the size of the screen and pushes the begging output off the page. And I cannot seem to scroll up and see it.

How can I scroll back and view all the output? How can I pause the output (maybe something like more or less)?

1
  • 1
    Alt+PageUp and Alt+PageDown Nov 2, 2013 at 16:31

2 Answers 2

7

You can try:

  • Ctr-a [ and move up and down with the arrow keys, esc for exit.
  • <commamd> | less if you are in a regular bash terminal
3
  • Thanks Agomezl. Not a regular bash terminal, but screen. Ctr-a seems to be much used with screen, so I expect you are pointing me in the right direction. When trying control-a, I can do things like "d" to detach the screen, but the up and down arrow keys have no effect. Nov 2, 2013 at 19:51
  • 1
    is ctr-a + [ (note the open bracket) to enter in copy/scrollback mode, that should allow you move up and down with the arrow keys, and as I said esc for exit to regular mode.
    – Agomezl
    Nov 3, 2013 at 18:31
  • right on on the [. How should I have known that if not told by you? I did look at the screen documentation, but didn't see it. Thanks! Nov 5, 2013 at 6:55
1

Ctrl-A ? To get help.

CTRL-A ESC PGUP

Whether uppercase A or lowercase a depends on your system.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .