David Philp wrote:
> 
> On 23/09/2008, at 11:19 AM, Jason Grout wrote:
> 
>> David Philp wrote:
>>> On 23/09/2008, at 11:00 AM, Bob Wonderly wrote:
>>>
>>>> I run Sage on my Mac rather than on the web. I often bring up the
>>>> previous command and edit it then rerun it. The editor is very  
>>>> tedious
>>>> in that the only way I have figured out how to move the cursor
>>>> around in
>>>> the text is one character at a time using the left and right arrow
>>>> keys
>>>> and the back-space-delete key. Given a several-line for-loop to edit
>>>> this can be frustrating.
>>> Mmmm... at the command line, ctrl-a and ctrl-e take you to the start
>>> and end of the line.  In many OS X applications, ctrl-option-b jumps
>>> back by a word (roughly standard readline behaviour) but as far  
>>> as   I
>>> can tell, nothing like this works in sage's command line (which is a
>>> shame.)
>> What is the "meta" key in OS X?  For me, pressing escape (my meta key)
>> and then b takes me back a word.  Does option-b take you back?
> 
> Interesting.  This looks like a bug at some level.  Option-b inserts  
> the "integral" character (∫), i.e. great S (I think that's what it's  
> meant to be).  That's standard OS X behaviour, gets you all sorts of  
> fun characters and accents (π, ß, ∑, µ, ö)
> 
> Ctrl-option-b takes me back a character, as does ctrl-b.  I'm guessing  
> that GNU readline uses "ctrl-option" as "meta" on OS X, and that it is  
> not correctly configured in Sage's readline.


Or maybe it's ignoring the option and just giving you ctrl-b.  I'd 
experiment to find the meta key if you'd just ship me a mac :).  I'd 
even try to figure out how to configure the meta key to be whatever you 
wanted.

Jason




--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to