Jimi wrote: > Hi all, > > Strange condition that i can't find the solution to. > > My bash for RH 3.4.6, is 3.00.15(1) > > > I have a .inputrc file with some settings like > "\C-w": kill-region > "\M-u": upcase-word > > > The \C-w bind is different than the default ( which is to unix-word- > rubout ) > > I can change this by doing a > bind -f .inputrc but it doesn't keep the value. > > What I mean is that it temporarily changes the value, but then changes > it back to default.
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. You might consider upgrading. Bash-3.0 was released over four years ago. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/