linux:tmux

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
linux:tmux [2022/10/14 20:46] – [参考文献] ともやんlinux:tmux [2023/04/09 05:29] – [Python の libtmux で tmux を操作する] ともやん
行 97: 行 97:
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 +#マウス操作有効化
 +set -g mouse on
 +#スクロールバック行数
 +set-option -g history-limit 100000
 +</pre></html></WRAP>
 +</WRAP>
 +
 +===== Python の libtmux で tmux を操作する =====
 +[[python:libtmux|libtmux - tmux を制御するための Python スクリプトライブラリ]]\\
 +\\
 +libtmux をインストールする🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=HIY>pip</b> install <b class=HIK>--user</b> libtmux
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Collecting libtmux
 +  Downloading libtmux-0.21.0-py3-none-any.whl (47 kB)
 +     <b class=PipBAR>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</b> <b class=GRN>47.5/47.5 kB</b> <b class=RED>296.3 kB/s</b> eta <b class=CYN>0:00:00</b>
 +Installing collected packages: libtmux
 +Successfully installed libtmux-0.21.0
 +</pre></html></WRAP>
 +</WRAP>
 +
 +ptpython をインストールする🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<b class=GRN>$</b> <b class=HIY>pip</b> install <b class=HIK>--user</b> ptpython
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +Collecting ptpython
 +  Downloading ptpython-3.0.23-py2.py3-none-any.whl (63 kB)
 +     <b class=PipBAR>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</b> <b class=GRN>64.0/64.0 kB</b> <b class=RED>340.0 kB/s</b> eta <b class=CYN>0:00:00</b>
 +Collecting appdirs
 +  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
 +Collecting jedi>=0.16.0
 +  Using cached jedi-0.18.2-py2.py3-none-any.whl (1.6 MB)
 +Collecting prompt-toolkit&lt;3.1.0,>=3.0.28
 +  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&lt;0.9.0,>=0.8.0
 +  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, parso, jedi, ptpython
 +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
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  
 ===== 参考文献 ===== ===== 参考文献 =====
-[[https://qiita.com/nl0_blu/items/9d207a70ccc8467f7bab|tmuxを必要最低限で入門して使う - Qiita]]\\ 
-[[https://qiita.com/nmrmsys/items/03f97f5eabec18a3a18b|tmuxチートシート - Qiita]]\\ 
-[[https://qiita.com/taknya/items/cd7bf686f2a4e71e8af8|tmuxの基本的な操作方法のまとめ - Qiita]]\\ 
 [[https://wiki.archlinux.jp/index.php/Tmux|tmux - ArchWiki]]\\ [[https://wiki.archlinux.jp/index.php/Tmux|tmux - ArchWiki]]\\
 +[[https://libtmux.git-pull.com|libtmux]]\\
 +
 +==== 付録 ====
 +[[tw>tomoyan596sp/status/1636109800965828608|tmuxをpythonから操作するのに、このようなライブラリが存在していても、国内の検索上位は「5年が経過しています」だそうです😅海外の動向しか見ないことにしてます🤔]]\\
  
  • linux/tmux.txt
  • 最終更新: 2023/04/23 07:07
  • by ともやん