Launch screen to enter screen session.
screen -h 800 Starts a new screen session and sets the number of lines in the scrollback buffer to 800. The default is 100 lines.
C-a SPACE (next) Advance to next window (with wraparound).
C-a C-a (other) Toggle between the current and previously displayed windows.
C-a 0 (select n) Switch to window n=0 ... 9. ... C-a 9
logout from shell will close the very screen. screen session is terminated if all screen session have been log out.
C-a ? (help) Show all keybindings.
C-a l (redisplay) Redraw this window.
C-a H (log) Log stdout of window n to screenlog.n.
C-a C-[ (copy) Start copy mode. Move cursor with h,j,k,l. Set 2 marks with SPACE or y. Abort with ESC. (C-[ is ESC.) Preceeding second mark with an a appends the text to the copy buffer.
C-a C-] (paste) Output copy buffer to current window's stdin.
C-a < (readbuf) Read the copy buffer from /tmp/screen-exchange. C-a > (writebuf) Write the copy buffer to /tmp/screen-exchange.
screen -list screen -ls screen -wipe
Show all available sessions and their status. Use -wipe to remove DEAD sessions.
documented on: 2000.06.09 Fri 16:43:18
Newsgroups: gmane.linux.debian.user Date: Fri, 20 Jun 2008
> > How can I cut and paste between screen terminals? (using the keyboard) > > ctrl-a ]
more specifically, use "ctrl-a [" to switch to copy mode. Then use the cursor keys to move to the text you want to select. Use the spacebar to mark the beginning of the selection, cursor keys to move to the end of the selection, and spacebar to mark the end of the selection. The selected text will be copied into the buffer. To paste this buffer, at the current insertion point in whatever screen you choose, use "ctrl-a ]".
Andrew Sackville-West @farwestbilliards.com