cmd1.c: use sigman, needed for new colour..
commit7c0896e4061944f01a8610e956a193802cd7a055
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Mon, 9 Nov 2015 13:45:14 +0000 (9 14:45 +0100)
committerSteffen (Daode) Nurpmeso <steffen@sdaoden.eu>
Thu, 15 Sep 2016 13:57:30 +0000 (15 15:57 +0200)
tree3d8a334b50cac0cb1ecca35715bdfc2345d9ef3f
parent6aa0ab2bcf396154c025d389c1b9931767a08603
cmd1.c: use sigman, needed for new colour..

the problem being that we want to do some cleanup and not simply
jump away on interrupt, which the code currently doesn't handle.
E.g., when interrupted within less(1) then less(1) ignores the
interrupt, but the code backing it (we, that is) does take care
for it.  This is completely brain damaged (like stated a thousand
times we should place kids in their own process group and isolate
them otherwise and when they take the terminal then it is THEIR
terminal and we shouldn't act upon just anything until they
return! DAMN!!) and now even results in crashes with the new
colour code, so ensure we do at least perform proper cleanup when
producing a brain fart.
cmd1.c