public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] screen / tmux wierdness
@ 2014-10-06  2:26 meino.cramer
  2014-10-06  3:24 ` Walter Dnes
  2014-10-06  4:23 ` Jc García
  0 siblings, 2 replies; 3+ messages in thread
From: meino.cramer @ 2014-10-06  2:26 UTC (permalink / raw
  To: Gentoo

Hi,

I have two computers: A small embedded system (beaglebone black)
running Gentoo with commandline interface and my PC running Gentoo
with X and using urxvt for commandline actions.

On both TERM is set to
xterm-256color
and both are using zsh as shell.

On the beaglebone black I cannot use tmux because C-b is not
recognized as command prefix.
On the PC I cannot use screen because C-a is not
recognized as command prefix.

I would like to have the choice on both system what terminal
multiplexer to use.



What can cause this weird behaviour? How can I fix it?



Thank you very much in advance for any help!
Best regards,
mcc




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

* Re: [gentoo-user] screen / tmux wierdness
  2014-10-06  2:26 [gentoo-user] screen / tmux wierdness meino.cramer
@ 2014-10-06  3:24 ` Walter Dnes
  2014-10-06  4:23 ` Jc García
  1 sibling, 0 replies; 3+ messages in thread
From: Walter Dnes @ 2014-10-06  3:24 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 06, 2014 at 04:26:43AM +0200, meino.cramer@gmx.de wrote
> Hi,
> 
> I have two computers: A small embedded system (beaglebone black)
> running Gentoo with commandline interface and my PC running Gentoo
> with X and using urxvt for commandline actions.
> 
> On both TERM is set to
> xterm-256color
> and both are using zsh as shell.
> 
> On the beaglebone black I cannot use tmux because C-b is not
> recognized as command prefix.
> On the PC I cannot use screen because C-a is not
> recognized as command prefix.
> 
> I would like to have the choice on both system what terminal
> multiplexer to use.
> 
> 
> 
> What can cause this weird behaviour? How can I fix it?

  That's usually controlled by the screenrc file.  Note that you can
have /etc/screenrc and separate ~/.screenrc for each user.  ~/.screenrc
should override /etc/screenrc.  If you don't have ~/.screenrc, screen
will default to /etc/screenrc.  If you want an instance of screen to
start with a nonstandard config file location, use..

screen -c <configfile>

 The setting to change, in whichever file you use, is...

#
# Set C-a as command prefix
escape ^Aa

#
# Set C-b as command prefix
escape ^Bb

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


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

* Re: [gentoo-user] screen / tmux wierdness
  2014-10-06  2:26 [gentoo-user] screen / tmux wierdness meino.cramer
  2014-10-06  3:24 ` Walter Dnes
@ 2014-10-06  4:23 ` Jc García
  1 sibling, 0 replies; 3+ messages in thread
From: Jc García @ 2014-10-06  4:23 UTC (permalink / raw
  To: gentoo-user

2014-10-05 20:26 GMT-06:00  <meino.cramer@gmx.de>:
> Hi,
>
> I have two computers: A small embedded system (beaglebone black)
> running Gentoo with commandline interface and my PC running Gentoo
> with X and using urxvt for commandline actions.
>
> On both TERM is set to
> xterm-256color
> and both are using zsh as shell.
>
> On the beaglebone black I cannot use tmux because C-b is not
> recognized as command prefix.
Change it to C-a then, I use that with tmux, this is what I have in my
.tmux.conf for that

unbind C-b
set -g prefix C-a

And if you sometimes nest a tmux in another tmux, say you have your
local computer tmux open and you ssh into another box in a tmux
window, then attach a remote tmux session to that window, you can send
the prefix key to the remote tmux using 'C-a a', this means to tmux
'send C-a to the program inside this window', this is also useful if
for some reason you have another program that uses the combination C-a
(or C-b for default configuration).

> On the PC I cannot use screen because C-a is not
> recognized as command prefix.
>
> I would like to have the choice on both system what terminal
> multiplexer to use.
>
I would say you only need tmux, it is superior, but that is personal choice.
>
>
> What can cause this weird behaviour? How can I fix it?
>
>
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
>
>
>


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

end of thread, other threads:[~2014-10-06  4:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-06  2:26 [gentoo-user] screen / tmux wierdness meino.cramer
2014-10-06  3:24 ` Walter Dnes
2014-10-06  4:23 ` Jc García

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