Re: Unable to use backspace or ^H in vim when using tmux

2012-03-28 Thread Andy Lester
On Mar 28, 2012, at 1:27 AM, Wen Chen wrote: > If you have stty erase in your shell startup files, remove it. Probably > your terminal does not actually send ^H for erase - tmux certainly > doesn't (it sends ^?). Whoops, my mistake. I had exactly Wen's problem, too, and I had the solution bac

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-28 Thread Nicholas Marriott
The default is typically ^? which is correct for tmux and most terminals. On Tue, Mar 27, 2012 at 11:27:21PM -0700, Wen Chen wrote: >This solution works! Thank you so much! But I am kind of confused. If I >don't set the key for erase, how can my terminal know which key is used >for e

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Wen Chen
This solution works! Thank you so much! But I am kind of confused. If I don't set the key for erase, how can my terminal know which key is used for erase?... Thanks, Wen On Tue, Mar 27, 2012 at 11:07 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Never mind, do you still have the

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Nicholas Marriott
Never mind, do you still have the problem? If you have stty erase in your shell startup files, remove it. Probably your terminal does not actually send ^H for erase - tmux certainly doesn't (it sends ^?). On Tue, Mar 27, 2012 at 11:02:14PM -0700, Wen Chen wrote: >No, I am using Ubuntu and Ce

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Wen Chen
No, I am using Ubuntu and CentOS. What's port? By building from source, you mean building the OS from the source or building tmux from the source? Thanks, Wen On Tue, Mar 27, 2012 at 10:59 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Are you using FreeBSD? If so, the port is bro

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Nicholas Marriott
Are you using FreeBSD? If so, the port is broken, try building from source. On Tue, Mar 27, 2012 at 09:35:58PM -0700, Wen Chen wrote: >Greetings: >I am a beginner of tmux. When I tried to use vim in tmux, I found that I >cannot use backspace or ctrl+H to delete characters. I googled b

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Andy Lester
On Mar 27, 2012, at 11:50 PM, Wen Chen wrote: > I tried it on both Ubuntu and CentOS. The terminal is gnome-terminal, I think. You probably need a "stty erase ^H" in your .bashrc. xoxo, Andy -- Andy Lester => a...@petdance.com => www.petdance.com => AIM:petdance --

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Andy Lester
On Mar 27, 2012, at 11:35 PM, Wen Chen wrote: > I am a beginner of tmux. When I tried to use vim in tmux, I found that I > cannot use backspace or ctrl+H to delete characters. I googled but didn't > find any related post about this...Is there someone who can help me with it? > Your help will a

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Wen Chen
I had that in my .cshrc. Thanks, Wen On Tue, Mar 27, 2012 at 9:53 PM, Andy Lester wrote: > > On Mar 27, 2012, at 11:50 PM, Wen Chen wrote: > > I tried it on both Ubuntu and CentOS. The terminal is gnome-terminal, I > think. > > > You probably need a "stty erase ^H" in your .bashrc. > > xoxo, >

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Wen Chen
* Andy Lester > *Cc:* tmux-users@lists.sourceforge.net > *Subject:* Re: Unable to use backspace or ^H in vim when using tmux > > ** ** > > I tried it on both Ubuntu and CentOS. The terminal is gnome-terminal, I > think. > > ** ** > > Thanks, > >

RE: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread YU Tristan
Paste your content of ~/.tmux.conf to here, that may help. From: Wen Chen [mailto:iceinso...@gmail.com] Sent: 2012年3月28日 12:50 To: Andy Lester Cc: tmux-users@lists.sourceforge.net Subject: Re: Unable to use backspace or ^H in vim when using tmux I tried it on both Ubuntu and CentOS. The terminal

Re: Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Wen Chen
I tried it on both Ubuntu and CentOS. The terminal is gnome-terminal, I think. Thanks, Wen On Tue, Mar 27, 2012 at 9:48 PM, Andy Lester wrote: > > On Mar 27, 2012, at 11:35 PM, Wen Chen wrote: > > I am a beginner of tmux. When I tried to use vim in tmux, I found that I > cannot use backspace or

Unable to use backspace or ^H in vim when using tmux

2012-03-27 Thread Wen Chen
Greetings: I am a beginner of tmux. When I tried to use vim in tmux, I found that I cannot use backspace or ctrl+H to delete characters. I googled but didn't find any related post about this...Is there someone who can help me with it? Your help will appreciated. Thanks, Wen ---