How to display exported Linux man pages correctly

Display customization and font issues

How to display exported Linux man pages correctly

Postby ThWiedmann » Wed Jul 25, 2007 4:57 am

Hello,

if I try to export in Linux the man page of a command with e. g.
man set > man_set.txt,
a text file man_set.txt is created with the content of that manpage, but it also contains the control characters indicating e. g. the colors or font types (bold) displayed in the console. When I try to export such a file with WinWCP to a Windows system and to display it with UltraEdit (currently I've still version 11.10+1), the beginning of that text file looks like:

Code: Select all
NNAAMMEE
       set - Read and write variables

SSYYNNOOPPSSIISS
       sseett _v_a_r_N_a_m_e ?_v_a_l_u_e?


Is there a function in UltraEdit
1) to hide/remove those dispensable control characters?
2) to display those control characters coloured (... would be the deluxe variant)?

Thanks for all good hints.

Thomas Wiedmann
User avatar
ThWiedmann
Basic User
Basic User
 
Posts: 17
Joined: Sun Jul 31, 2005 11:00 pm

Re: How to display exported Linux man pages correctly

Postby Bego » Wed Jul 25, 2007 5:27 am

Hallo Thomas,

try these unix-style-regexps and replace each with nothing (the box is hex 08):
Code: Select all
...

and
Code: Select all
_


I can't deal with colors, sorry ;-)

Gruss Bego
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany


Return to Editor Display