bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 3.1.17: ~/.inputrc key bindings not being read


From: John Purnell
Subject: bash 3.1.17: ~/.inputrc key bindings not being read
Date: Thu, 7 Sep 2006 11:13:19 +1000

Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: darwin8.7.0
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' - DCONF_OSTYPE='darwin8.7.0' -DCONF_MACHTYPE='powerpc-apple- darwin8.7.0' -DCONF_VENDOR='apple' -DLOCALEDIR='/usr/local/share/ locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DMACOSX -I. -I. - I./include -I./lib -I./lib/intl -I/usr/local/src/bash-3.1-17/lib/ intl -g -O2 uname output: Darwin JP-PB.local 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc
Machine Type: powerpc-apple-darwin8.7.0

Bash Version: 3.1
Patch Level: 17
Release Status: release

Description:
~/.inputrc has the following key bindings which work correctly in bash 2.05b:
        
        # Mac forward delete
        "\e[3~": delete-char

        # Toggle insert/overwrite mode
        $if mode=emacs
        "\M-i": overwrite-mode
        $endif

        # Kill the entire line
        "\M-k": kill-whole-line

When using bash 3.1.17 they do not work and the results of bind - p are:

        "\M-[3~": delete-char
        "?": kill-whole-line
        "?": overwrite-mode

    As can be seen the modifier keys are being read incorrectly.

Repeat-By:
        Creating the above key bindings in ~/.inputrc.
        C-x C-r
        Press the respective key combinations--they don't work
        Run bind -p
        Note that the keys are not picked up


Regards
John Purnell




reply via email to

[Prev in Thread] Current Thread [Next in Thread]