shell program

Hi guys ,

As you know normally ' read ' statement waits
for the user to press enter and then terminates
the input .............
Can anyone of u tell me how do i read a
single character from input without waiting
for the user to press enter ................

Thanks,
Nagesh.

Hi! That's a thing i'm looking for too!
What i do is this:
#!/usr/bin/ksh

echo " Hit enter to continue"
read hit
"the rest of my shell"

I'm sure there's something better...
Can that help?

This has been discussed...

making a .sh wait for user input