how to change scrolling distance in tty terms

Peter Garrett peter.garrett at
Wed Oct 8 04:10:47 UTC 2008

On Sat, 04 Oct 2008 18:00:33 -0400
David Curtis <dcurtis at> wrote:

> # define a bigger scrollback, default is 100 lines
> defscrollback 1024
> section. I am assuming that screen is already in place. But is it  in use?

You start screen with the command "screen" (without the quotes of

Commands sent to screen while it is running are prefixed with Crtrl + a

For example, to create a new "window" within your screen session, 
type ctrl+a then c (think c for create)

The man page for screen is the size of a book :) 
It uses C-a to mean "Ctrl+a"

A few hints:

C-a c           new window
C-a C-a         previous window ( think cd - )
C-a a           cursor to the line beginning ( equivalent to Ctrl+a in
a normal shell) 
C-a n           switch to NEXT window
C-a p           switch to PREVIOUS window
C-a N, where N is a number from 0 to 9, to switch to the corresponding
C-a "           show an interactive list of windows

C-a [           activate "copy mode" ( this enables the scroll back
C-a ]           to paste the text you selected above

C-a d	  Detach the screen session

A detached screen can be re-attached with "screen -r <name-or-number>
screen -ls   will show a list of available screens

Running "screen -S <some-session> will name the session so that you can
reattach more easily later. For instance:

screen -S editing
( detach with C-a d )
screen -r editing   will re-attach it...

Screen is a seriously helpful program - learning about it is well
worthwhile. A decent introduction is here:


"INX Is Not X" Live CD based on Ubuntu 8.04 :
Screenshots slideshow:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the ubuntu-users mailing list