arunkumar.ceg
Programmer
Hi,
I'm new to Unix and 4GL. I am assigned a task to automate few things. I've a 4gl program which when executed, it is opening a screen where user has to press just F7, F8, F12 something like this. It will then navigate to different menus and different screen and does some functionality.
My job is to automate these set of actions. My question is, how can I pass function key strokes to the 4GL executable and navigate through screens. can I automate through shell or perl scripts?
I tried something like "ksh -c "echo ; $(tput kf9)|/path/prog.exe"
It just opened the screen and exit abruptly. How can I pass in correct way.
I'm new to Unix and 4GL. I am assigned a task to automate few things. I've a 4gl program which when executed, it is opening a screen where user has to press just F7, F8, F12 something like this. It will then navigate to different menus and different screen and does some functionality.
My job is to automate these set of actions. My question is, how can I pass function key strokes to the 4GL executable and navigate through screens. can I automate through shell or perl scripts?
I tried something like "ksh -c "echo ; $(tput kf9)|/path/prog.exe"
It just opened the screen and exit abruptly. How can I pass in correct way.