Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Windows 命令提示符下,我使用 groff for Windows 来显示一些手册页。
我可以看到某些字符没有正确输出,并且在某些情况下,取决于作为参数传入的设备,我会收到一些警告。
例如:
groff -man -Tascii < mymanpage.1 | 更多 显示手册页,但有以下警告,并且某些字符未正确显示。
警告::48:警告:找不到输入代码为 226 的字符
另外我得到的字符没有正确显示:
groff -man -Tutf8 < mymanpage.1 | 更多的
更糟:
groff -man -Tlatin1 < mymanpage.1 | 更多的
显然,Windows 终端不理解转义码。如果col在您的系统上可用,您可以:
col
groff -man -Tascii mymanpage.1 | col -b |more