[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

hotkey



To: redhat-list redhat com
Subject: hotkey

I wrote the following note to Red Hat Technical Support 
and got no help, so I hope someone on this list may be more 
willing and able to provide an answer:

j> Does the Red Hat Linux distribution have a utility which allows 
j> "hot-key" key'd input in a shell-script?
j> For example, if one sets up a shell script to prompt for a response 
j> to start some operation, one might do something like this: 
j> echo -e "Do you want to continue? (y/n) \c"; read ans
j> In this case, the response requires that one type either: y <ENTER> 
j> or n <ENTER>
j> But can this be done so that by typing either "y" or "n" will 
j> get an immediate response without having to press <ENTER>?

rh> Yes, quite a few programs use that feature.
rh> Please note that programming is a customization and administrative
rh> issue and doesn't fall under the installation support we can provide.
rh> ...
rh> I am closing this ticket because this is not a supported issue ...

So, can anyone on this list provide a better answer? 

Thanks.

joe whidbey net





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]