差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:ansi2html [2023/03/13 13:14] – [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>< | <WRAP color_command>< | ||
- | <span class=GRN>$</span> dnf provides ansi2html | + | <font color="# |
</ | </ | ||
- | <WRAP color_result | + | <WRAP color_result>< |
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>< | <WRAP color_command>< | ||
- | <span class=GRN>$</span> sudo dnf install colorized-logs | + | <font color="# |
</ | </ | ||
<WRAP color_result_long min-width_600>< | <WRAP color_result_long min-width_600>< | ||
行 74: | 行 75: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN>$</span> apt-file search ansi2html | + | <font color="# |
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
行 84: | 行 85: | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN>$</span> sudo apt install colorized-logs | + | <font color="# |
- | </ | + | </pre></ |
<WRAP color_result>< | <WRAP color_result>< | ||
Reading package lists... Done | Reading package lists... Done | ||
行 119: | 行 120: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN>$</span> dmesg --color=always | ansi2html > dmesg.html | + | <font color="# |
- | </ | + | </pre></ |
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
<span class=GRN> | <span class=GRN> | ||
行 530: | 行 531: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN>$</span> pipetty make -C build | ansi2html | tee build.html | + | <font color="# |
</ | </ | ||
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
行 1437: | 行 1438: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode>< | ||
+ | <b class=BSc> | ||
+ | <b class=BSc> | ||
+ | </b> | ||
+ | <b class=BScBLU> | ||
+ | & | ||
+ | </b> | ||
+ | <b class=BScHGRY> | ||
+ | <b class=BScHGRY> | ||
+ | </b> | ||
+ | <b class=BScINDG> | ||
+ | <b class=BScINDG> | ||
+ | </b> | ||
+ | </ | ||
+ | </ | ||
+ | |||
※ ansi2html オリジナルカラーから当サイトテーマ用にアレンジしています🤔\\ | ※ ansi2html オリジナルカラーから当サイトテーマ用にアレンジしています🤔\\ | ||
==== Dokuwiki 雛形 ==== | ==== Dokuwiki 雛形 ==== | ||
+ | <WRAP color_term> | ||
<WRAP color_mincode>< | <WRAP color_mincode>< | ||
<WRAP color_term> | <WRAP color_term> | ||
行 1445: | 行 1465: | ||
<b class=GRN> | <b class=GRN> | ||
</ | </ | ||
- | | + | |
<WRAP color_result>< | <WRAP color_result>< | ||
</ | </ | ||
- | | + | |
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
</ | </ | ||
- | | + | |
<WRAP color_mincode>< | <WRAP color_mincode>< | ||
</ | </ | ||
- | | + | |
<WRAP color_mincode_long>< | <WRAP color_mincode_long>< | ||
</ | </ | ||
- | | ||
</ | </ | ||
</ | </ | ||
+ | </ | ||
<WRAP color_term> | <WRAP color_term> | ||
行 1469: | 行 1489: | ||
</ | </ | ||
- | < | + | < |
+ | <WRAP color_mincode>< | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
(pyJupyterLab) <b class=GRN> | (pyJupyterLab) <b class=GRN> | ||
</ | </ | ||
+ | |||
<WRAP color_result>< | <WRAP color_result>< | ||
... | ... | ||
Downloading https:// | Downloading https:// | ||
- | < | + | < |
</ | </ | ||
</ | </ | ||
</ | </ | ||
+ | </ | ||
<WRAP color_term> | <WRAP color_term> | ||
行 1489: | 行 1512: | ||
... | ... | ||
Downloading https:// | Downloading https:// | ||
- | < | + | < |
</ | </ | ||
</ | </ |