å·²éè¿å®å ¨å å¯æ£æµ å¦æ没æèªå¨è·³è½¬ï¼è¯·ç¹å»ä¸æ¹æé®åå¾ æ¬¢è¿ç¸ç¸å 临8å·è´å½©360å®å ¨å«å£«æä¾ææ¯æ¯æ Copyright © 1998 -2020. All Rights Reserved.
 å·²éè¿å®å ¨å å¯æ£æµ å¦æ没æèªå¨è·³è½¬ï¼è¯·ç¹å»ä¸æ¹æé®åå¾ æ¬¢è¿ç¸ç¸å 临8å·è´å½©360å®å ¨å«å£«æä¾ææ¯æ¯æ Copyright © 1998 -2020. All Rights Reserved.
æ°ããMacbook Airãå±ããã®ã§ãããããã¨ç°å¢æ§ç¯ã«å±ãã ã¨ãããåé¡çºçã $ launchctl load -w ~/Library/LaunchAgent/org.postgresql.postgres.plist Bug: launchctl.c:2408 (24957):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1 launch_msg(): Socket is not connectedãããããªãã ããã£ããªãããªã¨ã©ã¼ã«ãªã£ããDBãä¸ãããªãã¨éçºã§å°ããã ä½ãæªããã ãåºã¦éããªãOS X Lionããããã¨ããã£ããã ããã¨éãè °ãä¸ãã¦Macportsããä¹ãæããHomebrewã⦠ãªãã¨ã使ãå§ãã
ããã«ã¡ããæè¡é¨ã§Marketing Platformã®éçºãæ å½ãã¦ããkoyaã§ãã ä»åã¯tmuxã¨ããã¢ããªã±ã¼ã·ã§ã³ãç´¹ä»ãããã¨æãã¾ãã tmuxã¯terminal multiplexerã®ç¥ã§ãè¦ããã«ï¼ã¤ã®ç°å¢ä¸ã§è¤æ°ã®ã¿ã¼ããã«ãèµ·åã§ããã¢ããªã±ã¼ã·ã§ã³ã§ãã ã¨ãããã¨ã§ä»åã¯LinuxãOS Xä¸ã§ã¿ã¼ããã«ããã使ã人ï¼ä¸»ã«Webéçºè ã§ããããï¼ã¸åããå 容ã«ãªãã¾ããéçºè ã§ãªãã¦ãå¼ç¤¾QAã®ãããªæ¹ã«ãåèã«ãªãã°å¬ããã§ãã
ãã®ããã¥ã¡ã³ãã®å 容ã¯ã以ä¸ã®éãã§ãã ã»ãã·ã§ã³ã®ä½æ ã»ãã·ã§ã³ã®ãã¿ãã ã»ãã·ã§ã³ã®ç¢ºèª ã»ãã·ã§ã³ãã¢ã¿ãããã ã¢ã¿ãããã¦ããã»ãã·ã§ã³ã調ã¹ã ã»ãã·ã§ã³åã®ãªãã¼ã ã»ãã·ã§ã³ã®åé¤ ãã¹ã¦ã®ã»ãã·ã§ã³ãçµäºããã tmuxå ¥é é¢é£ãã¼ã¸ GNU Screenãtmux ã¯ãUnixã§è¤æ°ã®ã¿ã¼ããã«ãæ±ãããã®ã¢ããªã±ã¼ã·ã§ã³ã§ãã GNU Screenã®ã»ãã·ã§ã³ã管çãã screenie [2009-06-14-1] ã§ç´¹ä»ãã¾ãããã screen ã¯ã screen -ls, screen -rd sessionname ãªã©ã§ãã»ãã·ã§ã³ã®ç¢ºèªã Screen ã®ã¢ã¿ãããã§ãã¾ãã ã»ãã·ã§ã³ã®ä½æ ã»ãã·ã§ã³ã¯ã tmux ã³ãã³ããå®è¡ããã ãã§ä½æããã¾ãã èªåçã«ã»ãã·ã§ã³åã¨ãã¦ãæ°åãå²ãå½ã¦ããã¾ãã tmux ã»ãã·ã§ã³åãã¤ããã«
GNU screenã¯ããå¤ãã®ã§çããtmuxã¸ç§»è¡ãã¾ããããã¨ãã話ãGentooãªãemerge tmuxã ã¹ã¯ãªã¼ã³ã·ã§ãã æå ã®tmuxãæ®ã£ã¦ã¿ãã縦åå²ã¢ã¼ããã¦ã£ã³ãã¦ããã¼ã¸ã£ã¯awesomeãå·¦ã®ircã¯ã©ã¤ã¢ã³ãã¯weechatã æ¬å®¶ã«ãããã¤ãã¹ã¯ãªã¼ã³ã·ã§ãããããã tmuxã¸ç§»è¡ããçç±ï¼ã¡ãªããï¼ æ¨æºè¨å®ã®ã¾ã¾ã§ããããªãã«ä½¿ããã¹ãã¼ã¿ã¹ãã¼ åã·ã§ã¼ãã«ãããã³ãã³ããã¼ã¹ï¼ã³ãã³ãã§æä½ãã§ããï¼ æ¨æºã§ç¸¦åå²æ©è½æè¼ GNU screenããã¾ã«åºã¾ãåé¡ï¼ãçºçããã®ã¯ç§ã ãï¼ï¼ãçºçããªããã ãã¥ã¼å°ç¨ã®ã¹ã¯ãã¼ã«ã¢ã¼ã æè»ãªãã¤ã³å¶å¾¡ ã³ãã¼ï¼ãã¼ã¹ãç¨ã®ãããã¡ãè¤æ°ä¿æã§ãã terminfoçã«screenäºæ ã¡ã¢ãªæ¶è²»éãå°ãªã(GNU screenã®ç´1/5) ä¸é¨æ©è½ã§ãã¦ã¹ã使ç¨ã§ãã(mode-mouse, mo
ã端æ«ã®ä¸ã§ä»®æ³ç«¯æ«ã管çããtmux(GNU screenã®ä»£æ¿)ã«ã¤ãã¦(æ¦è¦ã»å®è¡ã»æä½)ãã«ç¶ãå 容ã¨ãã¦ãããã§ã¯tmuxã«ãããã³ãã/å¾æ¹ã¹ã¯ãã¼ã«ã«ã¤ãã¦ãæ±ãã ã³ãã¼ã¢ã¼ã æä½ è¤æ°ã®ãããã¡ã管çãã ãããã¡ä¸éæ°ã¨å¾æ¹ã«ããã®ã¼ããè¡æ°ã®æå® ã³ãã¼ã¢ã¼ãæ¢å®ã®å²ãå½ã¦ã§ã¯Prefix-[(æ¢å®ã®Prefixãã¼ã¯Ctrl+b)ãæ¼ããã¨ã«ãããå é¨ã³ãã³ãcopy-modeãå®è¡ããã端æ«ã®åºåãããã®ã¼ã£ã¦ä»»æã®é åãé¸æãããããtmuxå é¨ã®è¨æ¶é åã«ã³ãã¼(è¨æ¶)ãããã¨ãã§ãããã®å¾ã³ãã¼ã¢ã¼ããæããå¾ã§ãããè²¼ãä»ãããã¨ãã§ããã ããã®ã¼ããè¡æ°ã«ã¯ä¸éãããããå¤æ´ã¯å¯è½(å¾è¿°)ã æä½ãã®æ©è½èªä½ã¯GNU screenã¨åã*1ã§ãã³ãã¼ã¢ã¼ãã«å ¥ã£ãå¾ã®æä½ã ã³ãã¼ã¢ã¼ãä¸ã§ããã¹ãã®ã³ãã¼(è¨æ¶)ãããã«æããã«ã¯q è¨æ¶ããæåå
ã³ãã¼æ¹æ³ ã¾ãtmuxãã¤ã³ã¹ãã¼ã«ï¼çç¥ ã³ãã¼ã¢ã¼ããvi風ãã¼ãã¤ã³ãã«ãã $ echo 'set-window-option -g mode-keys vi' >> ~/.tmux.conf tmuxèµ·å ã³ãã¼éå§ã¯ Ctrl-b + [ ã«ã¼ã½ã«ãã¼ã§ç»é¢ä¸ãåããããã«ãªãã®ã§å§ç¹ã¸ç§»å ã¹ãã¼ã¹ãã¼æ¼ä¸ï¼å§ç¹ç¢ºå®ï¼ ã«ã¼ã½ã«ãã¼ã§ç»é¢ä¸ãã³ãã¼çµç¹ã¾ã§ç§»å Enterã§ç¢ºå®ï¼ããã¾ã§ã§tmuxã®ã¯ãªãããã¼ãï¼ã«ä¿åãããï¼ Ctrl-b + ] ã§è²¼ä»ãï¼ä»»æã®ã¿ã¤ãã³ã°ï¼ ãã¨ã¡ã¢ ã¦ã£ã³ãã¦ä½æ㯠Ctrl-b + c ã¦ã£ã³ãã¦é移å㯠Ctrl-b + 1ã¨ã2ã¨ã3⦠ãã¤ã³split㯠Ctrl-b + " ãã¤ã³é移å㯠Ctrl-b + o åè tmuxã使ãå§ãã¦ã¿ã - ãããã¼ãã¡ã¢ GNU Screenã©ã¤ã¯ãªtmuxã®ã³ãã¼ã¢ã¼ã tmux
ã¿ã¼ããã«ãã«ããã¬ã¯ãµ Advent Calendar 2011ã®16æ¥ç®ã§ãã 15æ¥ç®ã¯dodaããã®ãªã¢ã¼ãã® tmux ã§ã³ãã¼ããå 容ã®ãã¼ã«ã«ã®ã¯ãªãããã¼ãã¸ã®åæ ã§ããã tmuxãå©ç¨ãã sshã§ãªã¢ã¼ããµã¼ãã«æ¥ç¶ãããã³ã«ããã¹ãå¥ã«windowãçæ ã¨ãã£ã¿ç¨ãã³ãã³ãæä½ç¨ãè² è·ç£è¦ç¨ãªã©ç¨éå¥ã«windowãçæããpaneãå¢ããç»é¢åå² ãªã©ããã¦ããã¨ãä»ã¯ãã©ã®windowãã®ãã©ã®paneãã§ä½æ¥ããã¦ããã®ãåãããªããªããã¨ãããã¾ãã ããã¯æå³ããä»ã®ãµã¼ãã§ä½æ¥ããã¦ãã¾ããäºæ ãå¼ãèµ·ããã¦ãã¦ãã¾ãå¯è½æ§ããããããç§ã¯tmuxã®å¤è¦³ãã«ã¹ã¿ã ãããã¨ã§ããã©ã®windowãã®ãã©ã®paneãã«ãããç¬æã«å¤æåºæ¥ãããã«ãã¦ãã¾ãã ããã©ã«ãã®tmux .tmux.confãããããã«å©ç¨ãã¦ããå ´å 俺ã®tmux 俺ã®tm
GNU Screen ã®ããã«è¤æ°ã®ã¿ã¼ããã«ãä»®æ³çã«æ±ãã tmux ã® 1.1 ãåºã¦ããã®ã§ã以åã¡ããã£ã¨è©¦ã㦠screen ã«æ»ã£ã¦ãã¾ã£ã¦ããã®ã§ããä¸åº¦è©¦ãã¦ã¿ãã Vim 㧠256 è²ã使ã ã¾ãå°ã£ãã®ã¯ Vimã256è²ã«ãªããªãorz ã§ã 256colors2.pl ã使ãã¨ã¡ãã㨠256 è²ã§è¡¨ç¤ºããããã¤ã¾ãã¿ã¼ããã«ã¯åé¡ãªãã ã©ããã terminal-overrides ã¨è¨ããªãã·ã§ã³ããã£ã¦ãããã®ããã©ã«ãå¤ã§ terminfo ã®è²æ°ã®æ å ±ãå¼·å¶çã«æ¸ãæãã¦ããããããããVim 㯠$TERM ããæ¹ã㦠terminfo ãåå¾ããã®ã§ãããåæ ãããªãã ç¡çç¢ç :set t_Co=256 ã¨ãã¦ããããã ãã©ããã§ã¯ãªããè² ããæ°ãããã ãããã GNU Screen ã®æã¯ãªãã§å¤§ä¸å¤«ã ã£ããã¨ããã¨ã~/.screenr
tmuxã®è¨å®ãããã£ã¦ãããããªæãã« æ¨æ¥ã¯Inconsolata使ãããã¦iTerm使ã£ã¦ã¿ãããéããã¦è«¦ãããä»ã¯ããã©ã«ãã®Terminalã«Takaoãã©ã³ãã使ã£ã¦ããã Macã®ã¿ã¼ããã«ãæ¥æ¬èªãã©ã³ãã¨è±ãã©ã³ããåé¢ã§ããããããã ãã©ãªã æ··ãç©ãä½ãã®ãé¢åã .tmux.conf åºæ¬ã¯MANã§èªãã§ãã½ã¼ã¹ã³ã¼ãæ¤ç´¢ã§å¼ã£ããã£ããã¼ã¸ããã³ããã³ãã # Prefix set-option -g prefix C-t # View set -g status-interval 5 set -g status-left-length 16 set -g status-right-length 50 set -g status-bg black set -g status-fg white set -g status-left '#[fg=cyan,bold]
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}