public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gnu screen - copy'n'paste
@ 2014-10-27 17:03 meino.cramer
  2014-10-27 18:56 ` Canek Peláez Valdés
  2014-10-27 19:01 ` Alan McKinnon
  0 siblings, 2 replies; 6+ messages in thread
From: meino.cramer @ 2014-10-27 17:03 UTC (permalink / raw
  To: Gentoo

Hi,

I am using screen to log into my beaglebone embedded computer, which
runs Gentoo (of course!) like this:

    ssh -t root@192.168.178.27 screen -R -d

. This makes it possible to detach the terminal and shutdown the PC,
while the beagle still runs processes...

BUT:
Unfortunately I cannot copy and paste things from my PC to a started
session like the way described above.

What is the problem here? ssh? screen? Or...simply my (mis-)
understanding of the whole thing ?

Best regards,
mcc





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gnu screen - copy'n'paste
  2014-10-27 17:03 [gentoo-user] gnu screen - copy'n'paste meino.cramer
@ 2014-10-27 18:56 ` Canek Peláez Valdés
  2014-10-27 23:09   ` meino.cramer
  2014-10-27 19:01 ` Alan McKinnon
  1 sibling, 1 reply; 6+ messages in thread
From: Canek Peláez Valdés @ 2014-10-27 18:56 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 27, 2014 at 11:03 AM,  <meino.cramer@gmx.de> wrote:
> Hi,
>
> I am using screen to log into my beaglebone embedded computer, which
> runs Gentoo (of course!) like this:
>
>     ssh -t root@192.168.178.27 screen -R -d
>
> . This makes it possible to detach the terminal and shutdown the PC,
> while the beagle still runs processes...
>
> BUT:
> Unfortunately I cannot copy and paste things from my PC to a started
> session like the way described above.
>
> What is the problem here? ssh? screen? Or...simply my (mis-)
> understanding of the whole thing ?

What do you mean by "copy and paste"? C-k/C-y in the console?
C-S-c/C-S-v in an X terminal like gnome-terminal? Select by the mouse
and then middle click?

Regards.
-- 
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gnu screen - copy'n'paste
  2014-10-27 17:03 [gentoo-user] gnu screen - copy'n'paste meino.cramer
  2014-10-27 18:56 ` Canek Peláez Valdés
@ 2014-10-27 19:01 ` Alan McKinnon
  1 sibling, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2014-10-27 19:01 UTC (permalink / raw
  To: gentoo-user

On 27/10/2014 19:03, meino.cramer@gmx.de wrote:
> Hi,
> 
> I am using screen to log into my beaglebone embedded computer, which
> runs Gentoo (of course!) like this:
> 
>     ssh -t root@192.168.178.27 screen -R -d
> 
> . This makes it possible to detach the terminal and shutdown the PC,
> while the beagle still runs processes...
> 
> BUT:
> Unfortunately I cannot copy and paste things from my PC to a started
> session like the way described above.
> 
> What is the problem here? ssh? screen? Or...simply my (mis-)
> understanding of the whole thing ?


How are you doing the copy-paste actions?

Read up on Ctrl-a [ (copy) and Ctrl-a ] (paste), it's quite well
described in screen's man page



-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gnu screen - copy'n'paste
  2014-10-27 18:56 ` Canek Peláez Valdés
@ 2014-10-27 23:09   ` meino.cramer
  2014-10-28  1:20     ` Canek Peláez Valdés
  0 siblings, 1 reply; 6+ messages in thread
From: meino.cramer @ 2014-10-27 23:09 UTC (permalink / raw
  To: gentoo-user

Canek Peláez Valdés <caneko@gmail.com> [14-10-27 22:56]:
> On Mon, Oct 27, 2014 at 11:03 AM,  <meino.cramer@gmx.de> wrote:
> > Hi,
> >
> > I am using screen to log into my beaglebone embedded computer, which
> > runs Gentoo (of course!) like this:
> >
> >     ssh -t root@192.168.178.27 screen -R -d
> >
> > . This makes it possible to detach the terminal and shutdown the PC,
> > while the beagle still runs processes...
> >
> > BUT:
> > Unfortunately I cannot copy and paste things from my PC to a started
> > session like the way described above.
> >
> > What is the problem here? ssh? screen? Or...simply my (mis-)
> > understanding of the whole thing ?
> 
> What do you mean by "copy and paste"? C-k/C-y in the console?
> C-S-c/C-S-v in an X terminal like gnome-terminal? Select by the mouse
> and then middle click?
> 
> Regards.
> -- 
> Canek Peláez Valdés
> Profesor de asignatura, Facultad de Ciencias
> Universidad Nacional Autónoma de México
> 

I mean the UNIX classic, not the Windows stuff:
Mouse Left: Select/Copy
Mouse Middle: paste




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gnu screen - copy'n'paste
  2014-10-27 23:09   ` meino.cramer
@ 2014-10-28  1:20     ` Canek Peláez Valdés
  2014-10-28  3:54       ` meino.cramer
  0 siblings, 1 reply; 6+ messages in thread
From: Canek Peláez Valdés @ 2014-10-28  1:20 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 27, 2014 at 5:09 PM,  <meino.cramer@gmx.de> wrote:
> Canek Peláez Valdés <caneko@gmail.com> [14-10-27 22:56]:
>> On Mon, Oct 27, 2014 at 11:03 AM,  <meino.cramer@gmx.de> wrote:
>> > Hi,
>> >
>> > I am using screen to log into my beaglebone embedded computer, which
>> > runs Gentoo (of course!) like this:
>> >
>> >     ssh -t root@192.168.178.27 screen -R -d
>> >
>> > . This makes it possible to detach the terminal and shutdown the PC,
>> > while the beagle still runs processes...
>> >
>> > BUT:
>> > Unfortunately I cannot copy and paste things from my PC to a started
>> > session like the way described above.
>> >
>> > What is the problem here? ssh? screen? Or...simply my (mis-)
>> > understanding of the whole thing ?
>>
>> What do you mean by "copy and paste"? C-k/C-y in the console?
>> C-S-c/C-S-v in an X terminal like gnome-terminal? Select by the mouse
>> and then middle click?
>>
>> Regards.
>> --
>> Canek Peláez Valdés
>> Profesor de asignatura, Facultad de Ciencias
>> Universidad Nacional Autónoma de México
>>
>
> I mean the UNIX classic, not the Windows stuff:
> Mouse Left: Select/Copy
> Mouse Middle: paste

That's implemented by your terminal program, AFAIU. It should not
matter what machine do you connect to, the other side should not even
be aware about the selected text, and when you past it with
middle-click, it should receive it like normal keyboard strokes.

What does "echo $TERM" says in the beaglebone?

Regards.
-- 
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] gnu screen - copy'n'paste
  2014-10-28  1:20     ` Canek Peláez Valdés
@ 2014-10-28  3:54       ` meino.cramer
  0 siblings, 0 replies; 6+ messages in thread
From: meino.cramer @ 2014-10-28  3:54 UTC (permalink / raw
  To: gentoo-user

Canek Peláez Valdés <caneko@gmail.com> [14-10-28 02:24]:
> On Mon, Oct 27, 2014 at 5:09 PM,  <meino.cramer@gmx.de> wrote:
> > Canek Peláez Valdés <caneko@gmail.com> [14-10-27 22:56]:
> >> On Mon, Oct 27, 2014 at 11:03 AM,  <meino.cramer@gmx.de> wrote:
> >> > Hi,
> >> >
> >> > I am using screen to log into my beaglebone embedded computer, which
> >> > runs Gentoo (of course!) like this:
> >> >
> >> >     ssh -t root@192.168.178.27 screen -R -d
> >> >
> >> > . This makes it possible to detach the terminal and shutdown the PC,
> >> > while the beagle still runs processes...
> >> >
> >> > BUT:
> >> > Unfortunately I cannot copy and paste things from my PC to a started
> >> > session like the way described above.
> >> >
> >> > What is the problem here? ssh? screen? Or...simply my (mis-)
> >> > understanding of the whole thing ?
> >>
> >> What do you mean by "copy and paste"? C-k/C-y in the console?
> >> C-S-c/C-S-v in an X terminal like gnome-terminal? Select by the mouse
> >> and then middle click?
> >>
> >> Regards.
> >> --
> >> Canek Peláez Valdés
> >> Profesor de asignatura, Facultad de Ciencias
> >> Universidad Nacional Autónoma de México
> >>
> >
> > I mean the UNIX classic, not the Windows stuff:
> > Mouse Left: Select/Copy
> > Mouse Middle: paste
> 
> That's implemented by your terminal program, AFAIU. It should not
> matter what machine do you connect to, the other side should not even
> be aware about the selected text, and when you past it with
> middle-click, it should receive it like normal keyboard strokes.
> 
> What does "echo $TERM" says in the beaglebone?
> 
> Regards.
> -- 
> Canek Peláez Valdés
> Profesor de asignatura, Facultad de Ciencias
> Universidad Nacional Autónoma de México
> 

TERM is set to xterm-256color, which is the TERM setting, which 
I use on my PC Gentoo-Linux also.
Copying text from terminal to terminal on my PC only does not
create any problems...

Mysterious...

Best regards,
mcc




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-28  3:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-27 17:03 [gentoo-user] gnu screen - copy'n'paste meino.cramer
2014-10-27 18:56 ` Canek Peláez Valdés
2014-10-27 23:09   ` meino.cramer
2014-10-28  1:20     ` Canek Peláez Valdés
2014-10-28  3:54       ` meino.cramer
2014-10-27 19:01 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox