Next: , Previous: , Up: Miscellaneous commands   [Contents][Index]


20.2 Break

Command: break [duration]

(C-a b, C-a C-b)
Send a break signal for duration*0.25 seconds to this window. For non-Posix systems the time interval is rounded up to full seconds. Most useful if a character device is attached to the window rather than a shell process (see Window Types). The maximum duration of a break signal is limited to 15 seconds.

Command: pow_break

(C-a B)
Reopen the window’s terminal line and send a break condition.

Command: breaktype [tcsendbreak|TIOCSBRK|TCSBRK]

(none)
Choose one of the available methods of generating a break signal for terminal devices. This command should affect the current window only. But it still behaves identical to defbreaktype. This will be changed in the future. Calling breaktype with no parameter displays the break setting for the current window.

Command: defbreaktype [tcsendbreak|TIOCSBRK|TCSBRK]

(none)
Choose one of the available methods of generating a break signal for terminal devices opened afterwards. The preferred methods are tcsendbreak and TIOCSBRK. The third, TCSBRK, blocks the complete screen session for the duration of the break, but it may be the only way to generate long breaks. tcsendbreak and TIOCSBRK may or may not produce long breaks with spikes (e.g. 4 per second). This is not only system dependent, this also differs between serial board drivers. Calling defbreaktype with no parameter displays the current setting.