Text Groff文本输出处理问题

Text Groff文本输出处理问题,text,text-processing,groff,Text,Text Processing,Groff,我需要使用groff-mm宏格式化文档,并需要一些问题的帮助: ================ 你可以看到它在顶部放了一些空行和一个页码。我需要它从文件的第一行开始运行一个连续列。 它使用的是ansi转义码,我需要它严格使用ascii文本字符。 我也不需要默认缩进,当我将其发送到文本文件而不是打印机时,页面宽度需要为80个字符宽。您可以使用.PGFORM重新格式化页面.PGNH跳过第一页的页眉打印 .PGFORM 80 0 0 1 .PGNH ConImp [-a] [-t] [n<n

我需要使用groff-mm宏格式化文档,并需要一些问题的帮助:

================
你可以看到它在顶部放了一些空行和一个页码。我需要它从文件的第一行开始运行一个连续列。
它使用的是ansi转义码,我需要它严格使用ascii文本字符。

我也不需要默认缩进,当我将其发送到文本文件而不是打印机时,页面宽度需要为80个字符宽。
您可以使用
.PGFORM
重新格式化页面
.PGNH
跳过第一页的页眉打印

.PGFORM 80 0 0 1
.PGNH
ConImp [-a] [-t] [n<name>] [m<time>] [e<editor>]
  -a = non-ANSI terminal
  -t = use test port
  -n = force user name
  -m = maximum play time
  -e<editor> = allow external editor

-a:
  If your terminal is not ANSI compatible use this to prevent ANSI codes being sent

-t:
  Use the testing port

-n<name>:
  Force the username to this user, used in BBS doors

-m<time>:
  Set maximim play time

-e<editor>:
  Set the external editor, if any. For example to use VI editor
groff  -mm -Tascii conimp.mm -Z|grotty -c