[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BACKSPACE does not work on bash3.0
From: |
Jeff Chua |
Subject: |
Re: BACKSPACE does not work on bash3.0 |
Date: |
Fri, 3 Sep 2004 08:49:35 +0800 (SGT) |
On Mon, 23 Aug 2004, Chet Ramey wrote:
> bash
> <ESC>k$<BACKSPACE><CTRL>C <== this works for 1st time only
> <ESC>k$<BACKSPACE><CTRL>C <== deletes instead of moving left
Bash auto-maps stty special characters to their readline equivalents. I
will probably have to make this a settable option in a future release.
Chet, as a short-term fix before your next release, can you please tell me
which files do I have to modify in order to make "backspace" move-back
instead of deleting in "vi overstrike" mode? It's getting a bit annoying
as I'm so used to using backspace to _back_space_.
Is this cause by readline-5.0? Any difference if I use readline-4.3?
The kernel defined BACKSPACE as ^H (/usr/src/linux/include/asm/termios.h),
stty erase is ^H.
I need ^H for esp. sybase ISQL
bash is 3.0
Thanks,
Jeff.
- Re: BACKSPACE does not work on bash3.0,
Jeff Chua <=