Re: Telnetlib to twisted

2006-10-27 Thread Jean-Paul Calderone
On Fri, 27 Oct 2006 16:40:44 +0100, Matthew Warren <[EMAIL PROTECTED]> wrote: >Hallo, > import telnetlib l=telnetlib.Telnet('dbprod') l.interact() >telnet (dbprod) > >Login: > > >Could anyone show how the above would be written using the twisted >framework? All I'm after is a more 'i

Re: Telnetlib to twisted

2006-10-27 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Bjoern Schliessmann wrote: >> This email is confidential and may be privileged. If you are not >> the intended recipient please notify the sender immediately and >> delete the email from your computer. > > Am I the inteded recipient? I'm not listed in the headers. This is

Re: Telnetlib to twisted

2006-10-27 Thread Bjoern Schliessmann
Matthew Warren wrote: > Could anyone show how the above would be written using the twisted > framework? All I'm after is a more 'intelligent' interactive > telnet session (handles 'vi' etc..) rather than the full > capabilities of the twisted framework. Not done this until now, but have a look at

Telnetlib to twisted

2006-10-27 Thread Matthew Warren
Hallo, >>> import telnetlib >>> l=telnetlib.Telnet('dbprod') >>> l.interact() telnet (dbprod) Login: Could anyone show how the above would be written using the twisted framework? All I'm after is a more 'intelligent' interactive telnet session (handles 'vi' etc..) rather than the full capabilit