> Hmm, that's interesting. I assume you are using xterm then? Have you 
> rebound any buttons via stty or xterm overrides?

Hi. I am not running X, it appears to be iterm2 default terminal
emulation. xterm-256color. So no xterm or X key binding overrides, and I
have not done any stty rebinds.

> Also, what happens if you run "cat", press ^V Backspace, and then press 
> ^V Delete. What codes were generated outside tmux and what inside tmux?

Outside both say ^H but inside both say ^?
Inside emacs, I get ^D for both. Really strange!
Outside emacs works fine. 

stty key bindings:

discard dsusp   eof     eol     eol2    erase   erase2  intr    kill
^O      ^Y      ^D      <undef> <undef> ^H      ^H      ^C      ^U
lnext   min     quit    reprint start   status  stop    susp    time
^V      1       ^\      ^R      ^Q      ^T      ^S      ^Z      0

>> The other is ^b in emacs; only every other ^b registers, the other is 
>> ignored. Any ideas on this one? 
>> 
> ^b is the default prefix. All default tmux keybindings start with 
> pressing ^b first. You can change this to another button via the prefix 
> setting to something like ^a which is screen's default. 

Ah, thanks.

I've been using X for about 30 years, but trying to convert to iterm2 and
tmux (but not with iterm2 tmux integration, I did not like that). But emacs
is essential, and I am very resistant to having to changes my stty keys or
termcap across many dozens of machines.

Version 2.0 of iterm2, 1.9a of tmux, OSX Mavericks, Freebsd running tmux.

Thanks for your help!
Leigh 


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to