Timeline for Readline keymapping C-/ not working
Current License: CC BY-SA 3.0
        6 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 3, 2017 at 15:28 | comment | added | Johan Myréen | For some reason I can't get the syntax "\M-/"to work in.inputrceither, but"\e/": "your action here"works. In my terminal emulator combining the Alt key with almost any key prepends an Esc to the key character. You can check by pressingCtrl-vbefore the Alt-key combination, this prints the output like this:^[/(Alt-/used as an example). | |
| Nov 3, 2017 at 9:11 | comment | added | DanielGibbs | Are there limitations on which characters can be "metafied"? M-/doesn't seem to work for me either. | |
| Nov 3, 2017 at 8:30 | vote | accept | DanielGibbs | ||
| Nov 3, 2017 at 8:10 | comment | added | Johan Myréen | Meta-#is by convention an escape control character followed by#(or whatever character you want to "metafy"). The Readline library can also be configured to interpret the eight bit, if set, as a meta flag if the terminal (emulator) supports this. But this is very esoteric, since it restricts the input character set to seven bits. | |
| Nov 3, 2017 at 7:49 | comment | added | DanielGibbs | So what does this mean for Meta sequences like M-#? Or are they not subject to the same restrictions? | |
| Nov 3, 2017 at 7:46 | history | answered | Johan Myréen | CC BY-SA 3.0 |