差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:ansi2html [2022/09/20 04:57] – ともやん | linux:ansi2html [2023/09/09 15:38] (現在) – [スタイル一覧] ともやん | ||
---|---|---|---|
行 8: | 行 8: | ||
===== インストール ===== | ===== インストール ===== | ||
- | **ansi2html** コマンドは **colorized-logs** または **python3-ansi2html** パッケージに含まれています😊**pipetty** コマンドなども必要な場合は **colorized-logs** パッケージをインストールする。\\ | + | **ansi2html** コマンドは **colorized-logs** または **python3-ansi2html** パッケージに含まれています😊\\ |
+ | **pipetty** コマンドなども必要な場合は **colorized-logs** パッケージをインストールする。\\ | ||
**Fedora**\\ | **Fedora**\\ | ||
行 530: | 行 531: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN> | + | <b class=GRN> |
</ | </ | ||
<WRAP color_result_long>< | <WRAP color_result_long>< | ||
行 1036: | 行 1037: | ||
</ | </ | ||
- | < | + | < |
+ | <WRAP color_mincode_long>< | ||
< | < | ||
< | < | ||
行 1103: | 行 1105: | ||
</ | </ | ||
</ | </ | ||
+ | </ | ||
+ | |||
===== 小枝🤤 画面出力と同時に ansi2html で HTML ファイルにも同時出力する🤔 ===== | ===== 小枝🤤 画面出力と同時に ansi2html で HTML ファイルにも同時出力する🤔 ===== | ||
行 1292: | 行 1296: | ||
<span class=GRN> | <span class=GRN> | ||
</ | </ | ||
- | < | + | < |
< | < | ||
< | < | ||
行 1363: | 行 1367: | ||
</ | </ | ||
- | ==== スタイル一覧 ==== | + | ===== スタイル一覧 |
< | < | ||
< | < | ||
行 1434: | 行 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 雛形 ==== | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode>< | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | |||
+ | <WRAP color_result>< | ||
+ | </ | ||
+ | |||
+ | <WRAP color_result_long>< | ||
+ | </ | ||
+ | |||
+ | <WRAP color_mincode>< | ||
+ | </ | ||
+ | |||
+ | <WRAP color_mincode_long>< | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode>< | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | (pyJupyterLab) <b class=GRN> | ||
+ | </ | ||
+ | |||
+ | <WRAP color_result>< | ||
+ | ... | ||
+ | Downloading https:// | ||
+ | <b class=PipBAR> | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | (pyJupyterLab) <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | ... | ||
+ | Downloading https:// | ||
+ | <b class=PipBAR> | ||
+ | </ | ||
+ | </ | ||
===== ansi2html に処理結果をパイプする場合は ' | ===== ansi2html に処理結果をパイプする場合は ' | ||
行 1440: | 行 1520: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN> | + | <b class=GRN> |
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
+ | alias diff=' | ||
alias egrep=' | alias egrep=' | ||
alias fgrep=' | alias fgrep=' | ||
行 1458: | 行 1539: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN> | + | <b class=GRN> |
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< | ||
行 1500: | 行 1581: | ||
<WRAP color_term> | <WRAP color_term> | ||
<WRAP color_command>< | <WRAP color_command>< | ||
- | <span class=GRN> | + | <span class=GRN> |
</ | </ | ||
<WRAP color_result>< | <WRAP color_result>< |