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

Re: why doesn't ~/.inputrc work



* 2011-10-16T11:17:53-05:00 * Harry Putnam wrote:

> Teemu Likonen <tlikonen@iki.fi> writes:
>>     # Meta keys
>>     set keymap emacs-meta
>>     p: history-search-backward
>>     n: history-search-forward

> That does the trick for me.. I could not find a way to specify the
> `Alt' key (on standard 104 key english qwerty keyboard) But using your
> technique things like this work now:
>   
>      set keymap emacs-meta
>      a: "awk 'BEGIN{print ( )}' 

There is no Alt in text terminals. There is Meta key which is normally
sent through Esc key (Press Esc, release it and then press some other
key). But often also Alt key is configured to send Meta.

So, in .inputrc you configure Meta key and then in practice use Esc or
Alt as the Meta key.


Reply to: