Operating System - HP-UX
1847124 Members
5545 Online
110263 Solutions
New Discussion

Scripts and Function Keys

 
SOLVED
Go to solution
Vicente Sanchez_3
Respected Contributor

Scripts and Function Keys

Hi,

I'd like to develop a script that allow function keys utilization. Does anybody knows if its possible?

Regards, Vicente.
4 REPLIES 4
John Palmer
Honored Contributor

Re: Scripts and Function Keys

The shell only has very limited I/O capability, particularly input. You've basically got the 'read' statement and that always requires that the enter key be used.

Anything more complicated would have to be written in something like C, possibly using the curses library routines.

Regards,
John
harry d brown jr
Honored Contributor

Re: Scripts and Function Keys


perl

live free or die
harry
Live Free or Die
Chia-Wei
Advisor

Re: Scripts and Function Keys

Did you ever try using "trap"?
Bill Hassell
Honored Contributor
Solution

Re: Scripts and Function Keys

 


Bill Hassell, sysadmin