From: Andre Noll Date: Fri, 18 Mar 2016 21:46:02 +0000 (+0100) Subject: gui.c: Improve description of signal task. X-Git-Tag: v0.5.6~23^2~1 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=d77fd4e98c9979bbe7d0c801af98e9440da20e04 gui.c: Improve description of signal task. The comment to the main() function of para_gui contains a short description of all tasks which are created on startup. The description of the signal task was somewhat outdated because it referred to SIGWINCH, which is not responsible for the handling of terminal size changes any more. This patch removes the outdated part from the comment and adds an explanation of the action on SIGUSR1. --- diff --git a/gui.c b/gui.c index 8d44fb44..bb1625d7 100644 --- a/gui.c +++ b/gui.c @@ -1491,9 +1491,9 @@ static int setup_tasks_and_schedule(void) * The exec task is responsible for printing the output of the currently * running executable to the bottom window. * - * The signal task performs suitable actions according to any signals received. - * For example it refreshes all windows on terminal size changes and resets the - * terminal on \p SIGTERM. + * The signal task performs various actions according to signals received. For + * example, it reloads the configuration file on SIGUSR1, and it shuts down the + * curses system on SIGTERM to restore the terminal settings before exit. * * The input task reads single key strokes from stdin. For each key pressed, it * executes the command handler associated with this key.