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:
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
groff -man -Tutf8 < mymanpage.1 | more
groff -man -Tlatin1 < mymanpage.1 | more
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.