Juan Manuel Santos
2015-02-05 12:31:46 UTC
Hello!
I have been a tmux user for a couple of years now, and it is a central part of my work
nowadays :)
I recently started building a couple of new servers (I always use Gentoo for my
servers), and one of the first steps is to merge tmux and copy over my tmux.conf file.
What stroke me as odd is that on the new servers I can no longer use the enter key to
exit scroll mode. I have to use either Esc or 'q'. I googled around a bit and Enter was
never listed (at least officially) to do this, only Esc/q. However, I cannot for the life of
me understand why using the same tmux.conf on two different servers renders two
different behaviours.
My use flags are the same on both servers (vim-syntax disabled, but enabling it does
not have an effect), as well as tmux versions. I even checked ncurses too but it's
same versions and use flags on both servers. My TERM is xterm, which gets changed
to screen when inside tmux, and I'm accessing both servers via ssh. I even compared
the 'env' of both servers when inside tmux, but I could find nothing there that pointed
to the problem (I can provide both 'env' commands if needed)
I know that I could use Esc or q, but my muscle memory is already set to enter :p.
Also, I could bind the key but I don't know to what should I bind it to. Moreover, why
with an unbinded key in a config file, it behaves differently on two servers.
If anybody knows of a way to debug this to compare behaviour between different
servers I'd be happy to follow it. My tmux.conf file:
https://bpaste.net/show/cf949485a0df[1]
Thanks in advance and cheers!
I have been a tmux user for a couple of years now, and it is a central part of my work
nowadays :)
I recently started building a couple of new servers (I always use Gentoo for my
servers), and one of the first steps is to merge tmux and copy over my tmux.conf file.
What stroke me as odd is that on the new servers I can no longer use the enter key to
exit scroll mode. I have to use either Esc or 'q'. I googled around a bit and Enter was
never listed (at least officially) to do this, only Esc/q. However, I cannot for the life of
me understand why using the same tmux.conf on two different servers renders two
different behaviours.
My use flags are the same on both servers (vim-syntax disabled, but enabling it does
not have an effect), as well as tmux versions. I even checked ncurses too but it's
same versions and use flags on both servers. My TERM is xterm, which gets changed
to screen when inside tmux, and I'm accessing both servers via ssh. I even compared
the 'env' of both servers when inside tmux, but I could find nothing there that pointed
to the problem (I can provide both 'env' commands if needed)
I know that I could use Esc or q, but my muscle memory is already set to enter :p.
Also, I could bind the key but I don't know to what should I bind it to. Moreover, why
with an unbinded key in a config file, it behaves differently on two servers.
If anybody knows of a way to debug this to compare behaviour between different
servers I'd be happy to follow it. My tmux.conf file:
https://bpaste.net/show/cf949485a0df[1]
Thanks in advance and cheers!
--
Juan Manuel Santos <***@gmail.com>
Pubkey: www.vicarious.com.ar/~godlike/godlike64.at.gmail.dot.com.asc
--------
[1] https://bpaste.net/show/cf949485a0df
Juan Manuel Santos <***@gmail.com>
Pubkey: www.vicarious.com.ar/~godlike/godlike64.at.gmail.dot.com.asc
--------
[1] https://bpaste.net/show/cf949485a0df