key binding with mac

E

Eric Texier

I am just starting to use python on the mac.
How do I get backspace, the arrows up/down and all the control like
ctrl-a to work nicely under the console.
for now I am getting a bunch of ^? ^[[A when I use any tcsh type of
control.
thanks,
 
J

James Stroud

If I remember correctly, the Mac OS X python (circa OS X 10.3.2) had this
"probelm". I'm not sure about the state of affairs now--I'm doing Linux only
these days so I'm kind of out of touch with the Mac scene. I installed the
one from fink (fink.sf.net) and used that. Well worth your time and you will
learn a little getting everything set up. You can also build it the hard way
by downloading everything from Python, Tcl/Tk, etc., and using the dev-tools
compilers. Lots of learning there, and lots of fun if you are a masochist.

I am just starting to use python on the mac.
How do I get backspace, the arrows up/down and all the control like
ctrl-a to work nicely under the console.
for now I am getting a bunch of ^? ^[[A when I use any tcsh type of
control.
thanks,

--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
 
J

Jim Sizelove

Eric said:
I am just starting to use python on the mac.
How do I get backspace, the arrows up/down and all the control like
ctrl-a to work nicely under the console.
for now I am getting a bunch of ^? ^[[A when I use any tcsh type of
control.
thanks,

I believe you need to install readline support. You can get it through
http://pythonmac.org/packages
or via fink.

You will find the Pythonmac-SIG mailing list very helpful for questions
about Python on the Macintosh. You can learn more at:
http://www.python.org/sigs/pythonmac-sig/

HTH,
Jim Sizelove
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,236
Messages
2,571,184
Members
47,820
Latest member
HortenseKo

Latest Threads

Top