Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simulate Function Keys

Status
Not open for further replies.

rraney

Programmer
May 18, 2000
11
0
0
US
Hello
I have some scripts that I use to run a screen driven application. To simulate the user input to the application I build a datafile containing the keystrokes that the user would enter.
echo "BATCH\nBATCH\nQ\r" > keys
creates the file that would log me in as BATCH the Quit the Application.
I can accomplish just about anything that I need, Until I need a FunctionKey.
How can I get the keys file to contain the value for Function Keys.

Thanks

Raney
 
try using [tt]stty[/tt] in a command prompt to see what your terminal is sending when you press these function keys...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top