lists@xxxxxxxxxxxxxxx wrote: > > I can't be sure without seeing the actual codes, but my first guess > > would be that it is attempting to use ANSI colour sequences but the > > pager (e.g. less) is displaying a printable representation. > > Glynn -- > Your guess about ansi color is correct, that's how Patrick V set it up by > defualt. He also has less set in /etc/profile to LESS="-M"? > > The "-r" option worke fine for me :-) > Here' some out (with out the -r): > ^[[1mNAME^[[0m > man - format and display the on-line manual pages > manpath - determine user's search path for man pages > > ^[[1mSYNOPSIS^[[0m > ^[[1mman ^[[22m[^[[1m-acdfFhkKtwW^[[22m] [^[[1m--path^[[22m] [^[[1m-m > ^[[4m^[[22msystem^[[24m] [^[[1m-p ^[[4m^[[22mstring^[[24m] [^[[1m-C > ^[[4m^[[22mconfig_file^[[24m] > [^[[1m-M ^[[4m^[[22mpathlist^[[24m] [^[[1m-P ^[[4m^[[22mpager^[[24m] [^[[1m-S > ^[[4m^[[22msection_list^[[24m] [^[[4msection^[[24m] ^[[4mname^[[24m ^[[4m...^[[0m > > > ^[[1mDESCRIPTION^[[0m > ^[[1mman ^[[22mformats and displays the on-line manual pages. If you > specify ^[[4msec-^[[0m > ^[[4mtion^[[24m, ^[[1mman ^[[22monly looks in that section of the manual. > ^[[4mname^[[24m is normally > the name of the manual page, which is typically the name of a command, > function, or file. However, if ^[[4mname^[[24m contains a slash > (^[[1m/^[[22m) OK; those *aren't* ANSI colour sequences, but the xterm bold and underline sequences: ^[[4m smul begin underlining ^[[24m rmul end underlining ^[[1m bold begin bold ^[[22m - end bold ANSI colour sequences are ^[[3x (foreground) and ^[[4x (background), where x is the colour number, often combined (i.e. ^[[3x;4x). My version of groff (1.15) uses overstrike (i.e. backspace) for bold and underline; bold would be: h^Hhe^Hel^Hll^Hlo^Ho and underline would be: _^Hh_^He_^Hl_^Hl_^Ho less interprets those sequences automatically, generating the appropriate escape sequences. -- Glynn Clements <glynn.clements@xxxxxxxxxx> - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html