Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wm:screen [2009/04/22 12:36]
twisla created
wm:screen [2010/01/12 13:29] (current)
Line 1: Line 1:
 +=====Screen tips=====
  
 +
 +====rattacher tous ses screens d'un coup====
 +
 +<​code>​
 +screen -ls | grep tached | awk '{ split($1, x, "​."​);​ print x[1] }' | while read i; do xterm -e screen\ -dx\ $i &; done
 +</​code>​
 +
 +====Switcher automatiquement entre ses screens ====
 +<​code>​
 +sh -c 'n=0; while true ; do  echo n=$n ; screen -x -X select $n ; n=`expr $n + 1`; if [ $n = 4 ]; then n=0; fi ; sleep 5 ; done'
 +</​code>​
 +(from [[http://​www.feyrer.de/​NetBSD/​bx/​blosxom.cgi/​nb_20090502_2329.html|hubertf@]])
wm/screen.txt ยท Last modified: 2010/01/12 13:29 (external edit)