[screen] gnu screen ãå§ããã«ããã£ã¦è¦ãã¦ããã¹ãã³ãã³ãé
screenããã¾ã使ãããªããªããã¨ãæã£ãã®ã§ãscreenã«é¢ããè³æãæ¼ã£ã¦èªåç¨ã®ã¡ã¢æ¸ãããã¦ã¿ã
以ä¸ã¯ã¡ã¢
åºæ¬ã³ãã³ãã
- C-a c
- æ°ããwindowã®ä½æ
- C-a C-a
- Windowéã®ç§»å
- C-a n p
- Windowéã®ç§»å(nãåæ¹ã ï½ãå¾æ¹)
- C-a N[æ°å¤]
- Window移åã³ãã³ããæ°å¤ãæå®ãã¦ç§»åãã
- C-a "
- windowã®ãªã¹ãã表示ãã.(ã¹ã¯ãªã¼ã³ãªã¹ãä¸ã§ã¯j, kã§ç§»å, Enterã§é¸æãã§ãã)
- C-a w
- ã¿ã¤ãã«ãã¼ã«windowã®ãªã¹ãã表示ãããã
- C-a A
- ã¦ã£ã³ãã¦ã«ååãã¤ãã
- C-a K
- Windowãæ¶å»ããã
detachingããã³reattachingã³ãã³ã
screenã¯ä¸åº¦ãããçµäº(detach)ããã¦ã,å度screenã復活(reattach)ããããã¨ãã§ãã¾ãã
ããæ¹ã¯ä»¥ä¸ã®ããã«ãªãã¾ã
- C-a d
- detachã³ãã³ããscreenãçµäºããã
- screen -ls
- ç¾å¨åå¨ãã¦ããscreenããã»ã¹ã表示ããã
- screen -r ããã»ã¹å
- ä¸åº¦detachãããã®ã®ãããã¯ã°ã©ã¦ã³ãã§åãã¦ããscreenããã»ã¹ãæå®ãããã¨ã§ãscreenã復å ãããã¨ãã§ãã
ã³ãã¼ã¢ã¼ã(ã¹ã¯ãã¼ã«ã¢ã¼ã)ã
screenã®ä¾¿å©ãªæ©è½ã«ã³ãã¼ã¢ã¼ãã¨ãããã®ãããã¾ããç¹ã«ãããã¡ã®ç§»åãã³ãã¼ããã¼ã¹ãé¢é£ã®æ©è½ãå å®ãã¦ãã¾ããå®è¡ã¯ä»¥ä¸ã®ã¨ãã
- C-a [
- ã³ãã¼ã¢ã¼ããå§ãããã¾ããã¹ãã¼ã¹ã§ã³ãã¼é åãé¸æãããã¨ãã§ãã
- C-a ]
- ã³ãã¼ã¢ã¼ããçµäºãããããã¼ã¹ãã³ãã³ãã§ãããã
ã³ãã¼ã¢ã¼ãä¸ã§å®è¡ã§ããã³ãã³ã
- Space
- ã³ãã¼ã³ãã³ã.é åã®é¸æããã(ãªãã§vãããªãã®ã ï½ï½)
移åã³ãã³ãï¼vimã®ç§»åæ¹æ³ã¨åããªã®ã§vim使ãã«ã¯é¦´æã¿æ·±ããã®ã§ãã)ã詳ãããã¨ã¯viã®ãªãã¡ã¬ã³ã¹ã§ãè¦ã¦ãã ãã
- h, j, k, l
- ãããããå·¦ãä¸ãå³ãä¸
- C-d, e, f
- ãããããåç»é¢ãï¼ã¹ãã¼ã¹ãå ¨ç»é¢ åæ¹ç§»å
- C-u, y, b
- ãããã åç»é¢ã 1ã¹ãã¼ã¹ãå ¨ç»é¢ãå¾æ¹ç§»å
- g
- bufferã®å é ã«ç§»å
- G
- bufferã®æ«å°¾ã«ç§»å
splitã³ãã³ã
screenã§ã¯ç»é¢ãåå²ãããã¨ãã§ãã¾ã
- C-a S
- ç»é¢ãåå²ãã
- C-a Tab
- ç»é¢éã®ç§»åããã
- C-a X
- ç¾å¨ã®ãªã¼ã¸ã§ã³ãæ¶å»ãã
- C-a Q
- ç¾å¨ãããªã¼ã¸ã§ã³ä»¥å¤ã®ãªã¼ã¸ã§ã³ããã¹ã¦æ¶å»ãã
screenãåºã¾ã£ã¦ãã¾ã£ãå ´åã®å¯¾å¦æ¹æ³ã
screenã¯é常ã«å¼·åãªæ©è½ã§ãããå®ã¯åé¡ç¹ãããã¾ããããã¯killããããã¨ãããã¨ã§ããscreenãåºã¾ã£ã¦ãã¾ã£ãå ´åãªã©ã®å¯¾å¦æ¹æ³ã¯åãã¦ä½¿ã£ãã¨ãã«ã¯ããããªããã®ã§ããã¨ããã®ããã«ã³ãã³ãã¯ç¹æ®ãªãã¼ãã¤ã³ãã§è¨å®ããã¦ããããã§ãã以ä¸ãkillã³ãã³ãã«ãªãã¾ã
- C-a C-\
- screenã®killã³ãã³ã
åºã¾ã£ã¦ãã¾ã£ãå ´åãªã©ã«éå®ããã
ãã«ãã
ãã«ããç¥ã£ã¦ããã°screenã§ä½¿ãããã¹ã¦ã®ã³ãã³ãã«ã¤ãã¦ç¥ããã¨ãã§ãã¾ãã
- C-a ?
- ãã«ãã¢ã¼ããå®è¡ãã
ãã®ä»ã
- C-a x
- display lock ã³ãã³ã
- C-a C-l
- åæç»ã³ãã³ã
- C-a :
- screenã³ãã³ãã®å®è¡(vimã®ã¢ã¼ãã«ä¼¼ã¦ãã)
å種æ
å ±æºã
ãã¾ã®ã¨ããè¦ã¦ã¿ããåèè³æ.ãåºæ¬çã«åå¿è åãã®ãå¤ãã¨æãã.screenrcã®è¨å®æ¹æ³ã¨ããããã£ãã¬ãã«ã®è©±ã§ã¯ç¡ã
- http://aperiodic.net/screen/ start gnu screen
- çµæ§å½¹ã«ç«ã¡ãã
- http://iandeth.dyndns.org/mt/ian/archives/000570.html ä»®æ³ç«¯æ«ããã¼ã¸ã£ã¼ã®ä½¿ãæ¹
- ããã¾ã¨ã¾ã£ã¦ããªãã¨æã£ã
- http://aperiodic.net/screen/quick_reference
- ã³ãã³ããªãã¡ã¬ã³ã¹
- http://www.kuro5hin.org/story/2004/3/9/16838/14935 gnu screen tutorial
- ãã¥ã¼ããªã¢ã«ã人æ°æã
- http://polishlinux.org/howtos/screen-tips-tricks/ screen tips tricks
- ä¸ãä¸ç´è åãã£ã¦æã
- http://www.delorie.com/gnu/docs/screen/screen_toc.html screen users manual
- ã¦ã¼ã¶ããã¥ã¢ã« ãªãã ããã ãã£ã¦ãããæå¼·ãªã®ããª
ã¾ãåºæ¬ã¨ãã¦ã¯ãããããè¦ããã°ããããããª. ãã¨ã¯.screenrcã®è¨å®ã®ä»æ¹ã¨ã調ã¹ãã°ãããã