By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,244 Members | 2,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,244 IT Pros & Developers. It's quick & easy.

Telnetlib to twisted

P: n/a
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 capabilities of the
twisted framework.
Thanks,

Matt.
This email is confidential and may be privileged. If you are not the intended recipient please notify the sender immediately and delete the email fromyour computer.

You should not copy the email, use it for any purpose or disclose its contents to any other person.
Please note that any views or opinions presented in this email may be personal to the author and do not necessarily represent the views or opinions ofDigica.
It is the responsibility of the recipient to check this email for the presence of viruses. Digica accepts no liability for any damage caused by any virus transmitted by this email.

UK: Phoenix House, Colliers Way, Nottingham, NG8 6AT UK
Reception Tel: + 44 (0) 115 977 1177
Support Centre: 0845 607 7070
Fax: + 44 (0) 115 977 7000
http://www.digica.com

SOUTH AFRICA: Building 3, Parc du Cap, Mispel Road, Bellville, 7535, South Africa
Tel: + 27 (0) 21 957 4900
Fax: + 27 (0) 21 948 3135
http://www.digica.com
Oct 27 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 twisted.conch.telnet.
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.

Regards,
Björn

--
BOFH excuse #439:

Hot Java has gone cold

Oct 27 '06 #2

P: n/a
In <4q************@individual.net>, 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 irrelevant because the whole paragraph is about emails and not
about newsgroup postings. ;-)

Ciao,
Marc 'BlackJack' Rintsch
Oct 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.