SIGWINCH

SIGWINCH

Infobox Computing signal
name = SIGWINCH (non-POSIX)
description = Window resize signal (4.3BSD, Sun)
action = Ignore the signal
On some Unix-like platforms, SIGWINCH is the signal sent to a computer program when its controlling terminal changes size. The symbolic constant for SIGWINCH is defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.

Etymology

"SIG" is a common prefix for signal names. "WINCH" is an abbreviation for "window [size] change".

Usage

SIGWINCH is sent when the controlling terminal of a process changes dimensions. Typically this occurs when an xterm or other terminal emulator running in a windowing system is resized, although it can also occur on a text console, for example when the user is running a text windowing system such as GNU Screen. Processes that handle SIGWINCH can use it as an opportunity to find out the new dimensions of the terminal and adjust accordingly (in ncurses-based applications, resizing dialog boxes; in the shell, setting the values of the COLUMNS and LINES environment variables).

Usually it's used to fix the following problem: [http://lwn.net/Articles/88243/ Terminals crap on greater than 80 columns] .


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • SIGWINCH — (не POSIX) Описание: Изменение окна терминала (4.3BSD, Sun) По умолчанию: игнорировать коды SA SIGINFO (не имеет специфических кодов) В некоторых Unix системах «SIGWINCH» сигнал, посылаемый программе при изменении размеров экранного окна… …   Википедия

  • SIGWINCH — Signal bei Fensterwechsel (Window Change) unter BSD UNIX ( >xedit /usr/include/signal.h) …   Acronyms

  • SIGWINCH — Signal bei Fensterwechsel (Window Change) unter BSD UNIX ( >xedit /usr/include/signal.h) …   Acronyms von A bis Z

  • TTY-абстракция — Стиль этой статьи неэнциклопедичен или нарушает нормы русского языка. Статью следует исправить согласно стилистическим правилам Википедии. У этого термина существуют и другие значения, см. Tty. Подсистема TTY, или TTY абстракция  это одна из …   Википедия

  • SIGQUIT — Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der… …   Deutsch Wikipedia

  • SIGTSTP — Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der… …   Deutsch Wikipedia

  • Signal (Computer) — Ein Signal ist eine Systemnachricht an einen laufenden Prozess. Signale sind eine primitive Form von Interprozesskommunikation. Die meisten Signale bewirken auch eine Aktion – meist das Beenden des Prozesses. Andere hingegen dienen lediglich der… …   Deutsch Wikipedia

  • Kill (Unix) — En informatique, kill est une commande de certains systèmes d exploitation (particulièrement Unix et ses dérivés) utilisée pour demander l arrêt d un processus en cours d exécution. Sommaire 1 Implémentations 2 Exemples 3 Voir aus …   Wikipédia en Français

  • SIGALRM — Au sein des plateformes répondant aux normes POSIX, SIGALRM est le signal envoyé à un processus lorsqu une limite de temps est écoulée. La constante symbolique du pré processeur C pour SIGALRM est définie dans le fichier d en tête signal.h. Les… …   Wikipédia en Français

  • SIGINT (POSIX) —  Pour l’article homonyme, voir SIGINT.  SIGINT est, au sein des plateformes répondant aux normes POSIX, le signal envoyé à un processus afin de provoquer son interruption. La constante symbolique du pré processeur C pour SIGINT est… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”