Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-12 Thread Leonardo Brondani Schenkel
On 09/05/15 12:12, Nicholas Marriott wrote: > On Sat, May 09, 2015 at 11:38:09AM +0200, Leonardo Brondani Schenkel wrote: >> Makes perfect sense. However, since I get ^[[D or ^[OD in cat, where did >> KEYC_ESCAPE go? Shouldn't I be getting ^[^[[D or ^[^[OD instead? What am &

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-09 Thread Leonardo Brondani Schenkel
g just a Left, and the Alt went missing. // Leonardo. >> >> >> >> On Thu, May 07, 2015 at 10:51:52AM +0200, Leonardo Brondani Schenkel wrote: >>> On 07/05/15 09:58, Nicholas Marriott wrote: >>>> "new key ^[b: 0x301f (M-Left)" >>

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-07 Thread Leonardo Brondani Schenkel
smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd, TS=\E]2;, kDC5=\E[3;5~, kDC7=\E[3;5~, kLFT3=\Eb, kLFT5=\E[1;5D, kRIT3=\Ef, kRIT5=\E[1;5C, > > > On Thu, May 07, 2015 at 09:43:15AM +0200, Leonardo

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-07 Thread Leonardo Brondani Schenkel
On 07/05/15 00:31, Thomas Adam wrote: > TERM=nsterm tmux - -Ltest -f/dev/null new Log files are attached: I started tmux as directed, invoked "cat", pressed Option/Alt+Left three times, then Enter/Return, then Ctrl+D twice. This was done twice, one with TERM=nsterm (filename suffix -nsterm

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Leonardo Brondani Schenkel
On 06/05/2015 20:49, Nicholas Marriott wrote: > Are you sure it is \[b not \[[b? Positive. Just double checked via cat: ^[b. In Terminal.app preferences it's shown as \033b. > > Original message ---- > From: Leonardo Brondani Schenkel > Date:06/05/2015 16

Re: Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Leonardo Brondani Schenkel
;> On Wed, May 06, 2015 at 04:59:12PM +0200, Leonardo Brondani Schenkel wrote: >> Hello, >> >> I'm using tmux 1.9a in Terminal.app 343.7 (OS X 10.10). I noticed by >> accident that when I press Option+Left/Right I get different escape >> codes, depending if

Q: tmux sending different key escape codes for Option+Left/Right depending on $TERM?

2015-05-06 Thread Leonardo Brondani Schenkel
Hello, I'm using tmux 1.9a in Terminal.app 343.7 (OS X 10.10). I noticed by accident that when I press Option+Left/Right I get different escape codes, depending if the $TERM variable outside tmux is set to 'nsterm' or 'xterm'. For example, when pressing Option+Left: $TERM=='nsterm': ^[^[OD or ^[