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. D ================================== David J Philp Postdoctoral Fellow National Centre for Epidemiology and Population Health Building 62, cnr Mills Rd & Eggleston Rd The Australian National University Canberra ACT 0200 Australia T: +61 2 6125 8260 F: +61 2 6125 0740 M: 0423 535 397 W: http://nceph.anu.edu.au/ CRICOS Provider #00120C --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---