#8142: Unexpected notebook behavior when readline init file is non empty
--------------------------------+-------------------------------------------
Reporter: mmeulien | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.2
Component: user interface | Keywords: notebook readline .inputrc
Author: Matthias Meulien | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
To reproduce the problem[[BR]]
===============[[BR]]
1. Create the file ~/.inputrc with the following content:[[BR]]
$if Python[[BR]]
# Pair insertion[[BR]]
"\(": "\C-q()\C-b"[[BR]]
$endif[[BR]]
This will automaticaly insert a closing brace after the cursor when an
opening brace is inserted when the application name is Python.
2. Start Sage
3. In command line, everything seems ok; closing braces get inserted
automaticaly.
4. In notebook, closing braces aren't inserted automaticaly AND
computations never end!
Possible workarounds[[BR]]
=============[[BR]]
From Bash documentation (Command Line Editing>Readline Init
File>Conditional Init Constructs), "Each program using the Readline
library sets the APPLICATION NAME". The "$if" constructs in the .inputrc
file uses this variable for application-specific settings.
Sage should set that variable to its own value. Better it should change
its value when the notebook is started/stopped.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8142>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.