Difference between revisions of "Screen linux command"

From Teknologisk videncenter
Jump to: navigation, search
m (On console 1=)
m (Annoying flashing)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
==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
 
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:
  1. first line (you already did this)
  2. second line cancels the Wuff, Wuff!
  3. third line sets the flash to an empty string

Note that the trailing colon (:) is needed for the termcap syntax used by screen.