AIX 5.2 (ksh)
I have another question pertaining to stty. Here is what I have:
stty intr '^-' susp '^-' dsusp '^-' quit '^-' # Disable ^C, ^Z, ^Y
echo "back to a.sh"
echo "inside b.sh...."
stty intr '^c'
After I execute a.sh (and when it is inside b.sh), if I hit Ctrl-C
while it is 'sleeping', I get back to the command prompt. Is there a
way I can prevent that and instead pass the control back to a.sh to the
line after /tmp/b.sh? (in this case, it would be the 'echo' command)
Thanks for any suggestions.