bug-bash
[Top][All Lists]
Advanced

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

stty settings override ~/.inputrc?


From: Eric Blake
Subject: stty settings override ~/.inputrc?
Date: Fri, 05 Aug 2005 07:27:59 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A complaint was raised on the cygwin list, where the user had default
terminal settings (lnext set to ^v), and this line in their ~/.inputrc:
"\C-v":paste-from-clipboard
This report is against bash-3.0.16/readline-5.0.

Within a single line, hitting \C-x\C-r to re-read ~/.inputrc lets ctrl-v
paste, but as soon as the user hits enter, readline is resetting the
binding of ctrl-v back to quoted-insert (to match the stty settings of
lnext).  Is this intentional behavior?  It would make more sense if
~/.inputrc settings overrode stty settings, rather than stty settings
being forced onto key bindings every time the prompt is redisplayed.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC82lf84KuGfSFAYARAonwAJwMqyzuU19wTePOwW4rgHjTLP266ACgjytp
NIZspHQxkopG/dD1s4kVBkw=
=e+zP
-----END PGP SIGNATURE-----




reply via email to

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