Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Shell echo missing after ctrl+c
Date: Tue, 21 Mar 2017 07:24:24
Message-Id: 20170321082350.4b47e0a2@jupiter.sol.kaishome.de
In Reply to: [gentoo-user] Re: Shell echo missing after ctrl+c by Ian Zimmerman
1 Am Sun, 19 Mar 2017 22:00:31 -0700
2 schrieb Ian Zimmerman <itz@×××××××.net>:
3
4 > On 2017-03-19 22:09, Walter Dnes wrote:
5 >
6 > > If killed with CTRL-C or "kill -9" or "kill -15", it doesn't have a
7 > > chance to restore echoing, and you get the situation you
8 > > described.
9 >
10 > Correct about kill -9, but properly programmed full screen programs
11 > _do_ install signal handlers for SIGTERM (kill -15) and SIGINT (^C)
12 > to avoid this situation. The ncurses library even does that for
13 > programs that link with, IIRC (it has been a while since I've done
14 > any of that stuff).
15
16 Wasn't there a change in ncurses to remove the tinfo part from being
17 linked into everything? Maybe that is related?
18
19 > One reason why you should consider gentler means before taking a
20 > SIGKILL (kill -9) to a misbehaving program.
21
22
23 --
24 Regards,
25 Kai
26
27 Replies to list-only preferred.