From 19c254cf3375192e66c49ee10a6fa040704c1b4a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 22 Feb 2014 04:55:10 +0100 Subject: add sigusr2 support, toggles blueshift MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'info/blueshift.texinfo') diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index a112a93..f398c3b 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -648,6 +648,11 @@ the first parameter is the signal that is received (an integer), and zero if @kbd{Control+c} has been pressed. +Similarly @code{signal_SIGUSR1} and @code{signal_SIGUSR2} +are invoked when the programs received a SIGUSR1 signal or +a SIGUSR2 signal, respectively. SIGUSR1 reloads the +configurations and SIGUSR2 enables or disables Blueshift. + To run in continuous mode, you must implement the function @code{periodically}. It takes 8 positional arguments: -- cgit v1.2.3-70-g09d2