On 5 June 2012 01:40, Roland Mainz <[email protected]> wrote: > On Tue, Jun 5, 2012 at 1:26 AM, Roland Mainz <[email protected]> wrote: >> On Solaris 11/B145 AMD64 builds of ast-ksh.2012-05-31 (we tested all >> four combinations of {32bit,64bit}*{Sun Studio 12.1, gcc3.4.3} ) shows >> weired behaviour with CTRL-Z: >> >> If I put a builtin utility into a subshell and then use CTRL-Z to stop >> it for job control it does not respond... a 2nd CTRL-Z then behaves as >> expected: >> -- snip -- >> bash4.0$ ./arch/sol11.i386/bin/ksh >> $ ( sleep 5 ) >> ^Z^Z[1] + Stopped ( sleep 5 ) >> -- snip -- >> >> Our Linux builds behave as expected (e.g. CTRL-Z immediately stops the >> job for job control) ... it somehow looks like a Solaris-specific >> issue... ;-( > > A "simple" workaround is to use "ulimit -c 0" to force ksh93 to > |fork()| for the subshell... then the CTRL-Z works as expected at the > first usage: > -- snip -- > $ ( ulimit -c 0 ; sleep 5 ) > ^Z[1] + Stopped ( ulimit -c 0 ; sleep 5 ) > -- snip --
I can reproduce the problem (^Z needed twice) on my Solaris machines, too. Ced -- Cedric Blancher <[email protected]> Institute Pasteur _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
