Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm having a couple problems with basic command line stuff in the terminal of Mountain Lion.

^D does not exit Python as it does in Lion, instead it splits the screen.

Meanwhile, I also haven't figured out how to continue writing after having viewed the contents of a text document - the terminal doesn't allow it.

Hello hello hello! ex12.txt (END)

So far, no matter what I push after this, I get a nasty little beeping sound

share|improve this question
If ^D splits the screen you have either re-configured your control keys or Terminal.app itself. On a standard installation, split screen is Cmd-D. – patrix Aug 27 '12 at 19:24

2 Answers

You can type exit() to exit Python.

share|improve this answer

As control-D works for me on multiple Macs, I'll presume something is amiss with your installation, keyboard or keyboard handler. (your difficulty with the pager also lends credence to this theory)

You can use the alternate quit() to exit the interpreter until you have looked at how python was installed or think of some modifications you might have on the key mapping on your mac.

share|improve this answer
I just tried using the Windows commands for the same tasks and they work well. It must therefore be the edition I downloaded, I'm assuming – Karl Aug 27 '12 at 18:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.