vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 497097aa669697886ccdce65d41a89bdb21ff64d
parent d4d318c05fcbc4a8e38b13b1f3dc191851ce7712
Author: Christian Hesse <mail@eworm.de>
Date:   Wed, 14 Jun 2017 11:20:37 +0200

single: ignore SIGINT in self-extracting process

Diffstat:
Mvis-single.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/vis-single.c b/vis-single.c @@ -129,6 +129,8 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } + signal(SIGINT, SIG_IGN); + for (;;) { int status; int w = waitpid(child_pid, &status, 0);