I am using a mac (snow leopard). I am a ruby on rails developer and I watched a screencast on GNU screen and am trying it out. So far I like it.

On a window when I start server I get to see the log messages. However I can't seem to scroll up. I do get a scroll bar. However when I use the scroll bar and scroll up I don't see anything.

How do people use GNU screen and scroll up?

link|improve this question

50% accept rate
feedback

3 Answers

up vote 6 down vote accepted

There's a 'copy mode' in screen, activated by pressing, ctrl-A, then [ quickly. This gives you a cursor that you can use to scroll backwards.

link|improve this answer
Thanks that works. Is there a faster way to go up rather than just having the up arrow pressed. – Nadal May 7 '10 at 15:27
2  
@dorelal: The vim-like shortcuts Ctrl-U and Ctrl-D move up a half page and down a half page while in copy mode. Also, ESC will take you out of copy mode. – Trey Hunner May 7 '10 at 16:09
3  
@dorelal I usually use the other shortcut ctrl-A, then Esc quickly, to get into copy mode rather than [. It is easier for me to remember. – Dan May 7 '10 at 19:27
What's this quickly? It does not seem to matter how fast you do it... – Kevin Panko Aug 18 '10 at 15:11
@kevin: quite right, the "quickly" was meant to explicitly convey "not simultaneously". – Babu Aug 18 '10 at 17:09
feedback

Take a look at GNU Screen: Working with the Scrollback Buffer for a good introduction.

link|improve this answer
that was an awesome introduction. thanks mate. – Nadal May 7 '10 at 17:00
feedback

Add the following to your ~/.screenrc:

termcapinfo xterm ti@:te@
termcapinfo xterm-color ti@:te@

This will let you use the Terminal.app scrollbar instead of relying on screen's scrollback buffer.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.