差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:ansi2html [2023/03/16 07:28] – [Dokuwiki 雛形] ともやんlinux:ansi2html [2025/04/06 10:46] (現在) – [インストール] ともやん
行 8: 行 8:
  
 ===== インストール ===== ===== インストール =====
-**ansi2html** コマンドは **colorized-logs** または **python3-ansi2html** パッケージに含まれています😊**pipetty** コマンドなども必要な場合は **colorized-logs** パッケージをインストールする。\\+**ansi2html** コマンドは **colorized-logs** または **python3-ansi2html** パッケージに含まれています😊\\ 
 +**pipetty** コマンドなども必要な場合は **colorized-logs** パッケージをインストールする。\\
  
 **Fedora**\\ **Fedora**\\
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> dnf provides ansi2html+<font color="#0087FF"><b>$</b></font> <font color="#26A269">dnf</font> provides ansi2html
 </pre></html></WRAP> </pre></html></WRAP>
-<WRAP color_result min-width_600><html><pre>+<WRAP color_result><html><pre>
 Last metadata expiration check: 6 days, 8:00:19 ago on 2021年03月24日 02時11分04秒. Last metadata expiration check: 6 days, 8:00:19 ago on 2021年03月24日 02時11分04秒.
 colorized-logs-2.5-4.fc33.x86_64 : Tools for logs with ANSI color colorized-logs-2.5-4.fc33.x86_64 : Tools for logs with ANSI color
行 33: 行 34:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> sudo dnf install colorized-logs -y+<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">dnf</font> install <font color="#A347BA">-y</font> colorized-logs
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_long min-width_600><html><pre> <WRAP color_result_long min-width_600><html><pre>
行 74: 行 75:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> apt-file search ansi2html+<font color="#AFFF00"><b>$</b></font> <font color="#26A269">apt-file</font> search ansi2html
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
行 84: 行 85:
  
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> sudo apt install colorized-logs -y +<font color="#AFFF00"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">apt</font> install <font color="#A347BA">-y</font> colorized-logs 
-</pre</html></WRAP>+</pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 Reading package lists... Done Reading package lists... Done
行 119: 行 120:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> dmesg --color=always | ansi2html > dmesg.html +<font color="#0087FF"><b>$</b></font> <font color="#26A269">dmesg</font> <font color="#A347BA">--color=always</font> <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">ansi2html</font> <font color="#2A7BDE"><b>&gt;</b></font> dmesg.html 
-</pre</html></WRAP>+</pre></html></WRAP>
 <WRAP color_result_long><html><pre> <WRAP color_result_long><html><pre>
 <span class=GRN>   0.000000] </span>Linux version 5.4.91-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP Mon Jan 25 18:39:31 UTC 2021 <span class=GRN>   0.000000] </span>Linux version 5.4.91-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP Mon Jan 25 18:39:31 UTC 2021
行 530: 行 531:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<span class=GRN>$</span> pipetty make -C build | ansi2html | tee build.html+<font color="#0087FF"><b>$</b></font> <font color="#26A269">pipetty</font> make <font color="#A347BA">-C</font> build <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">ansi2html</font> <font color="#2A7BDE"><b>|</b></font> <font color="#26A269">tee</font> build.html
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result_long><html><pre> <WRAP color_result_long><html><pre>
行 1437: 行 1438:
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +<WRAP color_term>
 +<WRAP color_mincode><html><pre>
 +<b class=BSc>
 +&lt;b class=BSc>
 +</b>
 +<b class=BScBLU>
 +&lt;span class=BScBLU>
 +</b>
 +<b class=BScHGRY>
 +&lt;b class=BScHGRY>
 +</b>
 +<b class=BScINDG>
 +&lt;b class=BScINDG>
 +</b>
 +</pre></html></WRAP>
 +</WRAP>
 +
 ※ ansi2html オリジナルカラーから当サイトテーマ用にアレンジしています🤔\\ ※ ansi2html オリジナルカラーから当サイトテーマ用にアレンジしています🤔\\
  
行 1476: 行 1495:
 (pyJupyterLab) <b class=GRN>$</b> <b class=HIY>pip</b> install jupyterlab-nvdashboard (pyJupyterLab) <b class=GRN>$</b> <b class=HIY>pip</b> install jupyterlab-nvdashboard
 </pre></html></WRAP> </pre></html></WRAP>
-  +
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 ... ...
  • linux/ansi2html.1678919316.txt.gz
  • 最終更新: 2023/03/16 07:28
  • by ともやん