how to change scrolling distance in tty terms
Peter Garrett
peter.garrett at optusnet.com.au
Wed Oct 8 04:10:47 UTC 2008
On Sat, 04 Oct 2008 18:00:33 -0400
David Curtis <dcurtis at uniserve.com> 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
course).
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
window.
C-a " show an interactive list of windows
C-a [ activate "copy mode" ( this enables the scroll back
buffer
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:
http://jmcpherson.org/screen.html
Peter
--
"INX Is Not X" Live CD based on Ubuntu 8.04 : http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081008/56c71166/attachment.sig>
More information about the ubuntu-users
mailing list