1
0
forked from x/icebergs
icebergs/misc/tmux/tmux.shy
2020-11-08 09:06:42 +08:00

36 lines
795 B
Plaintext

title "tmux"
refer `
官网 http://tmux.github.io/
文档 http://man.openbsd.org/OpenBSD-current/man1/tmux.1
源码 https://github.com/tmux/tmux
`
chapter "源码"
field tmux web.code.tmux.tmux
field tmux web.code.inner args `usr/install/tmux-3.1b 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 https://github.com/tmux/tmux/releases/download/3.1b/tmux-3.1b.tar.gz
tar xvf tmux-3.1b.tar.gz && cd tmux-3.1b
./configure --prefix=$PWD/_install
make -j8 && make install
`
section "启动"
spark shell `
cd ./_install
./bin/tmux -S $PWD/tmux.socket
`
chapter "应用"
field text web.code.tmux.text
field buffer web.code.tmux.buffer
field script web.code.tmux.script
field session web.code.tmux.session