Difference between revisions of "Screen linux command"
From Teknologisk videncenter
m |
m (→Annoying flashing) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Split screen= | =Split screen= | ||
Two consoles working together | Two consoles working together | ||
| − | =On console 1== | + | ==On console 1== |
<source lang=cli> | <source lang=cli> | ||
| − | screen | + | screen -S banan |
</source> | </source> | ||
==On console 2== | ==On console 2== | ||
| − | + | Same user as on console 1 | |
<source lang=cli> | <source lang=cli> | ||
| − | screen -x | + | screen -x banan |
</source> | </source> | ||
| + | ==Annoying flashing== | ||
| + | You can do what you want in a terminal-independent way using just your ''.screenrc'' | ||
| + | <source lang=bash> | ||
| + | vbell on | ||
| + | vbell_msg '' | ||
| + | termcapinfo * vb=: | ||
| + | </source> | ||
| + | The settings are: | ||
| + | |||
| + | #first line (you already did this) | ||
| + | #second line cancels the Wuff, Wuff! | ||
| + | #third line sets the flash to an empty string | ||
| + | |||
| + | Note that the trailing colon (:) is needed for the termcap syntax used by screen. | ||
| + | |||
{{Source cli}} | {{Source cli}} | ||
[[category:Linux]][[category:Linux Command]] | [[category:Linux]][[category:Linux Command]] | ||
Latest revision as of 06:38, 9 September 2025
Split screen
Two consoles working together
On console 1
screen -S bananOn console 2
Same user as on console 1
screen -x bananAnnoying flashing
You can do what you want in a terminal-independent way using just your .screenrc
vbell on
vbell_msg ''
termcapinfo * vb=:
The settings are:
- first line (you already did this)
- second line cancels the Wuff, Wuff!
- third line sets the flash to an empty string
Note that the trailing colon (:) is needed for the termcap syntax used by screen.