After running a python repl (2.7.10) in the os-x terminal and exiting, the terminal no longer echos typed input and some other strange things happen. If I run
python again and
exit(), then the terminal seems to be restored. I now just close the tab and open a new one, so I havent tested that extensively.
I guess this is related to terminal settings, but its is a recent thing and I haven't changed anything that I recall. Python is installed with
macports, if there is something to do with mis-matched dependencies with some console library. 2.7.10 was installed a while ago, and this didn't happen after installation.
Cracks knuckles and opens
[~]: virtualenv-2.7 venv-test [~]: source venv-test/bin/activate [~]: python >>> ^D>>> *(press ctrl-d, the 2nd >>> is strange) [~]: *(type something like `ls-l`, nothing shows on console) [~]: -bash: ls-l: command not found`
Additionally, running python again and hitting
ctrl-d results in this output:
>>> ^D (ctrl-d, then hit enter, doesn't exit) >>> ^D (...) >>> ^D (...) >>> exit() (typing exit() quits the session) >>> [~]: