hello, thanks for your help.
I updated to V8.2, but the problem still exists. May I ask how to bound to `delete-char' instead of `backward-delete-char'. thanks. gaojianp...@onvcom.com From: Chet Ramey Date: 2024-03-19 21:40 To: 高剑平; bug-readline CC: chet.ramey Subject: Re: The backspace key can only move forward and cannot delete characters On 3/19/24 1:32 AM, 高剑平 wrote: > |/tmp # ./vtysh Hello, this is FRRouting (version 7.5.1). Copyright > 1996-2005 Kunihiro Ishiguro, et al. Realtek_0CA5D5# Realtek_0CA5D5# > | > > |The backspace key can only move forward and cannot delete characters, How > to compile to solve this problem?| It sounds like the backspace key outputs a key sequence that is bound to `delete-char' instead of `backward-delete-char'. There are no key sequences bound to `delete-char' by default, so it must be happening in one of your startup files. (And readline-8.0 is over five years old. The current version is 8.2.) -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/