Package: pdksh
Version: 5.2.14-16
Severity: normal

Please let me know if I am doing something wrong (and how to actually
do this if I am), but when using pdksh in emacs mode, I cannot properly
bind my delete key to 'delete-char-forward'.

My delete key is '^[[3~' (ie 'ESC [ 3 ~'), therefore terminfo et al
are setup correctly.

So I try:
$ bind | grep delete-char-forward
$
$ bind '^[[3~'=delete-char-forward
$ bind | grep delete-char-forward
^X3 = delete-char-forward

This looks good at first, except that if I use the delete key,
it does delete forward, but then adds a '~' in its place (ie,
I type in 'abcde', move the cursor to the 'c', press delete,
and end up with 'ab~de').  The bind took the '^[[3' portion, but 
not the full '^[[3~'.

I am at a loss on how to do this.  'man pdksh' say that 'some'
mutli-character strings are supported with the bind command, but
either this one isn't supported (should be IMO), or I just don't
know what I am doing (very possible!).

This affects the console as well as X.  I do use gnome-terminal,
so I can use a non-default, gnome-terminal workaround of sending 
'^H' when delete is pressed, and bind that instead.

I googled for hours, but couldn't find anything (again, maybe 
I am just missing something).

Thanks,
Jamie 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages pdksh depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to