ZMQ terminal frontend #433

Closed
wants to merge 27 commits into
from

Projects

None yet

3 participants

@omazapa
omazapa commented May 12, 2011

Frontend for two process model.
Done:
->Some KernelManager's Hendlers implemented
->Prompt Numeration for inputs and outputs
->Indentation
->All command line arguments for connection with a opened kernel eg: frontend -e --xreq 52797 --sub 38906 --rep 40895 --hb 4320
->Tab-completion bugs fixed (Thanks to Thomas)
->raw_input captured
->Print beautiful tracebacks
TODO
->Support colors in outputs
->Support Crtl+C to send the signal SIGINT
->Heartbeat's verification.

Thanks!

@takluyver
Member

An organisational detail - would it make sense to put these files in a separate module under frontend? Something like IPython/frontend/zmq-terminal?

@omazapa
omazapa commented May 13, 2011

I think that is good idea.

@takluyver
Member

We should also have a script that gets installed so we can start it easily. Something like ipython-zmqterm?

@takluyver
Member

Oh, and unicode input! a = u"€" blows it up at the moment.

@takluyver
Member

Would it make sense to subclass TerminalInteractiveShell, and overload the relevant methods (like run_cell?) A lot of the stuff like readline handling, inputsplitter, displaying prompts, and so on, is going to be the same.

@minrk
Member
minrk commented Jul 30, 2011

I've updated this to subclass the InteractiveShell and Application from the regular terminal frontend. This means the configuration, colors, prompts, etc. are all inherited, but the underlying execution and completion code you wrote is the same.

See here.

Still some work to be done, particularly wrt KeyboardInterrupts, but basic functionality is working.

@takluyver
Member

Closing this one, as it's included in Min's PR #708.

@takluyver takluyver closed this Sep 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment