最近、私はブラウザを開かずにbashを使ってオンラインで未知の単語を簡単に見つけることができるように.bashrcに何かをしました.
私はそれをw3m
プロキシユーティリティとして選択しました。-M
読みやすくするためにオプションを使用できます。
しかし、まだ疑問です。色設定を変更する方法はありますか?一部の設定ファイルで一部のパラメータを変更してこれを実行できますか?
PS:私はOSXでiterm2を使用しています。
この単語検索の私のエイリアスは次のとおりです。
function dee {w3m"http://www.oxfordlearnersdictionaries.com/definition/american_english/$1"; }
export -f dee
したがって、 dee stack
上記の内容をbashrcに入れた後、検索スタックの定義を使用できます。
ベストアンサー1
~からw3m FAQ:
w3m は黒の背景に黒い文字で始まります。これをどのように変更できますか?
When compiled with colour support, w3m assumes a white background and therefore displays black characters. You may either change the background colour of your terminal (e.g. with the -bg option in a xterm) or take these steps: invoke w3m with 'w3m -M' (for monochrome), type 'o' for getting to the options screen Mark 'Display with colour' as ON and choose an arbitrary colour. Click on [OK].
そして
アンカー/イメージ/フォームリンクの色を変更するには?
Type 'o' within w3m to get the 'options' screen. You can change these settings there.