bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BACKSPACE does not work on bash3.0


From: Chet Ramey
Subject: Re: BACKSPACE does not work on bash3.0
Date: Mon, 23 Aug 2004 11:38:35 -0400

> Machine Type: i586-pc-linux-gnu
> 
> Bash Version: 3.0
> Patch Level: 0
> Release Status: release
> 
> Description:
>          BACKSPACE delete character instead of moving to the left in
>          overstrike mode.
>          BACKSPACE will only move to the left works only for the first
>          command recall. It will "delete" the character instead of
>          moving to the left for subsequent command recalls.
>          Version 2.05b is ok.
>       BACKSPACE is set as "^H", "stty" erase is "^H"
> 
> Repeat-By:
>          > 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

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@po.cwru.edu    http://tiswww.tis.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]