tags 328982 fixed-upstream
thanks

On Sun, Sep 18, 2005 at 04:51:53PM +0200, Arnaud Giersch wrote:
> Package: man-db
> Version: 2.4.3-2
> Severity: normal
> 
> Hello,
> 
> The man command uses less as default pager.  Within less, Ctrl-C can
> normally be used to interrupt current action (such as command line
> editing).  With the latest version of man-db (2.4.3-2), typing Ctrl-C
> kills less, which is a bit annoying.  It works correctly with Sarge's
> man-db (2.4.2-21).
> 
> The difference comes from the fact that in previous versions, the
> function do_system() (from file src/util.c) used the standard function
> system(3), which makes the calling process ignore signals SIGINT and
> SIGQUIT.  Now, do_system() does not use system(3) anymore, and thus
> does not ignore SIGINT.
> 
> So I suggest to ignore SIGINT (and maybe SIGQUIT too?), either in
> do_system() (from file src/util.c), or in pipeline_wait() (from file
> lib/pipeline.c).

Thanks for the report; I've fixed the pipeline library upstream to
ignore SIGINT and SIGQUIT. I'll backport the fix to 2.4.3 in Debian soon
as well.

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to