1
0
forked from x/icebergs
icebergs/misc/tmux/tmux.shy
2021-09-30 03:48:40 +08:00

37 lines
800 B
Plaintext

title "tmux"
refer `
官网 http://tmux.github.io/
源码 https://github.com/tmux/tmux
文档 http://man.openbsd.org/OpenBSD-current/man1/tmux.1
`
chapter "源码"
field tmux web.code.tmux.tmux
field tmux web.code.inner args `usr/install/tmux-3.2 cmd-bind-key.c`
section "构建"
spark shell `
yum install -y wget make gcc
yum install -y libevent-devel.x86_64 ncurses-devel.x86_64
wget http://mirrors.tencent.com/macports/distfiles/tmux/tmux-3.2.tar.gz
tar xvf tmux-3.2.tar.gz && cd tmux-3.2
./configure --prefix=$PWD/_install
make -j8 && make install
`
section "启动"
spark shell `
cd ./_install
./bin/tmux -S $PWD/tmux.socket
`
chapter "应用"
field "文本" web.code.tmux.text
field "缓存" web.code.tmux.buffer
field "脚本" web.code.tmux.script
field "会话" web.code.tmux.session