Solved

Sending Special Character(PAGE DOWN) to Net::Telnet

Posted on 2003-10-31
1
691 Views
Last Modified: 2012-05-04
I am writing a program to login to Avaya Definity EPABX using Net::Telnet and executing some commands. The output of the command is more than one page long and expects PAGE DOWN key to be pressed to get the next page output.

How do I send {PAGE DOWN} key to Telnet session
0
Comment
Question by:globalvasu
1 Comment
 
LVL 16

Accepted Solution

by:
_nn_ earned 250 total points
ID: 9657300
I guess it would depend of the terminal emulation. I found this page interesting :
http://www.tek-tips.com/gfaqs.cfm/lev2/9/lev3/89/pid/690/fid/1728

Based on these infos, and if you're using AT&T513 emul, I'd say that you need to send something like "\x1b[U"
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remove Malware code from PHP file 6 74
Perl Script to append xml file 32 192
pattern matching in perl 2 101
Put query string from URL request -  PERL HTTP Daemon 2 73
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now