On 2014-10-17 17:25 -0700, Leigh Stoller wrote:
> Hi there, I have a tmux+emacs problem. Two really. The first is the ^H
> vs ^? issue. I understand that I can bind erase to ^? on all my
> machines (many, many), but I am curious as to why tmux generates ^D
> when I press the delete key (bound to ^H).  It is kinda strange since
> in this respect, the xterm and screen terminfos look the same, I
> think.

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

For example I have the following xterm overrides in my .Xdefaults and
then customize each of my applications accordingly:

    XTerm*VT100.translations:      #override \n\
            Ctrl<Key>BackSpace: string(0x08) \n\
            Alt<Key>BackSpace: string("") \n\
            <Key>BackSpace: string(0x7f) \n\
            ...

Maybe you could also customize your translations so that the keys
generate the sequences you want?

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?

> 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.

-- 
Balazs

------------------------------------------------------------------------------
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