How to display exported Linux man pages correctly

How to display exported Linux man pages correctly

13
Basic UserBasic User
13

    Jul 25, 2007#1

    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

    344
    MasterMaster
    344

      Jul 25, 2007#2

      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
      Normally using all newest english version incl. each hotfix. Win 10 64 bit