You are not logged in.

#1 2005-01-28 02:28:17

SleepyDog
Member
Registered: 2004-10-15
Posts: 114

Garbled text in man pages

Here is a sample of what I get when I run man ls:

^[[1mNAME^[[0m
       ls - list directory contents

^[[1mSYNOPSIS^[[0m
       ^[[1mls ^[[22m[^[[4mOPTION^[[24m]... [^[[4mFILE^[[24m]...

^[[1mDESCRIPTION^[[0m
       List information about the FILEs (the current directory by default).  Sort entries alphabetically if none of ^[[1m-cftuSUX ^[[22mnor ^[[1m--sort^[[22m.

Also, man seems to depend on most as its pager, but the package itself does not. I had to install most manually. I don't think it's a problem with most, as using it to view files works fine. I only get this jibberish when I run man. I've tried "export LESS="-R" (the only tip I could find on these forums) with no success.

Any thoughts?

Offline

#2 2005-01-28 04:24:51

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Garbled text in man pages

do an

export

and see what hops out. If you are using bash at least. Looks to me like there is something wrong with your TERM var, or you charset, or your lang.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2005-01-28 14:07:52

SleepyDog
Member
Registered: 2004-10-15
Posts: 114

Re: Garbled text in man pages

I'm using zsh. I'll see if bash fixes it when I get home.

Offline

#4 2005-01-28 15:16:06

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Garbled text in man pages

I think man can also read the PAGER env var, so you could force it to

PAGER="less -R"

see if that helps...

Offline

#5 2005-01-28 20:02:07

SleepyDog
Member
Registered: 2004-10-15
Posts: 114

Re: Garbled text in man pages

The problem was located in my .zshrc file.

export MANPAGER="most"

Changed it to "less -r" and it works fine now. Thanks for the help cactus and phrakture.

Offline

#6 2005-01-28 21:28:35

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Garbled text in man pages

8)


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB