screen: cut and paste

Daniel Dalton d.dalton at iinet.net.au
Sat Jun 21 09:17:02 UTC 2008


On Thu, Jun 19, 2008 at 05:38:43AM -0500, Tim Chase wrote:
>> Does anyone know how to cut and paste with screen?
>
> Unless you've changed the default escape-key from control+A or remapped 
> the keys for doing the copy/paste, you use
>
>   control+A  left-square-bracket ("[")
>
> to start "copy mode".  Within this, you can use most vi-key motions (and 
> perhaps the arrows too) to move to the place you want to start your copy. 
>  Press <space> to mark the beginning of the block to be copied.  Move the 
> cursor to the end of the block you want to copy and press <space> again 

That works, thanks.

>> And can it cut say a document in lynx that spreads over 3 pages?
>
> You can copy/paste each page individually, copy each page appending to 
> the internal clipboard, or if the text fits in less than the scroll-back 
> buffer in Screen, then you can dump the page (optionally slicing out what 
> you need) to the screen and then use the scroll-back buffer to pull it 
> out.

Oh ok, how do I append? Or did you say that already?

>
> Hope this helps,

It does thanks.

-- 
Daniel Dalton

http://members.iinet.net.au/~ddalton/
<d.dalton at iinet.net.au>




More information about the Blinux-list mailing list