×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    Revision as of 22:01, 28 October 2006 by imported>Hundfred

    Eine Console kann man zu zweit (oder auch mit noch mehr Leuten) bearbeiten indem man so vorgeht:


    User A meldet sich als root an. Und tippt screen. Dann muss man einmal auf Return drücken und hat erstmal ne Console in der man normal arbeiten kann.

    User B meldet sich auch als root an und tippt screen -list um die Screen-ID heraus zu bekommen. Dann noch screen -x ID und schon sind zwei Leute in einer Console.

    suse:/home/took # screen -list
    There is a screen on:
            7565.pts-2.suse (Attached)
    1 Socket in /var/run/screens/S-root.
    
    suse:/home/took # screen -x 7565


    screen inside screen inside screen

    File:Screen.png
    screen inside screen

    ... ausserdem ist es sehr nett, wenn man innerhalb der ~/screenrc einige eintellungen vornimmt:

    # Begin ~/.screenrc
    
    caption always "%{rk}%H %{yk}%d-%m-%YT%c -- %{= kc}%?%-Lw%?%{= kY}%n*%f %t%?(%u)%?%{= kc}%?%+Lw%?"
    sorendition |  | kG # black | on bold green
    
    activity |  |  |  |  |  |  | "%C -> %n%f %t activity!"
    
    bind h hardstatus ignore
    bind g hardstatus alwayslastline
    
    startup_message off
    
    screen -ln -t title 0
    #and so on
    
    compacthist on
    
    # EOF
    


    man screen

    <man>screen</man>

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.