[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 回复:Re: The backspace key can only move forward and cannot delete cha
From: |
G. Branden Robinson |
Subject: |
Re: 回复:Re: The backspace key can only move forward and cannot delete characters |
Date: |
Mon, 25 Mar 2024 22:28:32 -0500 |
At 2024-03-26T11:18:33+0800, 高剑平 wrote:
> My system is an embedded operating system with incomplete commands.
>
> So this bind command was not integrated into this system.
The people on this mailing list cannot reconfigure your system.
If the stty(1) command is installed, you may be able to fix the terminal
driver's idea of the erase character the old-fashioned way.
First, confirm that "lnext" works.
$ stty -a | grep lnext
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
On my system, that means I can type Control+V to quote the next
keystroke at the shell prompt. ("lnext" means "literal next".)
You can try it on itself. When I type Control+V Control+V, I get
this:
$ ^V
If that works, then Control+C the line and type a new one.
Input the command "stty <Control+V><your-backspace-key>"...
...and press Enter.
Regards,
Branden
signature.asc
Description: PGP signature