classification
Title: Need readline command and keybinding information
Type: Stage:
Components: Documentation Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: MLModel, docs@python, eric.araujo, georg.brandl, terry.reedy
Priority: normal Keywords:

Created on 2010-04-21 19:58 by MLModel, last changed 2010-08-16 00:05 by MLModel.

Messages (3)
msg103902 - (view) Author: Mitchell Model (MLModel) Date: 2010-04-21 19:58
The documentation of the readline module refers to readline initialization files, but does not give any information about their format or the available commands. I realize that this is a standard part of environments that support readline, not anything specific to Python, but as long as the module documentations mentions the init file it should give a link to documentation about it.
msg113032 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-08-05 19:48
Can you suggest a specific link and a specific location where to add it?
msg114028 - (view) Author: Mitchell Model (MLModel) Date: 2010-08-16 00:05
On Aug 5, 2010, at 3:48 PM, Terry J. Reedy wrote:

> 
> Terry J. Reedy <tjreedy@udel.edu> added the comment:
> 
> Can you suggest a specific link and a specific location where to add it?

I would add a sentence to the first paragraph of the readline doc:

	Readline keybindings may be configured via an initialization file, typically .inputrc in your home directory; see 
http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC9 (or http://www.gnu.org/software/bash/manual/html_node/Readline-Init-File.html) for information about the format and allowable constructs of that file and the capabilities of the readline library in general.

I did a few quick tests and convinced myself that the module's C code's call to rl_initialize actually reads .inputrc (or the value of the environment variable INPUTRC if that is set).

> 
> ----------
> assignee: georg.brandl -> docs@python
> nosy: +docs@python, terry.reedy
> versions:  -Python 2.6
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue8491>
> _______________________________________
History
Date User Action Args
2010-08-16 00:05:23MLModelsetmessages: + msg114028
2010-08-05 19:48:03terry.reedysetversions: - Python 2.6
nosy: + terry.reedy, docs@python

messages: + msg113032

assignee: georg.brandl -> docs@python
2010-04-21 21:37:13eric.araujosetnosy: + eric.araujo

versions: + Python 3.2
2010-04-21 19:58:32MLModelcreate