LoginSignup
2
3

More than 5 years have passed since last update.

Debianでsystemctl使ったら表示が化けるんだけど?

Last updated at Posted at 2016-09-18

結論: lv がpagerになってるから

日本語環境でインストールするとlvがインストールされて、これがデフォルトのpagerになるが、systemctlの出力が崩れる。回避策としては以下でpagerをlessなどにしてやる

$ sudo update-alternatives --config pager

面倒なんだけど?

まぁ、気づかない人が多いよな、と思ったのでBTSしておきました。ノウハウでworkaroundするのは一つの手だけど、毎度バッドノウハウばっかり集めても、ねぇ?

他の回避策?

alis lv="lv -c" する。で、これを/etc/profile.d に放り込むというのがあり。ただ、lv -cしたくない人はどうすんの?はあるか

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3