差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
linux:tmux [2022/10/14 20:48] – [カスタマイズ] ともやん | linux:tmux [2023/04/23 06:59] – [tmux - terminal multiplexer (端末多重接続ソフトウェア)] ともやん | ||
---|---|---|---|
行 2: | 行 2: | ||
====== tmux - terminal multiplexer (端末多重接続ソフトウェア) ====== | ====== tmux - terminal multiplexer (端末多重接続ソフトウェア) ====== | ||
{{windows: | {{windows: | ||
- | 本家: [[http://tmux.github.io/|Home · tmux/ | + | 本家: [[ghi> |
- | ソースコード: | + | ソースコード: |
+ | ドキュメント: | ||
+ | Linux manual: [[https:// | ||
+ | Arch Linux: [[arc> | ||
**tmux** とは、Unix ライクなオペレーティングシステム用の端末多重接続ソフトウェアである。\\ | **tmux** とは、Unix ライクなオペレーティングシステム用の端末多重接続ソフトウェアである。\\ | ||
単一のウィンドウで複数の端末セッションにアクセスできる。同時に複数のコマンドラインプログラムを実行する際に有用である。\\ | 単一のウィンドウで複数の端末セッションにアクセスできる。同時に複数のコマンドラインプログラムを実行する際に有用である。\\ | ||
tmux は制御端末からプロセスを切断することもでき、SSH セッションを SSH 接続をしていない状態でも維持することができる。\\ | tmux は制御端末からプロセスを切断することもでき、SSH セッションを SSH 接続をしていない状態でも維持することができる。\\ | ||
- | [[wpjp>Tmux|tmux - Wikipedia]] より\\ | + | [[wwjp>Tmux|Wikiwand |
===== 簡単な基本操作 ===== | ===== 簡単な基本操作 ===== | ||
行 101: | 行 104: | ||
# | # | ||
set-option -g history-limit 100000 | set-option -g history-limit 100000 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Python の libtmux で tmux を操作する ===== | ||
+ | [[python: | ||
+ | \\ | ||
+ | libtmux をインストールする🤔\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Collecting libtmux | ||
+ | Downloading libtmux-0.21.0-py3-none-any.whl (47 kB) | ||
+ | <b class=PipBAR> | ||
+ | Installing collected packages: libtmux | ||
+ | Successfully installed libtmux-0.21.0 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ptpython をインストールする🤔\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Collecting ptpython | ||
+ | Downloading ptpython-3.0.23-py2.py3-none-any.whl (63 kB) | ||
+ | <b class=PipBAR> | ||
+ | Collecting appdirs | ||
+ | Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) | ||
+ | Collecting jedi> | ||
+ | Using cached jedi-0.18.2-py2.py3-none-any.whl (1.6 MB) | ||
+ | Collecting prompt-toolkit& | ||
+ | Using cached prompt_toolkit-3.0.38-py3-none-any.whl (385 kB) | ||
+ | Collecting pygments | ||
+ | Using cached Pygments-2.14.0-py3-none-any.whl (1.1 MB) | ||
+ | Collecting parso& | ||
+ | Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB) | ||
+ | Collecting wcwidth | ||
+ | Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) | ||
+ | Installing collected packages: wcwidth, appdirs, pygments, prompt-toolkit, | ||
+ | Successfully installed appdirs-1.4.4 jedi-0.18.2 parso-0.8.3 prompt-toolkit-3.0.38 ptpython-3.0.23 pygments-2.14.0 wcwidth-0.2.6 | ||
</ | </ | ||
</ | </ | ||
===== 参考文献 ===== | ===== 参考文献 ===== | ||
- | [[https:// | ||
- | [[https:// | ||
- | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | ==== 付録 ==== | ||
+ | [[tw> | ||