Ulli Horlacher wrote: > This is GNU readline 5.2 on Ubuntu 8.04.2. > > Problem: I cannot assign a new function to Control-W in INPUTRC. > > With other Control-keys I have no problem. > > Example (contents of INPUTRC): > > Control-w: dump-functions > Control-o: dump-functions > > Control-O then has the function dump-functions, but > Control-W still has the default-function unix-word-rubout! > > Even more irritating: > > When I type Control-X Control-R (function re-read-init-file), then > Control-W has the new function dump-functions! > > When I assign a string in INPUTRC: > > Control-w: "TEST!" > > then this works. Only binding a function to Control-W fails - at last at > normal startup.
The last time this came up, I wrote: Beginning with bash-3.0, after a number of requests for the feature, readline began "honoring" the terminal special characters by binding them to their readline equivalents at startup. In bash-3.1, this was made dependent on the value of the readline variable `bind-tty-special-chars', which is on by default. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-readline mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-readline
