Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Garbled man page formatting?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Devrethman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2005
Posts: 141
Location: Phoenix, AZ

PostPosted: Tue Jan 27, 2009 12:20 am    Post subject: Garbled man page formatting? Reply with quote

I believe my issue is best summarized with a picture:
http://img144.imageshack.us/my.php?image=mansucksmc8.jpg

apparently IMG tags don't work here, but anyway, for those of you who don't feel like clicking, this is what "man ls" looks like.
Code:

LS(1)                                         User Commands                                        LS(1)

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 too.

       ESC[1m-aESC[22m, ESC[1m--allESC[0m
              do not ignore entries starting with .

       ESC[1m-AESC[22m, ESC[1m--almost-allESC[0m
              do not list implied . and ..

       ESC[1m--authorESC[0m
              with ESC[1m-lESC[22m, print the author of each file

       ESC[1m-bESC[22m, ESC[1m--escapeESC[0m
              print octal escapes for nongraphic characters

       ESC[1m--block-sizeESC[22m=ESC[4mSIZEESC[0m
              use SIZE-byte blocks

       ESC[1m-BESC[22m, ESC[1m--ignore-backupsESC[0m
              do not list implied entries ending with ~

       ESC[1m-c     ESC[22mwith ESC[1m-ltESC[22m: sort by, and show, ctime (time of last modification of file status  information)
              with ESC[1m-lESC[22m: show ctime and sort by name otherwise: sort by ctime

       ESC[1m-C     ESC[22mlist entries by columns

       ESC[1m--colorESC[22m[=ESC[4mWHENESC[24m]
              control  whether  color is used to distinguish file types.  WHEN may be `never', `always',
              or `auto'

       ESC[1m-dESC[22m, ESC[1m--directoryESC[0m
              list directory entries instead of contents, and do not dereference symbolic links

       ESC[1m-DESC[22m, ESC[1m--diredESC[0m
              generate output designed for Emacs' dired mode

       ESC[1m-f     ESC[22mdo not sort, enable ESC[1m-aUESC[22m, disable ESC[1m-ls --colorESC[0m

       ESC[1m-FESC[22m, ESC[1m--classifyESC[0m
              append indicator (one of */=>@|) to entries

       ESC[1m--file-typeESC[0m
              likewise, except do not append `*'


Any help would be really cool...
_________________
Signature is out for lunch. Feel free to talk to its empty desk.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Jan 27, 2009 12:49 am    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads, refer to "Broken MAN pages??? Control Characters?".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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