Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ããããªãGNU screenããã¾ã¾ã§ãããã¨ãã ããããã°GNU screenãzshãå¦çæ代ããã®ä»ãåããªã®ã§ããã10å¹´ã©ãããããªã使ã£ã¦ããã»ã»ã»ã é·ãã使ã£ã¦ããä»®æ³ç«¯æ«ã¢ããªGNU screenãããæè¿ä½ãã¨è©±é¡ã®tmuxã«ããã®é±æ«ã§ä¹ãæãã¾ãããä»ã¾ã§ã¯ã¡ãã£ã¨æ°ã«ãªã£ã¦ä½¿ã£ã¦ã¿ããã¨ã¯ããã¾ããããã¡ã¤ã³ã®ä½æ¥ç°å¢ãåããããã¾ã§ã¯æ±ºæã§ããã«ãã¾ãããæ £ããªããã¼ã«ã§ä½æ¥å¹çãè½ã¡ãã®ã¯æ¬æ«è»¢åã ãã ãã ãä»åãåãæ¿ãããã¨æ±ºæããã®ã«ã¯çç±ãããã¾ããå®ã¯æè¿ãè¤æ°å°ã®ãµã¼ãã¼ãè¨å®ããä½æ¥ããã£ããã§ããçµå±ãå°æ°åãåãã³ãã³ããåãããã«æã£ã¦ãã¦ãç¡é§ã ãªãã¨æã£ãã®ããã£ãããåãã³ãã³ããè¤æ°ã®ã¿ã¼ããã«ã«åæã«æå ¥ããããããã ãã®ã·ã³ãã«ãªçç±ããã§ãã ãããã調ã¹ã¦ã¿ãã¨ãã©ãã«ãæè¿ã®ãã¬ã³ãã¯ãMacã§iTerm2ã§ãtmu
GNU screenã¯ããå¤ãã®ã§çããtmuxã¸ç§»è¡ãã¾ããããã¨ãã話ãGentooãªãemerge tmuxã ã¹ã¯ãªã¼ã³ã·ã§ãã æå ã®tmuxãæ®ã£ã¦ã¿ãã縦åå²ã¢ã¼ããã¦ã£ã³ãã¦ããã¼ã¸ã£ã¯awesomeãå·¦ã®ircã¯ã©ã¤ã¢ã³ãã¯weechatã æ¬å®¶ã«ãããã¤ãã¹ã¯ãªã¼ã³ã·ã§ãããããã tmuxã¸ç§»è¡ããçç±ï¼ã¡ãªããï¼ æ¨æºè¨å®ã®ã¾ã¾ã§ããããªãã«ä½¿ããã¹ãã¼ã¿ã¹ãã¼ åã·ã§ã¼ãã«ãããã³ãã³ããã¼ã¹ï¼ã³ãã³ãã§æä½ãã§ããï¼ æ¨æºã§ç¸¦åå²æ©è½æè¼ GNU screenããã¾ã«åºã¾ãåé¡ï¼ãçºçããã®ã¯ç§ã ãï¼ï¼ãçºçããªããã ãã¥ã¼å°ç¨ã®ã¹ã¯ãã¼ã«ã¢ã¼ã æè»ãªãã¤ã³å¶å¾¡ ã³ãã¼ï¼ãã¼ã¹ãç¨ã®ãããã¡ãè¤æ°ä¿æã§ãã terminfoçã«screenäºæ ã¡ã¢ãªæ¶è²»éãå°ãªã(GNU screenã®ç´1/5) ä¸é¨æ©è½ã§ãã¦ã¹ã使ç¨ã§ãã(mode-mouse, mo
ãã£ã¨screen使ã£ã¦ããã©ã æ代ã¯GNU screenããtmux㸠- Gãã¤ãã¼å¿å ã®ã¿ã¤ãã«ã«ãããã¦å¤ãã¦ã¿ãã å人çscreenã®å©ç¹ ãããã¯ã¼ã¯åã£ã¦ãå¥ã®ã¯ã©ã¤ã¢ã³ãããã§ãåãç¶æ ããåéã§ããã ãããã¯ã¼ã¯åã£ã¦ãããã»ã¹æ¢ã¾ããªããnohupè¦ããã åºæ¬åããã¨ã ãã©ããããã¨ã¦ãç´ æ´ããã ã¨ãããã¨ã§ã¡ããã¨ãããã§ããã確èªããã¨ããã£ããã§ããã screenã®å ´åã¯è¨å®ãå¿ è¦ã ã£ãdetachæä½ããã«ãããã¯ã¼ã¯ãåã£ãã¨ãã«èªåçã«ãã¿ãããã(autodetach on)ãããã©ã«ãã§åä½ã (tmuxã ã¨detach-on-destroy) .tmux.conf .screenrcã«ããããã®ã¯~/.tmux.conf åºæ¬çãªèª¬æã¨ãã¯ä»¥ä¸ãªã³ã¯åç §ã .tmux.confããã«ããã«ããã - mizchi log 以ä¸ãèªåã®è¨å®
B! 215 0 1 0 ã¿ã¼ããã«ãã«ããã¬ã¯ãµã¨ã㦠GNU Screen ãæ®æ®µä½¿ã£ã¦ãã¾ããã tmux ã®æ¹ãæ´»çºã«éçºããã¦ãæ§ã«è¦ããã ä¹ã移ã£ã¦ã人ãæ²¢å±±å± ãã¿ãããªã®ã§æ°ã«ãªã£ã¦ä½åº¦ã試ãã¦ã¿ã¾ãããã ã¤ãã¤ãéããå¸ååºæ¥ãã«Screenã«æ»ã£ã¦ãã¦ã¾ããã ç¡çã«ç§»è¡ããçç±ãããç¨ç¡ãã§ãããã¾ã試ãã¦ã¿ãã®ã§ åãæ¢ããéããªã©ã®ã¡ã¢ã è¨å®ãã¡ã¤ã« Prefix (Escape) ã³ãã³ãã¢ã¼ã ãã¼è¨å®ä¸è¦§ ãã¿ãã/ã¢ã¿ãã ãã¼ãã¤ã³ã ã³ãã¼ã¢ã¼ã/å±¥æ´ã¹ã¯ãã¼ã«ãã㯠Session/Layout/Window/Pane split å ¨Paneã«åæå ¥å swap-paneã®åé¡ Status表示 .bashrcãªã©ã§ã®å¤ææ¹æ³ éããç解ã§ããã è¨å®ãã¡ã¤ã« screen tmux ãã¡ã¤ã«å ~/.screenrc ~/.tmux.conf
B! 18 0 0 0 tmuxã«æ £ãã¦ã¿ã: tmuxã¨GNU screenã®éããªã© ããå§ã¾ã£ã¦tmuxãæ«ã試ãã¦ãã¾ãããã ãã®ä¸ã§æ°ã¥ãã ä¸æ¹ã§åºæ¥ããã©åºæ¥ãªããã¨ã ä¸æ¹ã®æ¹ãåªãã¦ãç¹ã«ãªã©ã«ã¤ãã¦ã ã§ãçµå±ã©ã¡ãã使ããã screenã®è¯ãæ tmuxã®è¯ãæ ã¾ã¨ã screenã®è¯ãæ ã¹ãã¼ã¿ã¹ã©ã¤ã³ã§å ¨Window表示ãç°¡åã«åºæ¥ã1ã(tmuxã§ã¯å ¨Paneã表示ãããã¨ããã¨ã¡ãã£ã¨å¤§å¤ããªä¸ãåãæ¿ãã£ãç´å¾ã«ãã¡ãã¨è¼ãããã¨ãä¸æãåºæ¥ãªãã) åé å(Window)ãã¨ã«ãã£ãã·ã§ã³ãä»ããããã ã³ãã³ãã®ãã¹ããªã¼ãæ®ã£ã¦åå©ç¨åºæ¥ãã åæã«äºç®æã«åãWindowãåºãã(ä½ãæå³ãªã?) ãã¼ãã¤ã³ãæã«command classãå®ç¾©ã§ããè¤éãªé£ç¶ãã¼å ¥åã«ããã³ãã³ãå®è¡ãå¯è½ã ã³ãã¼ã¢ã¼ãæã«Yã ãã§ä¸è¡ã³ãã¼å¯è½2ã(ã³
Macã§ãPCã§ããæè¿ã¯ã·ãªã¢ã«(Serial)端åãè¦ãããªããªã£ã¦ãã¾ã£ãã åãæã¯ä»äºãã·ã³ã¯Windowsã使ã£ã¦ããã®ã ããã©ããæè¿ã¯Macä¸è¾ºåã ãããããã¯ã¼ã¯æ©å¨ã®è¨å®ãããã«ããKindleãNASãªã©ã®çµã¿è¾¼ã¿Linuxæ©å¨ãã¯ã£ãããã«ãã·ãªã¢ã«ç«¯åãå½ãªã®ã§ãMacã§ã·ãªã¢ã«éä¿¡ãã§ããããã«ãã¦ã¿ãã ã¾ãã¯USBã·ãªã¢ã«ã¢ããã¿ã¼ ä¸èª¿ã¹ãããã¨ãããç§æé»åéåã売ã£ã¦ãããFT232RL USBã·ãªã¢ã«å¤æã¢ã¸ã¥ã¼ã«ãã£ã¦ããã¢ã¸ã¥ã¼ã«ã950åã¨å®ãã£ããã¢ã¸ã¥ã¼ã«ãªã®ã§ãçµã¿è¾¼ã¿Linuxæ©å¨ã«æ¥ç¶ãããããªã©ã«ä½¿ãã®ãåãTTLã¬ãã«ã§ã·ãªã¢ã«éä¿¡ããããã¨ããã¨ã家é»é販åºãªã©ã§å£²ã£ã¦ããã±ã¼ãã«ãæ¹é ããããããããã¢ã¸ã¥ã¼ã«ãè²·ãããé¸æãããã¨ã«ãªãã Webãµã¤ãã説ææ¸ã«ã¯ãWindowsã®ãã©ã¤ãã®ãã¨ããæ¸ãã¦ç¡ãã£ãããã©ããã
ã¿ã¤ãã«ã¯âã®è¨äºã¸ã®ãªãã¼ã¸ã¥ã§ãã Mac 㧠GNU screen ã使ãæã«ããã¹ããã£ãä¸è¡ã®è¨å® - #çåæ¦ç¥ ããã㯠- subtech ããã§ç´¹ä»ããã¦ã termcapinfo xterm* ti@:te@ ã«ã¤ãã¦èª¿ã¹ã¾ãããããã® FAQ ã«è©³ããæ¸ãã¦ããã¾ãããã¡ãã£ã¨åããã«ããã®ã§é ã追ã£ã¦èª¬æãã¾ãã æ®éã®ã¿ã¼ããã«ã§ãless ãªã©ã®ãã«ã¹ã¯ãªã¼ã³ããã°ã©ã ãéãã¦ã ããã§çµäºããã¨ã ãããªãã¾ãããï¼ ã¨ããããGNU screen ã®ä¸ã ã¨ãããã©ã«ãã§ã¯ãããªã£ã¦ãã¾ãã¾ãã ããã¯ãæ®éã®ã¿ã¼ããã«ã® alternate screen ã¨ããæ©è½ã使ã£ã¦ãå¥ç»é¢ã§ããã«ã¹ã¯ãªã¼ã³ããã°ã©ã ãå®è¡ãã¦ããããã§ããscreen ã®ä¸ã§ã¯ alternate screen ãæå¹ã§ã¯ãªãã®ã§ãæ®æ®µã®æè¦ã¨éã£ã¦ãã¤ãã ãã¼ã£ã¦ãªãã¾ãããã®ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}