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).
Regards,
Arnaud
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]