bbfu has asked for the wisdom of the Perl Monks concerning the following question:
I'm not sure if this is totally a Perl question but crazyinsomniac said I should post it.
I have a script that uses Net::Telnet to log into a server and execute an application. I've got it all working except that a few of the application's menus require function keys (eg: F7, F10, etc). I cannot seem to figure out how to send function keys over the telnet session.
I figured that it must be either an ANSI or ASCII special sequence that I need to send but I can't get it to work.
I've found this link, which contains some info about function keys as ASCII special sequences. This page has info about function keys as ANSI special sequences. Neither of these seem to be what I need, as nothing I do works. =(
If someone can give me a clue as to why it's not working, or point me in the direction of further information, I would much appreciate it.
I'm hoping that someone has handled this sort of thing before and can help me. I can probably manage to get along without using the function key items but it will limit what the script is able to do.
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Function keys via Net::Telnet
by Dragonfly (Priest) on Apr 04, 2001 at 09:25 UTC | |
by bbfu (Curate) on Apr 04, 2001 at 09:57 UTC | |
by kschwab (Vicar) on Apr 04, 2001 at 19:34 UTC | |
by bbfu (Curate) on Apr 04, 2001 at 23:35 UTC |