0

From Windows command prompt I am using groff for Windows to display some man pages.

I can see that some characters are not being correctly outputted and in some case depending on the device being passed in as parameter I get some warnings.

For example:

  1. groff -man -Tascii < mymanpage.1 | more The man page is displayed but with below warning and some characters not correctly displayed.

    Warning: :48: warning: can't find character with input code 226

    Also I get characters not correctly displayed: enter image description here

  2. groff -man -Tutf8 < mymanpage.1 | more

    Even worse: enter image description here

  3. groff -man -Tlatin1 < mymanpage.1 | more

    enter image description here

Willy
  • 9,848
  • 22
  • 141
  • 284

1 Answers1

0

Apparently, the Windows terminal does not understand the escape codes. If col is available on your system, you might:

groff -man -Tascii  mymanpage.1 | col -b |more 
Ljm Dullaart
  • 4,273
  • 2
  • 14
  • 31