人間の壊れた出力

人間の壊れた出力

明らかにman奇妙な方法でいくつかのテキストを表示し始めました。期待どおりにレンダリングされないエスケープシーケンスに関連しているようです。

何を確認する必要がありますか?私はMacOS / iterm2 / ohmyzshを使用しています。

たとえば、man ls出力は次のようになります。

N^HNA^HAM^HME^HE
     l^Hls^Hs -- list directory contents

S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS
     l^Hls^Hs [-^H-A^HAB^HBC^HCF^HFG^HGH^HHL^HLO^HOP^HPR^HRS^HST^HTU^HUW^HW@^H@                                                        a^Hab^Hbc^Hcd^Hde^Hef^Hfg^Hgh^Hhi^Hik^Hkl^Hlm^Hmn^Hno^Hop^Hpq^Hqr^Hrs^Hst^Htu^Huw^Hwx^Hx1^H1%^H%] [_^Hf_^Hi_^Hl_^He _^H._^H.      _^H.]

D^HDE^HES^HSC^HCR^HRI^HIP^HPT^HTI^HIO^HON^HN
     For each operand that names a _^Hf_^Hi_^Hl_^He of a type other than directory, l^Hls^Hs displays its name as well as any
     requested, associated information.  For each operand that names a _^Hf_^Hi_^Hl_^He of type directory, l^Hls^Hs displays the       names
     of files contained within that directory, as well as any requested, associated information.
...

ベストアンサー1

おすすめ記事