stty weirdness

David Cantrell david at cantrell.org.uk
Mon Sep 10 21:15:13 BST 2007


On Sun, Sep 09, 2007 at 11:34:35PM +0100, IvorW wrote:
> David Cantrell wrote:
> > Can anyone think of a reason why, when I ssh to a Solaris machine, C-c
> > doesn't interrupt?
> Is SIGINT happening? Is anything catching SIGINT?

I doubt it.  All I'm doing is sshing to the machine, getting a shell,
and running 'sleep 100' and trying to interrupt it.

Hrrm, curiouser and curiouser.  This:
  perl -e '$SIG{INT} = sub { print "caught a signal\n" };sleep 10'

catches the signal and spits "caught a signal".

-- 
David Cantrell | Nth greatest programmer in the world

Cum catapultae proscriptae erunt tum soli proscript catapultas habebunt


More information about the london.pm mailing list