[Twisted-Python] Using twisted.conch.recvline

Abe Fettig abe at fettig.net
Tue May 31 15:52:46 MDT 2005


Hello all,

I'm trying to figure out how to hook up the necessary classes in
twisted.conch.recvline to add line-editing and history to a simple ssh
app. It was easy to modify
http://twistedmatrix.com/projects/conch/documentation/examples/sshsimpleserver.py
to use a custom protocol (a simple command-line interface that sends web
services requests to a JotSpot wiki), but I can't figure out how
recvline is meant to be used. Could someone (Jp?) show me how you'd go
about bolting recvline onto sshsimpleserver?

Thanks!

Abe




More information about the Twisted-Python mailing list