On Fri, 13 Dec 2013, Sean Hammond wrote:
> Hey, can anyone help me figure out what might be going on here? My Home 
> and End keys work fine in my fish shell both inside and outside of tmux, 
> but when in any tmux session started by tmuxinator [1], the Home and End 
> keys break. They just insert [1~ and [4~ into the fish command-line, 
> instead of moving the cursor as they should. $TERM is the same in all 3 
> cases: xterm-256color.
> 
> I have these settings in my tmux.conf:
> 
> set -g default-terminal "xterm-256color"
> set -g terminal-overrides 'xterm-256color*:smcup@:rmcup@'
> 
> If I change those to screen-256color instead of xterm-256color, then my 
> Home and End keys work fine in fish shells in tmux sessions started by 
> tmuxinator, but they no longer work in tmux sessions not started by 
> tmuxinator!

I can't speak to what tmuxinator does, but if you are trying to tell fish 
that tmux is like XTerm (instead of like screen) then I am not really 
surprised that it gets confused.

If you use `screen-256color` instead, what does 'echo $TERM` say under 
tmuxinator?

David Adam
zanc...@ucc.gu.uwa.edu.au

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to