bug-bash
[Top][All Lists]
Advanced

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

Re: Ctrl/Alt codes don't work on first read of inputrc


From: Chet Ramey
Subject: Re: Ctrl/Alt codes don't work on first read of inputrc
Date: Tue, 20 Jan 2004 16:20:21 -0500

> I have the following ~/.inputrc file as a test case (using bash 2.05b 
> and Redhat 9):
> 
> "\C-j":         backward-char
> "\M-\C-j":      backward-char
> 
> When I start a new login shell, Ctrl-J functions as I would expect, but 
> Ctrl-Alt-J does not.

It's a bug.  Bash unconditionally unbinds emacs-mode M-C-j at startup
without checking that it's still bound to the default function
(vi-editing-mode).  I will fix it. 

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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