Difference between revisions of "Screen linux command"

From Teknologisk videncenter
Jump to: navigation, search
m
m (On console 2)
Line 9: Line 9:
 
<source lang=cli>
 
<source lang=cli>
 
screen -x banan
 
screen -x banan
 +
</source>
 
==Annoying flashing==
 
==Annoying flashing==
 
You can do what you want in a terminal-independent way using just your ''.screenrc''
 
You can do what you want in a terminal-independent way using just your ''.screenrc''
Line 21: Line 22:
 
third line sets the flash to an empty string
 
third line sets the flash to an empty string
 
Note that the trailing colon (:) is needed for the termcap syntax used by screen.
 
Note that the trailing colon (:) is needed for the termcap syntax used by screen.
</source>
+
 
 
{{Source cli}}
 
{{Source cli}}
 
[[category:Linux]][[category:Linux Command]]
 
[[category:Linux]][[category:Linux Command]]

Revision as of 16:51, 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.