Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Expect and Terminal Server connections

Has anyone had experience using expect to connect through a cisco router configured as a terminal server? I'm interested in finding out how to send the <SHIFT><CTRL>6 key sequence through expect.

  • Other Network Infrastructure Subjects
3 REPLIES
Silver

Re: Expect and Terminal Server connections

I have not used Expect as such, but have a url which could be useful. http://expect.nist.gov/

Alternatively, you can use, Hyperterminal to connect to the Terminal server and telnet to the router. you can use the option TCP/IP winsock while connecting . Then the Ctrl+Shift +6 keys can be used.

New Member

Re: Expect and Terminal Server connections

Thank you, I've looked as expect.nist.gov, but I haven't purchased the expect book yet.

Unfortuanely I'm trying to do this function through a set of hands-off scripts, so I don't think the hyperterm option will work out (that is what our Field Engineers use now, but we're trying to protect the system from them!).

New Member

Re: Expect and Terminal Server connections

If you know the ASCII value of the sequence (30??), you could then use the octal value of that and preface it with a "\". For example, if it is 30, then the octal value would be 36 and you could have send "\036". See http://www.hume.com/html83/mann/Tcl.html for more info.

188
Views
0
Helpful
3
Replies
This widget could not be displayed.