Re: Backspace and delete - proposal
The default stty erase character is hardcoded in the kernel which probably
is wise to simply accept. We dont need a new term etc. Just make all apps
query the current stty settings so that they work.
On Thu, 13 Nov 1997, Ricardas Cepas wrote:
>
> Proposal:
>
> 1) Somewhere in the base, say ncurses-base postinst
> script user should be prompted for key_backspace and key_dc
> (delete) values with no default answer. Then common
> terminal entries should be created, say linux-local, xterm-local,
> etc with these values.
> 2) Shells, inittab, lilo should set TERM to linux-local
> by default.
> 3) There should be two stty binaries - one with default
> stty erase ^?, other with ^H. Installation script can make a link
> named stty to the required binary according to 1).
> 4) readline, X and others really needing
> hard-coded key_backspace and key_dc values should set them in postinst
> according to current term-info and maybe stty erase.
> 5) Other applications should look stty erase for
> key_backspace value and term-info for key_dc at run time
> preferably.
> 6) For loadkeys script can be created first
> calling actual loadkeys and then loading values for Backspace and
> Delete as 5). I assume key-codes don't change on the same
> terminal, so this can be configured at installation time.
> kbd is in base on Debian, so loadkeys can be always invoked at
> boot time.
>
> --
> RiÄ?ardas Ä?epas
>
>
>
Reply to: