Telnetlib to twisted

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Warren

    #1

    Telnetlib to twisted

    Hallo,
    >>import telnetlib
    >>l=telnetlib.T elnet('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
    Digica | International AI powered software solutions company developing smart intelligent software solutions for Cloud, IoT and Embedded.


    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
    Digica | International AI powered software solutions company developing smart intelligent software solutions for Cloud, IoT and Embedded.

  • Bjoern Schliessmann

    #2
    Re: Telnetlib to twisted

    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.t elnet.
    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

    Comment

    • Marc 'BlackJack' Rintsch

      #3
      Re: Telnetlib to twisted

      In <4qeoalFmlkv3U2 @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

      Comment

      Working...