Solved

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

Posted on 2003-10-31
1
690 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

11 Experts available now in Live!

Get 1:1 Help Now