Re: Vim+Mutt+Backspace
On Thu, Jan 23, 2003 at 11:48:07AM -0800, Michael Barrett wrote: That did it. Any idea why that would be needed for mutt but not for regular vi? not exactly. terminal handling is quite complicate. i found some hints in the vim-user-doc. it has something to do which ASCII code is generated when you hit backspace and how vi/vim interprets this code. i could be that it depends on your $TERM settings... you can find some info in the vim user doc: http://vim.sourceforge.net/htmldoc/options.html search for fixdel toni -- Terror ist der Krieg der Armen, | [EMAIL PROTECTED] Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | msg16571/pgp0.pgp Description: PGP signature
Re: Vim+Mutt+Backspace
# [EMAIL PROTECTED] / 2003-01-23 00:16:00 -0800: FreeBSD 4.7 Mutt 1.4i (2002-05-29) Vim 6.1.271 Anyways, when I run vim from the command line, if I'm in insert mode and I hit the backspace key it acts normally. IE: It erases the character to the left of the cursor. However, when I'm editing an email to send (as I am right now) when I hit the backspace key it instead acts like I hit delete. (Erasing the character under the cursor). Any ideas as to why this might be happening? It's highly frustrating. I had the same/similar problem when I started using FreeBSD. The lack of user-level documentation, silence of those-who-have-the-answers, all that was really depressing. That said, I went through my .vimrc, .muttrc, .Xdefaults, and .zsh* files, and /usr/share/misc/termcap, and all I could find was XTerm.backspacekey: ^H XTerm.deletekey: ^? in my .Xdefaults; the ^H and ^? are literal characters, IOW, real backspace and delete. I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys changed the code... -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vim+Mutt+Backspace
On Thu, Jan 23, 2003 at 12:26:53PM +0100, Roman Neuhauser wrote: snip I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys If it was with rxvt that you were having the problem, were you launching it with the ``--backspacekey ^H'' option? I've been using blackbox w/bbkeys for some time now and I have no problem with the backspace key even when I launch rxvt using bbkeys - although I do have to add the above mentioned option. Nathan -- GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc msg16473/pgp0.pgp Description: PGP signature
Re: Vim+Mutt+Backspace
# [EMAIL PROTECTED] / 2003-01-23 07:48:24 -0800: On Thu, Jan 23, 2003 at 12:26:53PM +0100, Roman Neuhauser wrote: snip I had this problem some time ago: rxvt (or was it vim?) started from my window manager's menu (which was then blackbox) behaved properly, while if started through bbkeys (an app that handles keyboard shortcuts in blackbox) I couldn't get backspace/delete behave. The difference was in the way these two programs launched it. I don't remember what I did to address it, perhaps the author of bbkeys If it was with rxvt that you were having the problem, were you launching it with the ``--backspacekey ^H'' option? I've been using blackbox w/bbkeys for some time now and I have no problem with the backspace key even when I launch rxvt using bbkeys - although I do have to add the above mentioned option. yes and no. it was rxvt, and I wasn't launching it with that option. I don't have that problem anymore, but it's been more than a year ago, and too many factors changed since then, so I can't tell what is the difference. -- If you cc me or remove the list(s) completely I'll most likely ignore your message.see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Vim+Mutt+Backspace
That did it. Any idea why that would be needed for mutt but not for regular vi? Thanks a ton for your help. Wow, it's so nice to be able to use the backspace when I typo. :) On Thu, Jan 23, 2003 at 03:02:27PM +0100, Toni Schmidbauer wrote: On Thu, Jan 23, 2003 at 12:16:00AM -0800, Michael Barrett wrote: Anyways, when I run vim from the command line, if I'm in insert mode and I hit the backspace key it acts normally. IE: It erases the character to the left of the cursor. try these two options in your .vimrc set t_kb=^H fixdel for ^H you have to press CTRL-V and then hit the backspace key. toni -- Terror ist der Krieg der Armen, | [EMAIL PROTECTED] Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | -- Mike Barrett | I used to read, now I go to raves. [EMAIL PROTECTED] | -- Random MUNI Rider, speaking www.daboyz.org |to my friend Allison. +--- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message