Difference between revisions of "Screen linux command"
From Teknologisk videncenter
m (Created page with "On console 1 <source lang=cli> screen </source> On console 2 - Same user as on console 1 <source lang=cli> screen -x </source> {{Source cli}} category:Linux[[category:Linux C...") |
m (→Annoying flashing) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | On console 1 | + | =Split screen= |
+ | Two consoles working together | ||
+ | ==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=: | ||
+ | The settings are: | ||
+ | </source> | ||
+ | #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 16:52, 17 November 2023
Split screen
Two consoles working together
On console 1
screen -S banan
On console 2
Same user as on console 1
screen -x banan
Annoying 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.