Re: home keys in tmux

2015-12-03 Thread Ted Unangst
Brian Conway wrote: > Spending a little time with 'cat -v', I ended up with the following > non-.tmux.conf approach to making home/end happy in tmux with an > otherwise-unmodified ksh shell: > > bind '^[[1~'=beginning-of-line > bind '^[[4~'=end-of-line > > It doesn't appear to break normal

Re: home keys in tmux

2015-12-02 Thread Ax0n
Do you have anything in your .tmux.conf? On Wed, Dec 2, 2015 at 6:42 AM, Ted Unangst wrote: > When i push home at a ksh prompt in xterm, the cursor goes to the > beginning of > the line. When i do the same in tmux, nothing happens. > > TERM in xterm is xterm. TERM in tmux

Re: home keys in tmux

2015-12-02 Thread Giancarlo Razzolini
Em 02-12-2015 10:42, Ted Unangst escreveu: > How do i fix this? (Why do i need to fix it?) Coincidentally, I saw that same question asked today on IRC and it wasn't even on OpenBSD. The OP changed it by setting TERM to xterm-256 if I'm not mistaken. And he also nailed it down to the fact that the

Re: home keys in tmux

2015-12-02 Thread Ted Unangst
Ax0n wrote: > Do you have anything in your .tmux.conf? No, don't have one. (i don't want one)

Re: home keys in tmux

2015-12-02 Thread Ted Unangst
Giancarlo Razzolini wrote: > Em 02-12-2015 10:42, Ted Unangst escreveu: > > How do i fix this? (Why do i need to fix it?) > Coincidentally, I saw that same question asked today on IRC and it > wasn't even on OpenBSD. The OP changed it by setting TERM to xterm-256 > if I'm not mistaken. And he also

Re: home keys in tmux

2015-12-02 Thread Jack J. Woehr
Ax0n wrote: Do you have anything in your .tmux.conf? Ha, I have a funny problem in tmux that thwarts me. I changed the prefix key to C-a but the sequence C-a C-a doesn't work like C-b C-b, the C-a doesn't ever seem to get sent to the shell. Which means I can't jump to head-of-line Emacs-style

Re: home keys in tmux

2015-12-02 Thread Jack J. Woehr
Johan Mellberg wrote: Anyway, screen steals C-a so to jump to the start of a line, hit C-a, then a again. Doesn't work :( -- Jack J. Woehr # Science is more than a body of knowledge. It's a way of www.well.com/~jax # thinking, a way of skeptically interrogating the universe

Re: home keys in tmux

2015-12-02 Thread Brian Conway
Spending a little time with 'cat -v', I ended up with the following non-.tmux.conf approach to making home/end happy in tmux with an otherwise-unmodified ksh shell: bind '^[[1~'=beginning-of-line bind '^[[4~'=end-of-line It doesn't appear to break normal xterm[-256color] use. These are still

Re: home keys in tmux

2015-12-02 Thread Jack J. Woehr
Philip Guenther wrote: My crystal ball says that you changed the prefix but didn't change the binding of 'a'. I would verify my crystal ball against your config...but you didn't show your config... I only made the change I noted, and thank you for some helpful advice! -- Jack J. Woehr #

Re: home keys in tmux

2015-12-02 Thread Philip Guenther
On Wed, Dec 2, 2015 at 9:43 AM, Jack J. Woehr wrote: > Ha, I have a funny problem in tmux that thwarts me. I changed the prefix key > to C-a but the sequence C-a C-a doesn't work like C-b C-b, > the C-a doesn't ever seem to get sent to the shell. Which means I can't jump > to

Re: home keys in tmux

2015-12-02 Thread Johan Mellberg
We'll see if this gets to the list, sending from a phone. Anyway, screen steals C-a so to jump to the start of a line, hit C-a, then a again. Might work for you. > 2 dec. 2015 kl. 18:43 skrev Jack J. Woehr : > > Ax0n wrote: >> Do you have anything in your .tmux.conf? >> > Ha, I

home keys in tmux

2015-12-02 Thread Ted Unangst
When i push home at a ksh prompt in xterm, the cursor goes to the beginning of the line. When i do the same in tmux, nothing happens. TERM in xterm is xterm. TERM in tmux is screen. How do i fix this? (Why do i need to fix it?)