#12503: Convenient history fetch commands
----------------------------------+-----------------------------------------
Reporter: klee | Owner: was
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.2
Component: user interface | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Kwankyu Lee | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by iandrus):
I tried using this a few times before but could never bind it to Control-o
so I gave up. I have an `inputrc` file and several other customizations
that I thought might be interfering, but could never figure it out. Today
I finally took the time and so I'm putting it here in case others have the
same problem. Below is what happens as best I understand it. I'm on OS X
10.6.
Before readline gets a character sequence it's interpreted by the terminal
emulator and can be used to do things like turn flow control on and off.
These are generally bound to Control-s and Control-q and is, I think,
fairly well known (at least I knew it). However, there are other actions
as well which can be determined by running `stty -a` and reading the
`cchars` section. In my case control-o was bound to discard. These extra
bindings can be turned of by running
{{{
# Enable Ctrl-o
stty -iexten
# Enable Ctrl-s and Ctrl-q
stty -ixon
}}}
or by unbinding them individually like
{{{
stty discard undef
...
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12503#comment:15>
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.