Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Man pages have escape codes in them
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
godsmack420
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 155
Location: Wintersville, OH

PostPosted: Sat Jan 14, 2012 1:03 am    Post subject: Man pages have escape codes in them Reply with quote

My man pages have the escape codes in the text instead of highlighting like it is supposed to be. What package could I be missing to cause this? Here is an example of what it looks like when I do "man ls".

Code:

ESC[1mNAMEESC[0m
       ls - list directory contents

ESC[1mSYNOPSISESC[0m
       ESC[1mls ESC[22m[ESC[4mOPTIONESC[24m]... [ESC[4mFILEESC[24m]...

ESC[1mDESCRIPTIONESC[0m
       List   information  about  the  FILEs  (the  current  directory  by
       default).  Sort entries alphabetically if  none  of  ESC[1m-cftuvSUX  ESC[22mnor
       ESC[1m--sortESC[22m.

       Mandatory arguments to long options are mandatory for short options
Back to top
View user's profile Send private message
HeissFuss
Guru
Guru


Joined: 11 Jan 2005
Posts: 414

PostPosted: Sat Jan 14, 2012 2:59 am    Post subject: Reply with quote

Have you tried 'source /etc/profile', or tried just logging back in?
Back to top
View user's profile Send private message
godsmack420
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 155
Location: Wintersville, OH

PostPosted: Sat Jan 14, 2012 3:34 am    Post subject: Reply with quote

Thanks, source /etc/profile worked fine. Didn't even think of that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum