{"id":8466,"date":"2020-07-28T22:01:18","date_gmt":"2020-07-28T14:01:18","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8466"},"modified":"2020-07-28T22:01:18","modified_gmt":"2020-07-28T14:01:18","slug":"troff","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/troff","title":{"rendered":"troff\u547d\u4ee4 – \u683c\u5f0f\u5316\u6253\u5370\u673a\u548c\u5b57\u7b26\u7ec8\u7aef\u7684\u6587\u672c"},"content":{"rendered":"\n
troff\u683c\u5f0f\u5316\u6253\u5370\u673a\u548c\u5b57\u7b26\u7ec8\u7aef\u7684\u6587\u672c\uff0c\u662f Unix \u5386\u53f2\u4e0a\u6700\u91cd\u8981\u7684\u8f6f\u4ef6\u4e4b\u4e00\u3002<\/p>\n\n\n\n
\u50cf roff\uff0cnroff \u548c groff \u4e00\u6837\uff0ctroff \u662f\u7531 Jerome Saltzer \u5728 20 \u4e16\u7eaa 60 \u5e74\u4ee3\u4e2d\u671f\u4e3a\u9ebb\u7701\u7406\u5de5\u5b66\u9662\u7684 CTSS \u64cd\u4f5c\u7cfb\u7edf\u7f16\u5199\u7684\u540d\u4e3a RUNOFF \u7684\u6587\u672c\u683c\u5f0f\u5316\u7a0b\u5e8f\u7684\u540e\u4ee3\u3002\u540d\u79f0 RUNOFF \u6765\u81ea\u77ed\u8bed\u201c\u8fd0\u884c\u6587\u6863\u201d\uff0c\u610f\u601d\u662f\u6700\u7ec8\u786e\u5b9a\u6587\u6863\uff0c\u6216\u51c6\u5907\u53d1\u5e03\u6216\u6f14\u793a\u6587\u7a3f\u3002<\/p>\n\n\n\n
\u867d\u7136\u5176\u4ed6\u6392\u7248\u8f6f\u4ef6\u5305\u5982 LaTeX \u591a\u5e74\u6765\u5df2\u7ecf\u5f97\u5230\u4e86\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u4f46 troff \u4ecd\u7136\u5728 Unix \u4e2d\u5e7f\u6cdb\u4f7f\u7528\uff0c\u5e76\u4e14\u662f\u4eba\u7c7b\u7684\u9ed8\u8ba4\u7c7b\u578b\u683c\u5f0f\u5316\u7a0b\u5e8f\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>troff [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u6307\u5b9a\u8981\u4f18\u5316\u683c\u5f0f\u7684\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u8f93\u51fa\u539f\u683c\u5f0f\u6587\u4ef6\uff1a<\/p>\n\n\n\n \u7981\u7528\u989c\u8272\u8f93\u51fa\uff1a<\/p>\n\n\n\n troff\u683c\u5f0f\u5316\u6253\u5370\u673a\u548c\u5b57\u7b26\u7ec8\u7aef\u7684\u6587\u672c\uff0c\u662f Unix \u5386\u53f2\u4e0a\u6700\u91cd\u8981\u7684\u8f6f\u4ef6\u4e4b\u4e00\u3002 \u50cf roff\uff0cnroff \u548c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8466"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8466"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8466\/revisions"}],"predecessor-version":[{"id":8471,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8466\/revisions\/8471"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u751f\u6210\u6392\u7248\u8f93\u51fa\u7684ASCII\u8fd1\u4f3c\u503c<\/td><\/tr> -b<\/td> \u4f7f\u7528\u6bcf\u6761\u8b66\u544a\u6216\u9519\u8bef\u6d88\u606f\u6253\u5370\u56de\u6eaf\uff0c \u6b64\u56de\u6eaf\u5e94\u6709\u52a9\u4e8e\u8ffd\u8e2a\u9519\u8bef\u539f\u56e0<\/td><\/tr> -c<\/td> \u7981\u7528\u989c\u8272\u8f93\u51fa\uff08\u5728\u517c\u5bb9\u6a21\u5f0f\u4e0b\u59cb\u7ec8\u7981\u7528\uff09<\/td><\/tr> -C<\/td> \u542f\u7528\u517c\u5bb9\u6a21\u5f0f<\/td><\/tr> -E<\/td> \u7981\u6b62troff\u7684\u6240\u6709\u9519\u8bef\u6d88\u606f<\/td><\/tr> -i<\/td> \u5728\u5904\u7406\u5b8c\u6240\u6709\u547d\u540d\u8f93\u5165\u6587\u4ef6\u540e\u8bfb\u53d6\u6807\u51c6\u8f93\u5165<\/td><\/tr> -z<\/td> \u6291\u5236\u683c\u5f0f\u5316\u8f93\u51fa<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# troff file<\/pre>\n\n\n\n
[root@linuxcool ~]# troff -z file<\/pre>\n\n\n\n
[root@linuxcool ~]# troff -c file<\/pre>\n","protected":false},"excerpt":{"rendered":"