Next: , Previous: , Up: Window Settings   [Contents][Index]


10.6 Monitoring

Command: activity message

(none)
When any activity occurs in a background window that is being monitored, screen displays a notification in the message line. The notification message can be redefined by means of the activity command. Each occurrence of ‘%’ in message is replaced by the number of the window in which activity has occurred, and each occurrence of ‘^G’ is replaced by the definition for bell in your termcap (usually an audible bell). The default message is

'Activity in window %n'

Note that monitoring is off for all windows by default, but can be altered by use of the monitor command (C-a M).

Command: defmonitor state

(none)
Same as the monitor command except that the default setting for new windows is changed. Initial setting is ‘off’.

Command: monitor [state]

(C-a M)
Toggles monitoring of the current window. When monitoring is turned on and the affected window is switched into the background, the activity notification message will be displayed in the status line at the first sign of output, and the window will also be marked with an ‘@’ in the window-status display (see Windows). Monitoring defaults to ‘off’ for all windows.

Command: silence [state|sec]

(C-a _)
Toggles silence monitoring of windows. When silence is turned on and an affected window is switched into the background, you will receive the silence notification message in the status line after a specified period of inactivity (silence). The default timeout can be changed with the silencewait command or by specifying a number of seconds instead of on or off. Silence is initially off for all windows.

Command: defsilence state

(none)
Same as the silence command except that the default setting for new windows is changed. Initial setting is ‘off’.

Command: silencewait seconds

(none)
Define the time that all windows monitored for silence should wait before displaying a message. Default is 30 seconds.


Next: , Previous: , Up: Window Settings   [Contents][Index]