Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2010 22:27:32 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh jobs.c
Message-ID:  <201006062227.o56MRww5061904@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2010-06-06 22:27:32 UTC

  FreeBSD src repository

  Modified files:
    bin/sh               jobs.c 
  Log:
  SVN rev 208881 on 2010-06-06 22:27:32Z by jilles
  
  sh: Pass through SIGINT from a child if interactive and job control
  is enabled.
  
  This already worked if without job control.
  
  In either case, this depends on it that a process that terminates due to
  SIGINT exits on it (so not with status 1, or worse, 0).
  
  Example:
    sleep 5; echo continued
  This does not print "continued" any more if sleep is aborted via ctrl+c.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.77      +6 -0      src/bin/sh/jobs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006062227.o56MRww5061904>