⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 problems

📁 早期freebsd实现
💻
📖 第 1 页 / 共 2 页
字号:
handle dvi files that use a resolution different from that used by dvifiles produced by TeX.  Try getting a more up to date driver.* I get lots of errors when I use groff with the AT&T -mm macros.The AT&T -mm macros need a few changes to work with groff; `makeinstall.dwbmm' will copy your -mm macros to groff's macro directoryand make the necessary changes.  You may need to edit the commands forthe install.mm target in the Makefile.  Alternatively use the groff-mm macros.* gtroff doesn't understand lines like `.ce99' with no space betweenthe name of the request or macro and the arguments.Gtroff requires a space between macro or request and its argumentsbecause it allows the use of long names for macros and requests.  Youcan use the -C option or the `cp' request to put gtroff into acompatibility mode in which it is not possible to use long names formacros but in which no space is required between macros and theirarguments.  The use of compatibility mode is strongly discouraged.* gtroff gives warnings about lines like  .ev	\" a comment(with a tab after the .ev).A tab character cannot be used as a substitute for a space character(except in one case: between a control character at the beginning of aline and the name of a macro or request).  For example, in Unix troff  .ps	\" restore the previous point size(with a tab after the .ps) will NOT restore the previous point-size;instead it will be silently ignored.  Since this is very likely to bean error, gtroff can give a warning about it.  If you want to aligncomments, you can do it like this:  .ev\"				\" a comment* I don't like the page headers and footers produced by groff -man.There seem to be many different styles of page header and footerproduced by different versions of the -man macros.  You will need tomodify macros/tmac.an to suit your personal taste.  For example, ifyou want the center of the page header to say  UNIX Programmer's Manualyou will need to change the line  .el .ds an-extra3 \"UNIX Programmer's Manualto  .el .ds an-extra3 UNIX Programmer's Manual* While formatting a manual page, groff complains about not being able tobreak lines.  The problem seems to be caused by a line like:  .TP \w'label'+2The -man documentation says that the default scale indicator for TPmacro is `n'.  The groff -man macros implement this correctly, so thatthe argument will be evaluated as if it were  \w'label'n+2nThe Unix -man macros don't implement this correctly (probably becauseit's hard to do in Unix troff); they just append `n' to the entireargument, so that it will be evaluated as if it were  \w'label'u+2nThe solution is to fix the manual page:  .TP \w'label'u+2* I'm having problems formatting Ultrix man pages with groff -man.The Ultrix man pages use a number of non-standard extensions to theUnix man macros.  One solution is to use the Ultrix -man macros withgroff.  Rename /usr/local/lib/groff/tmac/tmac.an to/usr/local/lib/groff/tmac/tmac.an.gnu, copy /usr/lib/tmac/tmac.an to/usr/local/lib/groff/tmac/tmac.an and apply the following patch (fromFrank Wortner):*** /usr/local/lib/groff/tmac/tmac.an     Wed Sep  9 12:29:28 1992--- /usr/lib/tmac/tmac.an       Fri Jul 24 19:58:19 1992****************** 489,495 ****  .     \" make special case of shift out of italic  .de }S  .ds ]F! .if \\$12 .if !\\$5 .ds ]F \^  .ie !\\$4 .}S \\$2 \\$1 "\\$3\f\\$1\\$4\\*(]F" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"  .el \\$3  .}f--- 489,495 ----  .     \" make special case of shift out of italic  .de }S  .ds ]F! .if \\$12 .if !\\$5 .ds ]F\^  .ie !\\$4 .}S \\$2 \\$1 "\\$3\f\\$1\\$4\\*(]F" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"  .el \\$3  .}fAnother possible solution is to install tmac/man.ultrix as/usr/local/lib/groff/tmac/man.local.* I'm having problems formatting HP-UX 9.0 man pages with groff -man.Rename /usr/local/lib/groff/tmac/tmac.an to (for example)/usr/local/lib/groff/tmac/tmac.gan, copy HP's tmac.an into/usr/local/lib/groff/tmac/tmac.an, and either put `.cp 1' at thebeginning or filter it (and any files it .so's) throughtmac/fixmacros.sed.* I'm having problems formatting man pages produced by the perlwrapman script.Some versions of wrapman have a superfluous blank line before the .THline.  This must be deleted.  Then either use groff -C, or apply thefollowing patch:*** wrapman.~2~	Sun Jan 19 12:10:24 1992--- wrapman	Fri Apr  2 12:12:57 1993****************** 35,41 ****      $line1 .= <IN> if $line1 =~ /eval/;      $line1 .= <IN> if $line1 =~ /argv/;      $line2 = <IN>;!     next if $line2 eq "'di';\n";        # Pull the old switcheroo.  --- 35,41 ----      $line1 .= <IN> if $line1 =~ /eval/;      $line1 .= <IN> if $line1 =~ /argv/;      $line2 = <IN>;!     next if $line2 eq "'di ';\n";        # Pull the old switcheroo.  ****************** 49,56 ****        print OUT $line1;      print OUT <<EOF;! 'di';! 'ig00';  #  # $header  #--- 49,57 ----        print OUT $line1;      print OUT <<EOF;! 'di ';! 'ds 00 \\"';! 'ig 00 ';  #  # $header  #****************** 72,85 ****        # These next few lines are legal in both Perl and nroff.  ! $null.00;                       # finish .ig     'di           \\" finish diversion--previous line must be blank  .nr nl 0-1    \\" fake up transition to first page again  .nr % 0         \\" start at page 1! '; __END__ ##### From here on it's a standard manual page #####  .TH $PROG 1 "$month $mday, 19$year"- .AT 3  .SH NAME  $prog \\- whatever  .SH SYNOPSIS--- 73,85 ----        # These next few lines are legal in both Perl and nroff.  ! $null.00 ;                      # finish .ig     'di           \\" finish diversion--previous line must be blank  .nr nl 0-1    \\" fake up transition to first page again  .nr % 0         \\" start at page 1! .\\"'; __END__ ##### From here on it's a standard manual page #####  .TH $PROG 1 "$month $mday, 19$year"  .SH NAME  $prog \\- whatever  .SH SYNOPSIS* When I preview documents using -TX75 or -TX100, the layout is not the sameas when I print the document with -Tps: the line and page breaks comein different places.Use groff -X -Tps.* When I try to run gxditview, I get the error:Error: Widget viewport has zero width and/or heightThis error means you haven't correctly installed the applicationdefaults file, GXditview.ad; ``make install'' does this for youautomatically, so either you didn't do ``make install'', or you don'thave imake configured correctly.* groff uses up an enormous amount of memory processing large files.I'm using 386BSD 0.1.386BSD includes an old version of g++, 1.39, which has a bug thatcauses a major memory leak in gtroff.  Apply the following fix to g++and recompile groff:*** cplus-decl.c.~1~	Mon Aug  6 05:28:59 1990--- cplus-decl.c	Wed Jun  5 08:55:04 1991****************** 7951,7961 ****          /* At the end, call delete if that's what's requested.  */        if (TREE_GETS_DELETE (current_class_type))  	exprstmt = build_method_call (build1 (NOP_EXPR, TYPE_POINTER_TO (current_class_type), error_mark_node),  				      get_identifier (OPERATOR_DELETE_FORMAT),! 				      build_tree_list (NULL_TREE, integer_zero_node),  				      NULL_TREE, LOOKUP_NORMAL);        else if (TYPE_USES_VIRTUAL_BASECLASSES (current_class_type))  	exprstmt = build_x_delete (ptr_type_node, current_class_decl, 0);        else  	exprstmt = 0;--- 7951,7961 ----          /* At the end, call delete if that's what's requested.  */        if (TREE_GETS_DELETE (current_class_type))  	exprstmt = build_method_call (build1 (NOP_EXPR, TYPE_POINTER_TO (current_class_type), error_mark_node),  				      get_identifier (OPERATOR_DELETE_FORMAT),! 				      build_tree_list (NULL_TREE, current_class_decl),  				      NULL_TREE, LOOKUP_NORMAL);        else if (TYPE_USES_VIRTUAL_BASECLASSES (current_class_type))  	exprstmt = build_x_delete (ptr_type_node, current_class_decl, 0);        else  	exprstmt = 0;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -