[gentoo-user] screen / tmux wierdness
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
Re: [gentoo-user] screen / tmux wierdness
On Mon, Oct 06, 2014 at 04:26:43AM +0200, meino.cra...@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 waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] screen / tmux wierdness
2014-10-05 20:26 GMT-06:00 meino.cra...@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