sm-users AT lists.ibiblio.org
Subject: Sourcemage Users List
List archive
- From: Martin Kacerovsky <wizard AT matfyz.cz>
- To: sm-users AT lists.ibiblio.org
- Subject: Re: [SM-Users] delete key
- Date: Mon, 28 Apr 2003 08:12:46 +0200
Hi,
On Sun, Apr 27, 2003 at 10:47:32AM +0200, Stano Paska wrote:
> Hi there,
>
> on my keyboard backspace works, but delete does not.
> It types ~.
>
> I was try edit /etc/inputrc
[..]
if you want to see what keycode sends your delete-key, type in shell:
CTRL+V <Delete>
and than check whether is that the keycode you are inserting
into inputrc
if you want try my inputrc...
(it handles more terminal emulators in X)
--
+-------------------------------------------------------------------+
Martin Kacerovsky <wizard AT matfyz.cz> http://wizard.matfyz.cz
PGP 0x4CEC2A62 : 84F6 C043 AC1A 1591 ED80 9498 30C4 7ABE 4CEC 2A62
+-------------------------------------------------------------------+
# /etc/inputrc - global inputrc for libreadline
# See readline(3) and `info readline' for more information.
set bell-style audible
set meta-flag on
set convert-meta off
set output-meta on
$if term=vt
"[": nothing
"[D": backward-char
"[C": forward-char
"[A": previous-history
"[B": next-history
"[1~": beginning-of-line
"[3~": delete-char
"[4~": end-of-line
$endif
$if term=linux
"[": nothing
"[D": backward-char
"[C": forward-char
"[A": previous-history
"[B": next-history
"[1~": beginning-of-line
"[3~": delete-char
"[4~": end-of-line
$endif
$if term=xterm
"[1~": beginning-of-line
"[3~": delete-char
"[4~": end-of-line
$endif
$if term=xterm-color
"[1~": beginning-of-line
"[3~": delete-char
"[4~": end-of-line
$endif
$if term=Eterm
"[2~": nothing
"[5~": nothing
"[6~": nothing
"[3~": delete-char
"[7~": beginning-of-line
"[8~": end-of-line
Attachment:
pgp_ZhFndFgqj.pgp
Description: PGP signature
- Re: [SM-Users] delete key, Martin Kacerovsky, 04/28/2003
Archive powered by MHonArc 2.6.24.