Copy paste keys for crosh

1,056 views
Skip to first unread message

CqN on cr-48@devChan-0.11.227.0

unread,
Mar 8, 2011, 1:03:36 PM3/8/11
to Cr-48 Test Pilots
Crosh shell of course has no gui. So the usual copy paste does not
work there. For me mouse swipe high light still works there.

Is there any short cut keys enabled in that shell so text (either
highlighted or otherwise, from the visible text above the command
line) can be copied and pasted into the command line? When using vi
and such, of course, they have their own c/p shortcuts. I wonder if
the copy paste can be enabled with some settings for the underlying
bash? My q. comes from lack of extensive experience is using bash.

CqN

Todd Vierling

unread,
Mar 8, 2011, 4:29:29 PM3/8/11
to cr-48-te...@googlegroups.com
It's not bash, but the way X-Windows terminals work, by use of two types of copy buffers: "Selection" and "Clipboard".

Text you select -- in any application, terminal, browser, whatever -- immediately goes into the "Selection" buffer. The text in the "Selection" buffer can be pasted anywhere by means of a middle mouse button click, which on the Cr-48's trackpad is a three finger click.

Text that is copied using Ctrl-C/V/etc. in graphical applications goes into the "Clipboard" buffer, which is not accessible from the crosh terminal.

CqN on cr-48@devChan-0.11.227.0

unread,
Mar 8, 2011, 8:02:08 PM3/8/11
to Cr-48 Test Pilots
Thanks, it is good to know. Yes both mid click on my mouse and 3
finger click on the pad works...

On Mar 8, 1:29 pm, Todd Vierling <t...@duh.org> wrote:
> On Tuesday, March 8, 2011 1:03:36 PM UTC-5, CqN on...@devChan-0.11.227.0
> wrote:
>
>
>
> > Crosh shell of course has no gui.  So the usual copy paste does not
> > work there.  For me mouse swipe high light still works there.
>
> > Is there any short cut keys enabled in that shell so text (either
> > highlighted or otherwise, from the visible text above the command
> > line) can be copied and pasted into the command line?  When using vi
> > and such, of course, they have their own c/p shortcuts.  I wonder if
> > the copy paste can be enabled with some settings for the underlying
> > bash?  My q. comes from lack of extensive experience is using bash.
>
> It's not bash, but the way X-Windows terminals work, by use of two types of
> copy buffers: "Selection" and "Clipboard".
>
> Text you select -- in any application, terminal, browser, whatever --
> immediately goes into the "Selection" buffer. The text in the "Selection"
> buffer can be pasted anywhere by means of a middle mouse button click, which
> on the Cr-48's trackpad is a *three* finger click.
Reply all
Reply to author
Forward
0 new messages