GNU screen

Computer/linux 2011.03.24 01:00

  • screen -S jhlee -c .screenrc.jhlee

  • type ctrl+c in order to create multiple or new window


  • crtl-a d to detach screen
    [ou-qweak] ... 2 tcsh  3 tcsh  4 tcsh  5 tcsh  6 tcsh  7 tcsh  8 tcsh  (9-tcsh)  [2011/Mar/23 11:54]
    [detached]

  • screen -ls
    There is a screen on:
            23461.jhlee     (Detached)
    1 Socket in /var/run/screen/S-jhlee.

  • screen -r 23461.jhlee to attach

  • .screenrc or .screenrc.jhlee

    termcapinfo xterm|xterms|xs|rxvt ti@:te@
    caption always "%{= kc}[%H] %L=%=%-w%45L>(%n-%t)%+w %=%-19=%{= .r}[%Y/%M/%d %c]"


  • screen -x 23461.jhlee   to attach to a not detached screen session. (Multi display mode).
  •   C-a <Esc> Enter copy/scrollback mode.  (See
                "Copy/scrollback mode" section below.)
    
      C-a ]     Send the contents of the paste buffer to the
                program running in the current window.  (See
                "Copy/scrollback mode" section below.)
  • references



posted by citadel