URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 40477
[ Назад ]

Исходное сообщение
"а CTRL+C - это SIGQUIT или SIGTERM ?"

Отправлено Lamr , 12-Фев-04 13:35 
subj

Содержание

Сообщения в этом обсуждении
"а CTRL+C - это SIGQUIT или SIGTERM ?"
Отправлено Nimdar , 12-Фев-04 13:47 
А поисковики что, отменили?

"а CTRL+C - это SIGQUIT или SIGTERM ?"
Отправлено SnaiL , 12-Фев-04 18:30 
>subj

TERMINATION ...


"а CTRL+C - это SIGQUIT или SIGTERM ?"
Отправлено lavr , 12-Фев-04 20:12 
>subj

# man stty


[unix1]~ > stty -a | grep intr
        eol2 = <undef>; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
[unix1]~ >

intr=ctrl-c

# man 4 termios

   Special Characters
     Certain characters have special functions on input or output or both.
     These functions are summarized as follows:

     INTR    Special character on input and is recognized if the ISIG flag
             (see the Local Modes section) is enabled.  Generates a SIGINT
             signal which is sent to all processes in the foreground process
             group for which the terminal is the controlling terminal.  If
             ISIG is set, the INTR character is discarded when processed.

оно? :)