Solved

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

Posted on 2003-10-31
1
701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…
Six Sigma Control Plans

687 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