Two-process terminal frontend #708

wants to merge 23 commits into

4 participants

IPython member

This extends #433 to use TerminalInteractiveShell/TerminalIPythonApp subclasses, so all our configuration, etc. is inherited as you would expect.

Not ready for merge because, among other things, ctrl-C crashes the kernel. Mostly posted as a starting point for someone else to take over finishing this client.

As far as I can tell, it's already quite functional as long as you never hit ctrl-C :).

omazapa and others added some commits Jan 30, 2011
@omazapa omazapa basic kernelmanager and frontend wrote, support indentation but it do…
…nt run code yet
@omazapa omazapa working in handlers 0a7161e
@omazapa omazapa working in tab completion 1e1f981
@omazapa omazapa completer not working fine 83f4e6f
@omazapa omazapa little bug fixed in kernelmanager's queues eb57363
@omazapa omazapa raw_input captured and working fine 6051b91
@omazapa omazapa -mworking in tab-completion 22843e0
@omazapa omazapa tab completion is not working yet, unknow error bfc9430
@takluyver takluyver Make readline tab-completion work in two-process terminal frontend. 2e6f2ac
@omazapa omazapa little bug fixed in pyout message print. cd21306
@omazapa omazapa bug fixed prompt count using differents clients 79048f7
@omazapa omazapa traceback support added be18348
@omazapa omazapa bug fixed in prompt count after traceback cb7e461
@takluyver takluyver Replace tabs with spaces 020805c
@takluyver takluyver Separate out frontend.zmqterminal package. 127d459
@takluyver takluyver zmqterminal frontend now uses IPythonInputSplitter, and non-ascii cha…
…racters work.
@takluyver takluyver Minor tidying up of zmqterminal.frontend ef40f1f
@takluyver takluyver Minor tidy up of zmqterminal.completer 8d4a68b
@takluyver takluyver Refactor and simplification of zmqterminal. 3d4b21e
@takluyver takluyver Simplify handling of messaging in zmqterminal. 3b16045
@takluyver takluyver Nicer prompt formatting in zmqterminal, and use print_function. e3f9bc7
@minrk minrk rebased and updated to master d8d6bdf
@minrk minrk zmqterminal subclasses TerminalInteractiveShell/IPApp
this does a lot of the boiler plate for us, so Omar's communication
code is used in place of run_cell / complete.

Now colors, prompts, indentation, cl-args, etc. are all inherited
from regular existing code.

keyboard interrupts don't work yet, the kernel just dies...
IPython member

this would be really nice to get back plain terminal ipython with the two-process connection capability. For one, it would enable Django-shell embedding to work with vim-ipython in a simlpe and straightfoward manner - which was recently requested in ivanov/vim-ipython#11 and I pointed them to this PR.

IPython member

closing this one, since #864 will supersede it as

@ivanov ivanov closed this Oct 13, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment