Browse Source

stop intercepting INT signals (ctrl-C)

this signal hook provoked several problems in interactive applications
as the devuan -sdk where it may be desirable and almost automatic
behavior to stop an operation with ctrl-c. intercepting this signal in
endgame then leads to frustration as all variables and current
configurations are forgotten.

it must be still assessed carefully the impact of this change in all
applications and eventually reverted to have an "interactive" mode
where zuper avoids interception.
Jaromil 2 years ago
parent
commit
f23216094a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zuper

+ 1 - 1
zuper

@@ -233,7 +233,7 @@ catch() { function TRAPZERR() { } }
233 233
 arrs+=(destruens)
234 234
 
235 235
 # Trap functions for the endgame event
236
-TRAPINT()  { endgame INT;   return $? }
236
+# TRAPINT()  { endgame INT;   return $? }
237 237
 # TRAPEXIT() { endgame EXIT;  return $? }
238 238
 TRAPHUP()  { endgame HUP;   return $? }
239 239
 TRAPQUIT() { endgame QUIT;  return $? }