HI David Korn:
thanks for your reply; I don't know how to get the version of ksh,
and searched the web, it tells under ksh, run "set -o emacs" and then end
"CTRL+V". then I got "Version M-11/16/88i"; I don't know whether it is of the
version of ksh.
In fact, I am the ksh of solaris 10 default ksh. it really shows what I
get. I really difficult for me to understand when a.out return 0 when hit
ctrl+c, the script can also catch SIGINT, but when it returns 1, the script
can't catch SIGINT.
could you please tell whethe or not the script should catch SIGINT when
a.out returns.
I run the case in bash under the same OS, the script both catch the
SIGINT and continue to run the echo in a(). it is really different from ksh.
--
This message posted from opensolaris.org