diff -aruN groff-1.17.1/ChangeLog groff-1.17.2/ChangeLog --- groff-1.17.1/ChangeLog Thu Jun 21 14:07:54 2001 +++ groff-1.17.2/ChangeLog Sun Jul 8 00:09:45 2001 @@ -1,3 +1,105 @@ +2001-07-07 Werner LEMBERG + + * src/utils/indxbib/indxbib.cc (main): Change type of `name_max' + to size_t. + +2001-07-06 Ruslan Ermilov + + * tmac/doc.tmac (Rv): Make `Rv' really not parseable. + Fix synopsis. + * tmac/groff_mdoc.man: Fix synopsis. + +2001-07-05 Ruslan Ermilov + + * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list): + Restore `doc-Pa-font'. + +2001-07-04 Werner LEMBERG + + * src/utils/indxbib/dirnamemax.c: Moved to ... + * src/libs/libgroff/maxfilename.cc: Here. + s/dir_name_max/file_name_max/. + Add copyright. + * src/include/lib.h: Add file_name_max. + * src/utils/indxbib/indxbib.cc: Updated. + * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub: + Updated. + + * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define + as empty. + (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp(). + + * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE, + REGION_TEMPLATE): New macros. + (createAllPages, makeTempFiles): Use them. + Include `nonposix.h'. + (html_system): New function. + (createAllPages, createImage): Use it. + Use EXE_EXT. + + * tmac/www.tmac: Fix typos. + +2001-07-03 Werner LEMBERG + + * tmac/www.tmac: Disable hyphenation in normal text only if output + device is html. + (URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'. + * tmac/groff_mwww.man, NEWS: Updated. + +2001-07-03 Gaius Mulley + + * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical + image location. + +2001-07-02 Ruslan Ermilov + + * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack, + doc-display-ps-stack): Implement font and font size stack for + displays. + +2001-07-02 Werner LEMBERG + + * REVISION: Increased to 2. + * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'. + + * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the + beginning of a line. + * src/groff/grog/grog.sh: Ditto. + +2001-06-29 Peter Marquardt + + * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to + make it portable. + +2001-06-27 Werner LEMBERG + + Fix problems with preprocessor string for `man' program. + + * *.man: Don't use `s' in preprocessor string -- it doesn't exist. + Updated/added copyright. + Moved Emacs's local variable to identify nroff mode to the end of + the file; add local variable if missing. + +2001-06-26 Andras Salamon + + * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with + AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++). + * configure: Regenerated. + +2001-06-25 Andras Salamon + + * aclocal.m4 (GROFF_PAGE): Fix page detection code. + * configure: Regenerated. + +2001-06-24 Werner LEMBERG + + * doc/homepage.ms: Don't include arkup.tmac (which no longer exists) + but www.tmac. + * doc/pic.ms: Fix typos. + +Version 1.17.1 released +======================= + 2001-06-21 Golubev I. N. * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h. @@ -158,7 +260,7 @@ * Makefile.in: Use $(mandir). -2001-05-06 Alexios Zavras +2001-05-06 Alexios Zavras * src/utils/afmtodit/afmtodit.pl: Fix serious typo. @@ -398,7 +500,7 @@ * doc/groff.texinfo: Fixes, additions. * MORE.STUFF: Updated. -2001-04-12 Gaius Mulley +2001-04-12 Gaius Mulley * src/devices/grohtml/grohtml.man: Updated manual page regarding simple anchor. @@ -1874,7 +1976,7 @@ * src/roff/troff/troff.man, NEWS, man/groff.man: Updated. -2000-09-22 Ricardo Soares Guimarães +2000-09-22 Ricardo Soares Guimarães Adding a new option -P and new environment variable GROPS_PROLOGUE to grops, selecting a different prologue file (minor modifications @@ -2870,7 +2972,7 @@ * tmac/eqnrc: Small fixes. -2000-03-05 Abramo Bagnara +2000-03-05 Abramo Bagnara Adding a request `evc' to copy environments. @@ -3462,7 +3564,7 @@ * Makefile.in: Added $(tmac_m) again since the Makefile in `mm' expects this variable -2000-01-01 Gaius Mulley +2000-01-01 Gaius Mulley * doc/Makefile: Added instructions to create HTML and text versions of some files. @@ -3628,7 +3730,7 @@ * pfbtops/Makefile.sub: On AIX, -lm is needed also. -1999-12-03 Gaius Mulley +1999-12-03 Gaius Mulley * doc/Makefile: Added rule for generation pic.html. @@ -3638,7 +3740,7 @@ * tmac/tmac.html: Fixed suppression of headers. -1999-11-16 Gaius Mulley +1999-11-16 Gaius Mulley * tmac/tmac.html: Fixing horizontal arrows. @@ -3647,7 +3749,7 @@ * tmac/tmac.an: Improved support for grohtml; better indentation, no footers/headers. -1999-10-31 Gaius Mulley +1999-10-31 Gaius Mulley * tmac/tmac.arkup: Added CDFTP macro @@ -3656,7 +3758,7 @@ * tmac/troffrc: Some additions for HTML stuff. -1999-10-06 Gaius Mulley +1999-10-06 Gaius Mulley * tmac/tmac.html: Small changes. @@ -3664,7 +3766,7 @@ * doc/groff.texinfo: Minor fixes. -1999-09-26 Gaius Mulley +1999-09-26 Gaius Mulley * devhtml/TR: Changed spacewidth to 3. diff -aruN groff-1.17.1/NEWS groff-1.17.2/NEWS --- groff-1.17.1/NEWS Tue Jun 19 00:37:33 2001 +++ groff-1.17.2/NEWS Wed Jul 4 00:03:07 2001 @@ -1,6 +1,17 @@ This file describes recent user-visible changes in groff. Bug fixes are not described. There are more details in the man pages. +VERSION 1.17.2 +============== + +This is major bug-fixing release which should replace 1.17.1. + +Troff +----- + +o The `IMAGE' macro in www.tmac has changed: Now the optional 2nd parameter + gives the horizontal image location (left, centered, or right), and the + optional 3rd and 4th parameter the image dimensions. VERSION 1.17.1 ============== diff -aruN groff-1.17.1/REVISION groff-1.17.2/REVISION --- groff-1.17.1/REVISION Wed May 2 09:28:45 2001 +++ groff-1.17.2/REVISION Mon Jul 2 20:34:58 2001 @@ -1 +1 @@ -1 +2 diff -aruN groff-1.17.1/aclocal.m4 groff-1.17.2/aclocal.m4 --- groff-1.17.1/aclocal.m4 Thu Jun 21 14:07:54 2001 +++ groff-1.17.2/aclocal.m4 Tue Jun 26 21:48:33 2001 @@ -94,38 +94,35 @@ dnl AC_DEFUN(GROFF_POSIX, [AC_MSG_CHECKING([whether -D_POSIX_SOURCE is necessary]) -AC_LANG_SAVE -AC_LANG_CPLUSPLUS +AC_LANG_PUSH(C++) AC_TRY_COMPILE([#include extern "C" { void fileno(int); }],, AC_MSG_RESULT(yes);AC_DEFINE(_POSIX_SOURCE), AC_MSG_RESULT(no)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl dnl srand() of SunOS 4.1.3 has return type int instead of void dnl AC_DEFUN(GROFF_SRAND, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([for return type of srand]) AC_TRY_COMPILE([#include extern "C" { void srand(unsigned int); }],, AC_MSG_RESULT(void);AC_DEFINE(RET_TYPE_SRAND_IS_VOID), AC_MSG_RESULT(int)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_SYS_NERR, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([for sys_nerr in or ]) AC_TRY_COMPILE([#include #include ], [int k; k = sys_nerr;], AC_MSG_RESULT(yes);AC_DEFINE(HAVE_SYS_NERR), AC_MSG_RESULT(no)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_SYS_ERRLIST, @@ -138,36 +135,33 @@ dnl dnl AC_DEFUN(GROFF_OSFCN_H, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([C++ ]) AC_TRY_COMPILE([#include ], [read(0, 0, 0); open(0, 0);], AC_MSG_RESULT(yes);AC_DEFINE(HAVE_CC_OSFCN_H), AC_MSG_RESULT(no)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_LIMITS_H, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([C++ ]) AC_TRY_COMPILE([#include ], [int x = INT_MIN; int y = INT_MAX; int z = UCHAR_MAX;], AC_MSG_RESULT(yes);AC_DEFINE(HAVE_CC_LIMITS_H), AC_MSG_RESULT(no)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_TIME_T, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([for declaration of time_t]) AC_TRY_COMPILE([#include ], [time_t t = time(0); struct tm *p = localtime(&t);], AC_MSG_RESULT(yes), AC_MSG_RESULT(no);AC_DEFINE(LONG_FOR_TIME_T)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_STRUCT_EXCEPTION, @@ -179,26 +173,24 @@ dnl dnl AC_DEFUN(GROFF_ARRAY_DELETE, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([whether ANSI array delete syntax supported]) AC_TRY_COMPILE(, changequote(,)dnl char *p = new char[5]; delete [] p;changequote([,]), AC_MSG_RESULT(yes), AC_MSG_RESULT(no);AC_DEFINE(ARRAY_DELETE_NEEDS_SIZE)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl dnl AC_DEFUN(GROFF_TRADITIONAL_CPP, -[AC_LANG_SAVE -AC_LANG_CPLUSPLUS +[AC_LANG_PUSH(C++) AC_MSG_CHECKING([traditional preprocessor]) AC_TRY_COMPILE([#define name2(a,b) a/**/b],[int name2(foo,bar);], AC_MSG_RESULT(yes);AC_DEFINE(TRADITIONAL_CPP), AC_MSG_RESULT(no)) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_WCOREFLAG, @@ -246,8 +238,6 @@ if test -n "$descfile" \ && grep "^paperlength 841890" $descfile >/dev/null 2>&1; then PAGE=A4 - else - PAGE=letter fi fi if test -z "$PAGE"; then @@ -255,7 +245,8 @@ /etc/resolv.conf 2>/dev/null` if test -z "$dom"; then dom=`(domainname) 2>/dev/null | tr -d '+'` - if test -z "$dom"; then + if test -z "$dom" \ + || test "$dom" = '(none)'; then dom=`(hostname) 2>/dev/null | grep '\.'` fi fi @@ -275,8 +266,7 @@ dnl AC_DEFUN(GROFF_CXX_CHECK, [AC_REQUIRE([AC_PROG_CXX]) -AC_LANG_SAVE -AC_LANG_CPLUSPLUS +AC_LANG_PUSH(C++) if test "$cross_compiling" = no; then AC_MSG_CHECKING([that C++ compiler can compile simple program]) fi @@ -308,7 +298,7 @@ [fopen(0, 0);], AC_MSG_RESULT(yes), AC_MSG_RESULT(no);AC_MSG_ERROR([header files do not support C++ (if you are using a version of gcc/g++ earlier than 2.5, you should install libg++)])) -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl AC_DEFUN(GROFF_TMAC, @@ -455,8 +445,7 @@ dnl AC_DEFUN(GROFF_NEED_DECLARATION, [AC_MSG_CHECKING([whether $1 must be declared]) -AC_LANG_SAVE -AC_LANG_CPLUSPLUS +AC_LANG_PUSH(C++) AC_CACHE_VAL(groff_cv_decl_needed_$1, [AC_TRY_COMPILE([ #include @@ -482,7 +471,7 @@ if test $groff_cv_decl_needed_$1 = yes; then AC_DEFINE([NEED_DECLARATION_]translit($1, [a-z], [A-Z])) fi -AC_LANG_RESTORE])dnl +AC_LANG_POP(C++)])dnl dnl dnl dnl Check for mkstemp() and its function prototype. diff -aruN groff-1.17.1/configure groff-1.17.2/configure --- groff-1.17.1/configure Thu Jun 21 14:07:54 2001 +++ groff-1.17.2/configure Tue Jun 26 21:48:33 2001 @@ -2725,7 +2725,6 @@ fi echo "$as_me:2726: checking whether -D_POSIX_SOURCE is necessary" >&5 echo $ECHO_N "checking whether -D_POSIX_SOURCE is necessary... $ECHO_C" >&6 - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2733,7 +2732,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat >conftest.$ac_ext <<_ACEOF -#line 2736 "configure" +#line 2735 "configure" #include "confdefs.h" #include extern "C" { void fileno(int); } @@ -2746,18 +2745,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2749: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2748: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2752: \$? = $ac_status" >&5 + echo "$as_me:2751: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2755: \"$ac_try\"") >&5 + { (eval echo "$as_me:2754: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2758: \$? = $ac_status" >&5 + echo "$as_me:2757: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:2760: result: yes" >&5 + echo "$as_me:2759: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define _POSIX_SOURCE 1 EOF @@ -2765,7 +2764,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:2768: result: no" >&5 +echo "$as_me:2767: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -2781,10 +2780,10 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:2784: checking for return type of srand" >&5 +echo "$as_me:2783: checking for return type of srand" >&5 echo $ECHO_N "checking for return type of srand... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 2787 "configure" +#line 2786 "configure" #include "confdefs.h" #include extern "C" { void srand(unsigned int); } @@ -2797,18 +2796,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2800: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2799: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2803: \$? = $ac_status" >&5 + echo "$as_me:2802: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2806: \"$ac_try\"") >&5 + { (eval echo "$as_me:2805: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2809: \$? = $ac_status" >&5 + echo "$as_me:2808: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:2811: result: void" >&5 + echo "$as_me:2810: result: void" >&5 echo "${ECHO_T}void" >&6;cat >>confdefs.h <<\EOF #define RET_TYPE_SRAND_IS_VOID 1 EOF @@ -2816,7 +2815,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:2819: result: int" >&5 +echo "$as_me:2818: result: int" >&5 echo "${ECHO_T}int" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -2826,9 +2825,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:2829: checking whether hypot must be declared" >&5 +echo "$as_me:2828: checking whether hypot must be declared" >&5 echo $ECHO_N "checking whether hypot must be declared... $ECHO_C" >&6 - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2839,7 +2837,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2842 "configure" +#line 2840 "configure" #include "confdefs.h" #include @@ -2867,16 +2865,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2870: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2868: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2873: \$? = $ac_status" >&5 + echo "$as_me:2871: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2876: \"$ac_try\"") >&5 + { (eval echo "$as_me:2874: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2879: \$? = $ac_status" >&5 + echo "$as_me:2877: \$? = $ac_status" >&5 (exit $ac_status); }; }; then groff_cv_decl_needed_hypot=no else @@ -2887,7 +2885,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2890: result: $groff_cv_decl_needed_hypot" >&5 +echo "$as_me:2888: result: $groff_cv_decl_needed_hypot" >&5 echo "${ECHO_T}$groff_cv_decl_needed_hypot" >&6 if test $groff_cv_decl_needed_hypot = yes; then cat >>confdefs.h <<\EOF @@ -2901,9 +2899,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:2904: checking whether popen must be declared" >&5 +echo "$as_me:2902: checking whether popen must be declared" >&5 echo $ECHO_N "checking whether popen must be declared... $ECHO_C" >&6 - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2914,7 +2911,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2917 "configure" +#line 2914 "configure" #include "confdefs.h" #include @@ -2942,16 +2939,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:2945: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:2942: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:2948: \$? = $ac_status" >&5 + echo "$as_me:2945: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:2951: \"$ac_try\"") >&5 + { (eval echo "$as_me:2948: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:2954: \$? = $ac_status" >&5 + echo "$as_me:2951: \$? = $ac_status" >&5 (exit $ac_status); }; }; then groff_cv_decl_needed_popen=no else @@ -2962,7 +2959,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:2965: result: $groff_cv_decl_needed_popen" >&5 +echo "$as_me:2962: result: $groff_cv_decl_needed_popen" >&5 echo "${ECHO_T}$groff_cv_decl_needed_popen" >&6 if test $groff_cv_decl_needed_popen = yes; then cat >>confdefs.h <<\EOF @@ -2976,9 +2973,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:2979: checking whether pclose must be declared" >&5 +echo "$as_me:2976: checking whether pclose must be declared" >&5 echo $ECHO_N "checking whether pclose must be declared... $ECHO_C" >&6 - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -2989,7 +2985,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 2992 "configure" +#line 2988 "configure" #include "confdefs.h" #include @@ -3017,16 +3013,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3020: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3016: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3023: \$? = $ac_status" >&5 + echo "$as_me:3019: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3026: \"$ac_try\"") >&5 + { (eval echo "$as_me:3022: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3029: \$? = $ac_status" >&5 + echo "$as_me:3025: \$? = $ac_status" >&5 (exit $ac_status); }; }; then groff_cv_decl_needed_pclose=no else @@ -3037,7 +3033,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3040: result: $groff_cv_decl_needed_pclose" >&5 +echo "$as_me:3036: result: $groff_cv_decl_needed_pclose" >&5 echo "${ECHO_T}$groff_cv_decl_needed_pclose" >&6 if test $groff_cv_decl_needed_pclose = yes; then cat >>confdefs.h <<\EOF @@ -3051,9 +3047,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:3054: checking whether putenv must be declared" >&5 +echo "$as_me:3050: checking whether putenv must be declared" >&5 echo $ECHO_N "checking whether putenv must be declared... $ECHO_C" >&6 - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3064,7 +3059,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3067 "configure" +#line 3062 "configure" #include "confdefs.h" #include @@ -3092,16 +3087,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3095: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3090: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3098: \$? = $ac_status" >&5 + echo "$as_me:3093: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3101: \"$ac_try\"") >&5 + { (eval echo "$as_me:3096: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3104: \$? = $ac_status" >&5 + echo "$as_me:3099: \$? = $ac_status" >&5 (exit $ac_status); }; }; then groff_cv_decl_needed_putenv=no else @@ -3112,7 +3107,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3115: result: $groff_cv_decl_needed_putenv" >&5 +echo "$as_me:3110: result: $groff_cv_decl_needed_putenv" >&5 echo "${ECHO_T}$groff_cv_decl_needed_putenv" >&6 if test $groff_cv_decl_needed_putenv = yes; then cat >>confdefs.h <<\EOF @@ -3126,9 +3121,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:3129: checking whether strncasecmp must be declared" >&5 +echo "$as_me:3124: checking whether strncasecmp must be declared" >&5 echo $ECHO_N "checking whether strncasecmp must be declared... $ECHO_C" >&6 - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -3139,7 +3133,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3142 "configure" +#line 3136 "configure" #include "confdefs.h" #include @@ -3167,16 +3161,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3170: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3164: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3173: \$? = $ac_status" >&5 + echo "$as_me:3167: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3176: \"$ac_try\"") >&5 + { (eval echo "$as_me:3170: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3179: \$? = $ac_status" >&5 + echo "$as_me:3173: \$? = $ac_status" >&5 (exit $ac_status); }; }; then groff_cv_decl_needed_strncasecmp=no else @@ -3187,7 +3181,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3190: result: $groff_cv_decl_needed_strncasecmp" >&5 +echo "$as_me:3184: result: $groff_cv_decl_needed_strncasecmp" >&5 echo "${ECHO_T}$groff_cv_decl_needed_strncasecmp" >&6 if test $groff_cv_decl_needed_strncasecmp = yes; then cat >>confdefs.h <<\EOF @@ -3207,10 +3201,10 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:3210: checking for sys_nerr in or " >&5 +echo "$as_me:3204: checking for sys_nerr in or " >&5 echo $ECHO_N "checking for sys_nerr in or ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3213 "configure" +#line 3207 "configure" #include "confdefs.h" #include #include @@ -3223,18 +3217,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3226: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3220: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3229: \$? = $ac_status" >&5 + echo "$as_me:3223: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3232: \"$ac_try\"") >&5 + { (eval echo "$as_me:3226: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3235: \$? = $ac_status" >&5 + echo "$as_me:3229: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3237: result: yes" >&5 + echo "$as_me:3231: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define HAVE_SYS_NERR 1 EOF @@ -3242,7 +3236,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3245: result: no" >&5 +echo "$as_me:3239: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -3252,10 +3246,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:3255: checking for sys_errlist in or " >&5 +echo "$as_me:3249: checking for sys_errlist in or " >&5 echo $ECHO_N "checking for sys_errlist in or ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3258 "configure" +#line 3252 "configure" #include "confdefs.h" #include #include @@ -3268,18 +3262,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3271: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3265: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3274: \$? = $ac_status" >&5 + echo "$as_me:3268: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3277: \"$ac_try\"") >&5 + { (eval echo "$as_me:3271: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3280: \$? = $ac_status" >&5 + echo "$as_me:3274: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3282: result: yes" >&5 + echo "$as_me:3276: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define HAVE_SYS_ERRLIST 1 EOF @@ -3287,21 +3281,20 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3290: result: no" >&5 +echo "$as_me:3284: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext - ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:3301: checking C++ " >&5 +echo "$as_me:3294: checking C++ " >&5 echo $ECHO_N "checking C++ ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3304 "configure" +#line 3297 "configure" #include "confdefs.h" #include int @@ -3313,18 +3306,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3316: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3309: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3319: \$? = $ac_status" >&5 + echo "$as_me:3312: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3322: \"$ac_try\"") >&5 + { (eval echo "$as_me:3315: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3325: \$? = $ac_status" >&5 + echo "$as_me:3318: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3327: result: yes" >&5 + echo "$as_me:3320: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define HAVE_CC_OSFCN_H 1 EOF @@ -3332,7 +3325,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3335: result: no" >&5 +echo "$as_me:3328: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -3348,10 +3341,10 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:3351: checking C++ " >&5 +echo "$as_me:3344: checking C++ " >&5 echo $ECHO_N "checking C++ ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3354 "configure" +#line 3347 "configure" #include "confdefs.h" #include int @@ -3363,18 +3356,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3366: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3359: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3369: \$? = $ac_status" >&5 + echo "$as_me:3362: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3372: \"$ac_try\"") >&5 + { (eval echo "$as_me:3365: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3375: \$? = $ac_status" >&5 + echo "$as_me:3368: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3377: result: yes" >&5 + echo "$as_me:3370: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define HAVE_CC_LIMITS_H 1 EOF @@ -3382,7 +3375,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3385: result: no" >&5 +echo "$as_me:3378: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -3398,10 +3391,10 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:3401: checking for declaration of time_t" >&5 +echo "$as_me:3394: checking for declaration of time_t" >&5 echo $ECHO_N "checking for declaration of time_t... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3404 "configure" +#line 3397 "configure" #include "confdefs.h" #include int @@ -3413,23 +3406,23 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3416: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3409: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3419: \$? = $ac_status" >&5 + echo "$as_me:3412: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3422: \"$ac_try\"") >&5 + { (eval echo "$as_me:3415: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3425: \$? = $ac_status" >&5 + echo "$as_me:3418: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3427: result: yes" >&5 + echo "$as_me:3420: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3432: result: no" >&5 +echo "$as_me:3425: result: no" >&5 echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\EOF #define LONG_FOR_TIME_T 1 EOF @@ -3442,13 +3435,13 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:3445: checking return type of signal handlers" >&5 +echo "$as_me:3438: checking return type of signal handlers" >&5 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 if test "${ac_cv_type_signal+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3451 "configure" +#line 3444 "configure" #include "confdefs.h" #include #include @@ -3470,16 +3463,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3473: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3466: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3476: \$? = $ac_status" >&5 + echo "$as_me:3469: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3479: \"$ac_try\"") >&5 + { (eval echo "$as_me:3472: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3482: \$? = $ac_status" >&5 + echo "$as_me:3475: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_type_signal=void else @@ -3489,17 +3482,17 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:3492: result: $ac_cv_type_signal" >&5 +echo "$as_me:3485: result: $ac_cv_type_signal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6 cat >>confdefs.h <&5 +echo "$as_me:3492: checking struct exception" >&5 echo $ECHO_N "checking struct exception... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 3502 "configure" +#line 3495 "configure" #include "confdefs.h" #include int @@ -3511,18 +3504,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:3514: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:3507: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:3517: \$? = $ac_status" >&5 + echo "$as_me:3510: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:3520: \"$ac_try\"") >&5 + { (eval echo "$as_me:3513: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3523: \$? = $ac_status" >&5 + echo "$as_me:3516: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:3525: result: yes" >&5 + echo "$as_me:3518: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define HAVE_STRUCT_EXCEPTION 1 EOF @@ -3530,11 +3523,11 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:3533: result: no" >&5 +echo "$as_me:3526: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext -echo "$as_me:3537: checking for sin in -lm" >&5 +echo "$as_me:3530: checking for sin in -lm" >&5 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6 if test "${ac_cv_lib_m_sin+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3542,7 +3535,7 @@ ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 3545 "configure" +#line 3538 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -3561,16 +3554,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3564: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3557: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3567: \$? = $ac_status" >&5 + echo "$as_me:3560: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3570: \"$ac_try\"") >&5 + { (eval echo "$as_me:3563: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3573: \$? = $ac_status" >&5 + echo "$as_me:3566: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_m_sin=yes else @@ -3581,7 +3574,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:3584: result: $ac_cv_lib_m_sin" >&5 +echo "$as_me:3577: result: $ac_cv_lib_m_sin" >&5 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6 if test $ac_cv_lib_m_sin = yes; then LIBM=-lm @@ -3590,23 +3583,23 @@ for ac_header in stdlib.h unistd.h do ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh` -echo "$as_me:3593: checking for $ac_header" >&5 +echo "$as_me:3586: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$ac_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3599 "configure" +#line 3592 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:3603: \"$ac_cpp conftest.$ac_ext\"") >&5 +if { (eval echo "$as_me:3596: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:3609: \$? = $ac_status" >&5 + echo "$as_me:3602: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -3625,7 +3618,7 @@ fi rm -f conftest.err conftest.$ac_ext fi -echo "$as_me:3628: result: `eval echo '${'$ac_ac_Header'}'`" >&5 +echo "$as_me:3621: result: `eval echo '${'$ac_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6 if test `eval echo '${'$ac_ac_Header'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3634: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$ac_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3647 "configure" +#line 3640 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -3675,16 +3668,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3678: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3671: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3681: \$? = $ac_status" >&5 + echo "$as_me:3674: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3684: \"$ac_try\"") >&5 + { (eval echo "$as_me:3677: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3687: \$? = $ac_status" >&5 + echo "$as_me:3680: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$ac_ac_var=yes" else @@ -3694,7 +3687,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3697: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "$as_me:3690: result: `eval echo '${'$ac_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3700: checking for working mmap" >&5 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -3713,7 +3706,7 @@ ac_cv_func_mmap_fixed_mapped=no else cat >conftest.$ac_ext <<_ACEOF -#line 3716 "configure" +#line 3709 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: @@ -3845,15 +3838,15 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:3848: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3841: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3851: \$? = $ac_status" >&5 + echo "$as_me:3844: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:3853: \"$ac_try\"") >&5 + { (eval echo "$as_me:3846: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3856: \$? = $ac_status" >&5 + echo "$as_me:3849: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mmap_fixed_mapped=yes else @@ -3865,7 +3858,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext fi fi -echo "$as_me:3868: result: $ac_cv_func_mmap_fixed_mapped" >&5 +echo "$as_me:3861: result: $ac_cv_func_mmap_fixed_mapped" >&5 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 if test $ac_cv_func_mmap_fixed_mapped = yes; then @@ -3882,13 +3875,13 @@ for ac_func in fmod strtol getcwd strerror putenv do ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh` -echo "$as_me:3885: checking for $ac_func" >&5 +echo "$as_me:3878: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$ac_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3891 "configure" +#line 3884 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -3919,16 +3912,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3922: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3915: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3925: \$? = $ac_status" >&5 + echo "$as_me:3918: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:3928: \"$ac_try\"") >&5 + { (eval echo "$as_me:3921: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:3931: \$? = $ac_status" >&5 + echo "$as_me:3924: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$ac_ac_var=yes" else @@ -3938,7 +3931,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:3941: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "$as_me:3934: result: `eval echo '${'$ac_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:3951: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$ac_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 3964 "configure" +#line 3957 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -3992,16 +3985,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:3995: \"$ac_link\"") >&5 +if { (eval echo "$as_me:3988: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:3998: \$? = $ac_status" >&5 + echo "$as_me:3991: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4001: \"$ac_try\"") >&5 + { (eval echo "$as_me:3994: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4004: \$? = $ac_status" >&5 + echo "$as_me:3997: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$ac_ac_var=yes" else @@ -4011,7 +4004,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4014: result: `eval echo '${'$ac_ac_var'}'`" >&5 +echo "$as_me:4007: result: `eval echo '${'$ac_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6 if test `eval echo '${'$ac_ac_var'}'` = yes; then cat >>confdefs.h <&5 +echo "$as_me:4017: checking for mkstemp" >&5 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 if test "${ac_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4030 "configure" +#line 4023 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char mkstemp (); below. */ @@ -4058,16 +4051,16 @@ } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:4061: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4054: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4064: \$? = $ac_status" >&5 + echo "$as_me:4057: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:4067: \"$ac_try\"") >&5 + { (eval echo "$as_me:4060: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4070: \$? = $ac_status" >&5 + echo "$as_me:4063: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_mkstemp=yes else @@ -4077,42 +4070,42 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4080: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:4073: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 if test $ac_cv_func_mkstemp = yes; then cat >>confdefs.h <<\EOF #define HAVE_MKSTEMP 1 EOF -echo "$as_me:4087: checking for mkstemp prototype in " >&5 +echo "$as_me:4080: checking for mkstemp prototype in " >&5 echo $ECHO_N "checking for mkstemp prototype in ... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 4090 "configure" +#line 4083 "configure" #include "confdefs.h" #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "mkstemp" >/dev/null 2>&1; then - echo "$as_me:4096: result: yes" >&5 + echo "$as_me:4089: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define HAVE_MKSTEMP_PROTO 1 EOF else - echo "$as_me:4102: result: no" >&5 + echo "$as_me:4095: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest* fi -echo "$as_me:4109: checking for sys_siglist declaration in signal.h or unistd.h" >&5 +echo "$as_me:4102: checking for sys_siglist declaration in signal.h or unistd.h" >&5 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6 if test "${ac_cv_decl_sys_siglist+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4115 "configure" +#line 4108 "configure" #include "confdefs.h" #include #include @@ -4130,16 +4123,16 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4133: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4126: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4136: \$? = $ac_status" >&5 + echo "$as_me:4129: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4139: \"$ac_try\"") >&5 + { (eval echo "$as_me:4132: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4142: \$? = $ac_status" >&5 + echo "$as_me:4135: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_decl_sys_siglist=yes else @@ -4149,7 +4142,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:4152: result: $ac_cv_decl_sys_siglist" >&5 +echo "$as_me:4145: result: $ac_cv_decl_sys_siglist" >&5 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6 if test $ac_cv_decl_sys_siglist = yes; then @@ -4165,10 +4158,10 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:4168: checking whether ANSI array delete syntax supported" >&5 +echo "$as_me:4161: checking whether ANSI array delete syntax supported" >&5 echo $ECHO_N "checking whether ANSI array delete syntax supported... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 4171 "configure" +#line 4164 "configure" #include "confdefs.h" int @@ -4180,23 +4173,23 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4183: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4176: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4186: \$? = $ac_status" >&5 + echo "$as_me:4179: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4189: \"$ac_try\"") >&5 + { (eval echo "$as_me:4182: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4192: \$? = $ac_status" >&5 + echo "$as_me:4185: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:4194: result: yes" >&5 + echo "$as_me:4187: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:4199: result: no" >&5 +echo "$as_me:4192: result: no" >&5 echo "${ECHO_T}no" >&6;cat >>confdefs.h <<\EOF #define ARRAY_DELETE_NEEDS_SIZE 1 EOF @@ -4215,10 +4208,10 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu -echo "$as_me:4218: checking traditional preprocessor" >&5 +echo "$as_me:4211: checking traditional preprocessor" >&5 echo $ECHO_N "checking traditional preprocessor... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF -#line 4221 "configure" +#line 4214 "configure" #include "confdefs.h" #define name2(a,b) a/**/b int @@ -4230,18 +4223,18 @@ } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:4233: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:4236: \$? = $ac_status" >&5 + echo "$as_me:4229: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:4239: \"$ac_try\"") >&5 + { (eval echo "$as_me:4232: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4242: \$? = $ac_status" >&5 + echo "$as_me:4235: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:4244: result: yes" >&5 + echo "$as_me:4237: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define TRADITIONAL_CPP 1 EOF @@ -4249,7 +4242,7 @@ else echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:4252: result: no" >&5 +echo "$as_me:4245: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f conftest.$ac_objext conftest.$ac_ext @@ -4259,14 +4252,14 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:4262: checking w_coredump" >&5 +echo "$as_me:4255: checking w_coredump" >&5 echo $ECHO_N "checking w_coredump... $ECHO_C" >&6 if test "$cross_compiling" = yes; then - echo "$as_me:4265: result: no" >&5 + echo "$as_me:4258: result: no" >&5 echo "${ECHO_T}no" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 4269 "configure" +#line 4262 "configure" #include "confdefs.h" #include #include @@ -4282,17 +4275,17 @@ } _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:4285: \"$ac_link\"") >&5 +if { (eval echo "$as_me:4278: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:4288: \$? = $ac_status" >&5 + echo "$as_me:4281: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:4290: \"$ac_try\"") >&5 + { (eval echo "$as_me:4283: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:4293: \$? = $ac_status" >&5 + echo "$as_me:4286: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:4295: result: yes" >&5 + echo "$as_me:4288: result: yes" >&5 echo "${ECHO_T}yes" >&6;cat >>confdefs.h <<\EOF #define WCOREFLAG 0200 EOF @@ -4301,18 +4294,18 @@ echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:4304: result: no" >&5 +echo "$as_me:4297: result: no" >&5 echo "${ECHO_T}no" >&6 fi rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:4309: checking default value for grops -b option" >&5 +echo "$as_me:4302: checking default value for grops -b option" >&5 echo $ECHO_N "checking default value for grops -b option... $ECHO_C" >&6 test -n "${BROKEN_SPOOLER_FLAGS}" || BROKEN_SPOOLER_FLAGS=7 -echo "$as_me:4312: result: $BROKEN_SPOOLER_FLAGS" >&5 +echo "$as_me:4305: result: $BROKEN_SPOOLER_FLAGS" >&5 echo "${ECHO_T}$BROKEN_SPOOLER_FLAGS" >&6 -echo "$as_me:4315: checking default paper size" >&5 +echo "$as_me:4308: checking default paper size" >&5 echo $ECHO_N "checking default paper size... $ECHO_C" >&6 if test -z "$PAGE"; then descfile= @@ -4331,8 +4324,6 @@ if test -n "$descfile" \ && grep "^paperlength 841890" $descfile >/dev/null 2>&1; then PAGE=A4 - else - PAGE=letter fi fi if test -z "$PAGE"; then @@ -4340,7 +4331,8 @@ /etc/resolv.conf 2>/dev/null` if test -z "$dom"; then dom=`(domainname) 2>/dev/null | tr -d '+'` - if test -z "$dom"; then + if test -z "$dom" \ + || test "$dom" = '(none)'; then dom=`(hostname) 2>/dev/null | grep '\.'` fi fi @@ -4352,22 +4344,22 @@ esac fi test -n "$PAGE" || PAGE=letter -echo "$as_me:4355: result: $PAGE" >&5 +echo "$as_me:4347: result: $PAGE" >&5 echo "${ECHO_T}$PAGE" >&6 -echo "$as_me:4358: checking for existing troff installation" >&5 +echo "$as_me:4350: checking for existing troff installation" >&5 echo $ECHO_N "checking for existing troff installation... $ECHO_C" >&6 if test "x`(echo .tm '|n(.g' | tr '|' '\\\\' | troff -z -i 2>&1) 2>/dev/null`" = x0; then - echo "$as_me:4361: result: yes" >&5 + echo "$as_me:4353: result: yes" >&5 echo "${ECHO_T}yes" >&6 g=g else - echo "$as_me:4365: result: no" >&5 + echo "$as_me:4357: result: no" >&5 echo "${ECHO_T}no" >&6 g= fi -echo "$as_me:4370: checking for prefix of system macro packages" >&5 +echo "$as_me:4362: checking for prefix of system macro packages" >&5 echo $ECHO_N "checking for prefix of system macro packages... $ECHO_C" >&6 sys_tmac_prefix= sys_tmac_file_prefix= @@ -4384,11 +4376,11 @@ done done done -echo "$as_me:4387: result: $sys_tmac_prefix" >&5 +echo "$as_me:4379: result: $sys_tmac_prefix" >&5 echo "${ECHO_T}$sys_tmac_prefix" >&6 tmac_wrap= -echo "$as_me:4391: checking which system macro packages should be made available" >&5 +echo "$as_me:4383: checking which system macro packages should be made available" >&5 echo $ECHO_N "checking which system macro packages should be made available... $ECHO_C" >&6 if test "x$sys_tmac_file_prefix" = "xtmac."; then for f in $sys_tmac_prefix*; do @@ -4424,7 +4416,7 @@ done rm -f conftest.sol fi -echo "$as_me:4427: result: $tmac_wrap" >&5 +echo "$as_me:4419: result: $tmac_wrap" >&5 echo "${ECHO_T}$tmac_wrap" >&6 $srcdir/mkinstalldirs src/xditview @@ -4539,7 +4531,7 @@ : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:4542: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:4534: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -4707,7 +4699,7 @@ echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:4710: error: ambiguous option: $1 + { { echo "$as_me:4702: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -4730,12 +4722,12 @@ 'src/xditview/Imakefile' ) CONFIG_FILES="$CONFIG_FILES src/xditview/Imakefile" ;; # This is an error. - -*) { { echo "$as_me:4733: error: unrecognized option: $1 + -*) { { echo "$as_me:4725: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; } ;; - *) { { echo "$as_me:4738: error: invalid argument: $1" >&5 + *) { { echo "$as_me:4730: error: invalid argument: $1" >&5 echo "$as_me: error: invalid argument: $1" >&2;} { (exit 1); exit 1; }; };; esac @@ -4976,7 +4968,7 @@ esac if test x"$ac_file" != x-; then - { echo "$as_me:4979: creating $ac_file" >&5 + { echo "$as_me:4971: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -4994,7 +4986,7 @@ -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:4997: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:4989: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -5007,7 +4999,7 @@ echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:5010: error: cannot find input file: $f" >&5 + { { echo "$as_me:5002: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; diff -aruN groff-1.17.1/contrib/mm/groff_mm.man groff-1.17.2/contrib/mm/groff_mm.man --- groff-1.17.1/contrib/mm/groff_mm.man Fri Apr 13 11:03:52 2001 +++ groff-1.17.2/contrib/mm/groff_mm.man Wed Jun 27 14:47:16 2001 @@ -1,5 +1,5 @@ .\" -.\" $Id: groff_mm.man,v 2.1 2001/04/13 09:03:52 wlemb Exp $ +.\" $Id: groff_mm.man,v 2.2 2001/06/27 12:47:16 wlemb Exp $ .\" .de T2 .ne 2v @@ -1895,3 +1895,7 @@ .br .BR mm (@MAN7EXT@) .BR m@TMAC_M_PREFIX@mse (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/contrib/mm/groff_mmse.man groff-1.17.2/contrib/mm/groff_mmse.man --- groff-1.17.1/contrib/mm/groff_mmse.man Thu Sep 14 05:40:24 2000 +++ groff-1.17.2/contrib/mm/groff_mmse.man Wed Jun 27 14:47:16 2001 @@ -1,5 +1,5 @@ .\" -.\" $Id: groff_mmse.man,v 2.0 2000/09/14 03:40:24 jhaegg Exp $ +.\" $Id: groff_mmse.man,v 2.1 2001/06/27 12:47:16 wlemb Exp $ .\" Skrivet av Jörgen Hägg, Lund, Sverige .\" .TH GROFF_MMSE @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@" @@ -80,3 +80,7 @@ .BR @g@eqn (@MAN1EXT@) .br .BR m@TMAC_M_PREFIX@m (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/contrib/mm/mmroff.man groff-1.17.2/contrib/mm/mmroff.man --- groff-1.17.1/contrib/mm/mmroff.man Thu Sep 14 05:40:24 2000 +++ groff-1.17.2/contrib/mm/mmroff.man Wed Jun 27 14:47:16 2001 @@ -1,5 +1,5 @@ .\" -.\" $Id: mmroff.man,v 2.0 2000/09/14 03:40:24 jhaegg Exp $ +.\" $Id: mmroff.man,v 2.1 2001/06/27 12:47:16 wlemb Exp $ .\" .TH MMROFF @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@" .SH NAME @@ -46,3 +46,7 @@ .br .BR mm (@MAN7EXT@) .BR m@TMAC_M_PREFIX@mse (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/doc/homepage.ms groff-1.17.2/doc/homepage.ms --- groff-1.17.1/doc/homepage.ms Wed Jan 17 15:17:19 2001 +++ groff-1.17.2/doc/homepage.ms Sun Jun 24 15:03:27 2001 @@ -4,7 +4,7 @@ .\" .\" To make it work with other output devices also, we include arkup.tmac .\" directly. -.mso arkup.tmac +.mso www.tmac .\" .LP .\" diff -aruN groff-1.17.1/doc/pic.ms groff-1.17.2/doc/pic.ms --- groff-1.17.1/doc/pic.ms Fri Apr 13 19:11:32 2001 +++ groff-1.17.2/doc/pic.ms Sun Jun 24 15:03:27 2001 @@ -10,7 +10,7 @@ .\" This document was written for free use and redistribution by .\" Eric S. Raymond in August 1995. .\" -.\" $Id: pic.ms,v 1.3 2001/04/13 17:11:32 wlemb Exp $ +.\" $Id: pic.ms,v 1.4 2001/06/24 13:03:27 wlemb Exp $ .\" .\" Set a proper TeX .ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X @@ -1507,7 +1507,7 @@ If you want to pass in a coordinate pair, you can avoid getting tripped up by the comma by wrapping the pair in parentheses. .PP -Macros persist through pictures. To undefine a mcro, say \fBundef\fP +Macros persist through pictures. To undefine a macro, say \fBundef\fP \fIname\fR; for example, .DS \f(CWundef jumper\fP @@ -1554,7 +1554,7 @@ In either of the \fBcopy\fP commands, GNU \fBgpic\fP permits a trailing `\fBuntil\fP \fIword\fP' clause to be added which terminates the copy when the first word matches the argument (the default -behavior is therefore equivalent to \fBuntil .PE\fP, +behavior is therefore equivalent to \fBuntil .PE\fP). .PP Accordingly, the command .RS @@ -2390,7 +2390,7 @@ .DE .LP The arguments (if any) will be substituted for tokens $1, $2 ... $n -appearing in the replacement text. To undefine a mcro, say \fBundef\fP +appearing in the replacement text. To undefine a macro, say \fBundef\fP \fIname\fR, specifying the name to be undefined. .\"%%POSTLUDE%% .NH 1 diff -aruN groff-1.17.1/man/groff.man groff-1.17.2/man/groff.man --- groff-1.17.1/man/groff.man Mon Jun 11 21:59:20 2001 +++ groff-1.17.2/man/groff.man Wed Jun 27 14:47:16 2001 @@ -1,4 +1,4 @@ -'\" st -*- nroff -*- +'\" t .ig groff.7 @@ -7,8 +7,6 @@ Copyright (C) 2000, 2001 Free Software Foundation, Inc. written by Bernd Warken -Last update: 17 May 2000 - Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the @@ -2923,3 +2921,7 @@ and .RS .IR http://www.kohala.com/start/troff/ . +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/man/groff_char.man groff-1.17.2/man/groff_char.man --- groff-1.17.1/man/groff_char.man Fri Jan 12 23:42:36 2001 +++ groff-1.17.2/man/groff_char.man Wed Jun 27 14:47:16 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -571,3 +571,7 @@ .IR "An extension to the troff character set for Europe" , E.G. Keizer, K.J. Simonsen, J. Akkerhuis, EUUG Newsletter, Volume 9, No. 2, Summer 1989 +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/man/groff_font.man groff-1.17.2/man/groff_font.man --- groff-1.17.1/man/groff_font.man Mon Mar 19 16:33:03 2001 +++ groff-1.17.2/man/groff_font.man Wed Jun 27 14:47:16 2001 @@ -1,4 +1,4 @@ -.ig \"-*- nroff -*- +.ig Copyright (C) 1989-1995, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of @@ -417,3 +417,7 @@ .SH "SEE ALSO" .BR groff_out (@MAN5EXT@), .BR @g@troff (@MAN1EXT@). +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/man/roff.man groff-1.17.2/man/roff.man --- groff-1.17.1/man/roff.man Mon Jun 11 21:59:20 2001 +++ groff-1.17.2/man/roff.man Wed Jun 27 14:47:16 2001 @@ -1,14 +1,12 @@ -'\" t -*- nroff -*- +'\" t .ig roff.7 This file is part of groff, the GNU roff type-setting system. -Copyright (C) 2000 Free Software Foundation, Inc. +Copyright (C) 2000, 2001 Free Software Foundation, Inc. written by Bernd Warken -Last update: 17 May 2000 - Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the @@ -539,3 +537,7 @@ .I http://cm.bell-labs.com/cm/cs/cstr.html and the collection of the late Richard S. Stevens at .IR http://www.kohala.com/start/troff/ . +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/devices/grodvi/grodvi.man groff-1.17.2/src/devices/grodvi/grodvi.man --- groff-1.17.1/src/devices/grodvi/grodvi.man Wed Nov 22 23:11:17 2000 +++ groff-1.17.2/src/devices/grodvi/grodvi.man Wed Jun 27 14:47:16 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -172,3 +172,7 @@ .BR groff_out (@MAN5EXT@), .BR groff_font (@MAN5EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/devices/grohtml/grohtml.man groff-1.17.2/src/devices/grohtml/grohtml.man --- groff-1.17.1/src/devices/grohtml/grohtml.man Tue Jun 19 00:37:33 2001 +++ groff-1.17.2/src/devices/grohtml/grohtml.man Wed Jun 27 14:47:17 2001 @@ -1,4 +1,4 @@ -.ig \"-*- nroff -*- +.ig Copyright (C) 1999-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this @@ -154,3 +154,7 @@ .BR groff_out (@MAN5EXT@), .BR groff_font (@MAN5EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/devices/grolj4/grolj4.man groff-1.17.2/src/devices/grolj4/grolj4.man --- groff-1.17.1/src/devices/grolj4/grolj4.man Wed Nov 22 23:11:18 2000 +++ groff-1.17.2/src/devices/grolj4/grolj4.man Wed Jun 27 14:47:17 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1994-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1994-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -142,3 +142,7 @@ .BR groff_out (@MAN5EXT@), .BR groff_font (@MAN5EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/devices/grops/grops.man groff-1.17.2/src/devices/grops/grops.man --- groff-1.17.1/src/devices/grops/grops.man Thu Jan 18 20:05:39 2001 +++ groff-1.17.2/src/devices/grops/grops.man Wed Jun 27 14:47:18 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -859,3 +859,7 @@ .BR groff_out (@MAN5EXT@), .BR groff_font (@MAN5EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/devices/grotty/grotty.man groff-1.17.2/src/devices/grotty/grotty.man --- groff-1.17.1/src/devices/grotty/grotty.man Fri Apr 6 15:03:16 2001 +++ groff-1.17.2/src/devices/grotty/grotty.man Wed Jun 27 14:47:18 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -258,3 +258,7 @@ .BR ul (1), .BR more (1), .BR less (1) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/include/lib.h groff-1.17.2/src/include/lib.h --- groff-1.17.1/src/include/lib.h Fri Apr 20 15:34:59 2001 +++ groff-1.17.2/src/include/lib.h Thu Jul 5 00:51:03 2001 @@ -43,8 +43,8 @@ #include #endif -FILE *xtmpfile(char **namep=0, char *postfix=0, int do_unlink=1); -char *xtmptemplate(char *extension=0); +FILE *xtmpfile(char **namep = 0, char *postfix = 0, int do_unlink = 1); +char *xtmptemplate(char *extension = 0); #ifdef NEED_DECLARATION_POPEN @@ -57,6 +57,8 @@ extern "C" { int pclose (FILE *); } #endif /* NEED_DECLARATION_PCLOSE */ + +size_t file_name_max(const char *fname); int interpret_lf_args(const char *p); diff -aruN groff-1.17.1/src/libs/libgroff/Makefile.sub groff-1.17.2/src/libs/libgroff/Makefile.sub --- groff-1.17.1/src/libs/libgroff/Makefile.sub Fri Apr 20 15:35:00 2001 +++ groff-1.17.2/src/libs/libgroff/Makefile.sub Thu Jul 5 00:51:16 2001 @@ -18,6 +18,7 @@ lf.o \ lineno.o \ macropath.o \ + maxfilename.o \ nametoindex.o \ new.o \ prime.o \ @@ -49,6 +50,7 @@ $(srcdir)/lf.cc \ $(srcdir)/lineno.cc \ $(srcdir)/macropath.cc \ + $(srcdir)/maxfilename.cc \ $(srcdir)/nametoindex.cc \ $(srcdir)/new.cc \ $(srcdir)/prime.cc \ diff -aruN groff-1.17.1/src/libs/libgroff/maxfilename.cc groff-1.17.2/src/libs/libgroff/maxfilename.cc --- groff-1.17.1/src/libs/libgroff/maxfilename.cc Thu Jan 1 01:00:00 1970 +++ groff-1.17.2/src/libs/libgroff/maxfilename.cc Thu Jul 5 01:11:58 2001 @@ -0,0 +1,67 @@ +// -*- C++ -*- +/* Copyright (C) 1992, 2001 Free Software Foundation, Inc. + Written by James Clark (jjc@jclark.com) + +This file is part of groff. + +groff is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +groff is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License along +with groff; see the file COPYING. If not, write to the Free Software +Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +/* file_name_max(dir) does the same as pathconf(dir, _PC_NAME_MAX) */ + +#include + +#ifdef HAVE_UNISTD_H +#include +#endif /* HAVE_UNISTD_H */ + +#ifdef _POSIX_VERSION + +size_t file_name_max(const char *fname) +{ + return pathconf(fname, _PC_NAME_MAX); +} + +#else /* not _POSIX_VERSION */ + +#ifdef HAVE_LIMITS_H +#include +#endif /* HAVE_LIMITS_H */ + +#ifdef HAVE_DIRENT_H +#include +#else /* not HAVE_DIRENT_H */ +#ifdef HAVE_SYS_DIR_H +#include +#endif /* HAVE_SYS_DIR_H */ +#endif /* not HAVE_DIRENT_H */ + +#ifndef NAME_MAX +#ifdef MAXNAMLEN +#define NAME_MAX MAXNAMLEN +#else /* !MAXNAMLEN */ +#ifdef MAXNAMELEN +#define NAME_MAX MAXNAMELEN +#else /* !MAXNAMELEN */ +#define NAME_MAX 14 +#endif /* !MAXNAMELEN */ +#endif /* !MAXNAMLEN */ +#endif /* !NAME_MAX */ + +size_t file_name_max(const char *) +{ + return NAME_MAX; +} + +#endif /* not _POSIX_VERSION */ diff -aruN groff-1.17.1/src/libs/libgroff/tmpfile.cc groff-1.17.2/src/libs/libgroff/tmpfile.cc --- groff-1.17.1/src/libs/libgroff/tmpfile.cc Sat Apr 21 01:53:49 2001 +++ groff-1.17.2/src/libs/libgroff/tmpfile.cc Thu Jul 5 00:51:16 2001 @@ -1,5 +1,6 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001 + Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. @@ -47,7 +48,11 @@ # define DEFAULT_TMPDIR "/tmp" #endif // Use this as the prefix for temporary filenames. -#define TMPFILE_PREFIX "groff" +#ifdef __MSDOS__ +#define TMPFILE_PREFIX "" +#else +#define TMPFILE_PREFIX "groff" +#endif /* * Generate a temporary name template with a postfix @@ -103,14 +108,13 @@ { struct xtmpfile_list *p = xtmpfiles_to_delete; - while (p) - { - if (unlink(p->fname) < 0) - error("cannot unlink `%1': %2", p->fname, strerror(errno)); - struct xtmpfile_list *old = p; - p = p->next; - free(old); - } + while (p) { + if (unlink(p->fname) < 0) + error("cannot unlink `%1': %2", p->fname, strerror(errno)); + struct xtmpfile_list *old = p; + p = p->next; + free(old); + } } static void add_tmp_file(const char *name) @@ -121,11 +125,10 @@ struct xtmpfile_list *p = (struct xtmpfile_list *)malloc(sizeof(struct xtmpfile_list) + strlen (name)); - if (p == NULL) - { - error("cannot unlink `%1': %2", name, strerror(errno)); - return; - } + if (p == NULL) { + error("cannot unlink `%1': %2", name, strerror(errno)); + return; + } p->next = xtmpfiles_to_delete; strcpy(p->fname, name); xtmpfiles_to_delete = p; @@ -133,8 +136,6 @@ // Open a temporary file and with fatal error on failure. -#ifndef _MSC_VER - FILE *xtmpfile(char **namep, char *postfix, int do_unlink) { char *templ = xtmptemplate(postfix); @@ -158,28 +159,9 @@ #endif /* not HAVE_MKSTEMP */ if (do_unlink) add_tmp_file(templ); - if ((namep != 0) && ((*namep) != 0)) { + if ((namep != 0) && ((*namep) != 0)) *namep = templ; - } else { + else a_delete templ; - } - return fp; -} - -#else - -// FIXME: does MSVC have mktemp or mkstemp? If so, it should now -// use the version above, as it no longer removes an open file. -// The version below will NOT work with grohtml, since grohtml -// wants to know the name of the file opened by xtmpfile!! - -// If you're not running Unix, the following will do: -FILE *xtmpfile(char **namep, char *postfix, int do_unlink) -{ - FILE *fp = tmpfile(); - if (!fp) - fatal("couldn't create temporary file"); return fp; } - -#endif /* _MSC_VER */ diff -aruN groff-1.17.1/src/preproc/eqn/eqn.man groff-1.17.2/src/preproc/eqn/eqn.man --- groff-1.17.1/src/preproc/eqn/eqn.man Wed Nov 22 23:11:22 2000 +++ groff-1.17.2/src/preproc/eqn/eqn.man Wed Jun 27 14:47:19 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -880,3 +880,7 @@ .BR @g@troff (@MAN1EXT@), .BR groff_font (@MAN5EXT@), .I The\ \*(txbook +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/preproc/eqn/neqn.man groff-1.17.2/src/preproc/eqn/neqn.man --- groff-1.17.1/src/preproc/eqn/neqn.man Wed Dec 13 17:13:33 2000 +++ groff-1.17.2/src/preproc/eqn/neqn.man Wed Jun 27 14:47:19 2001 @@ -1,3 +1,21 @@ +.ig +Copyright (C) 2001 Free Software Foundation, Inc. + +Permission is granted to make and distribute verbatim copies of +this manual provided the copyright notice and this permission notice +are preserved on all copies. + +Permission is granted to copy and distribute modified versions of this +manual under the conditions for verbatim copying, provided that the +entire resulting derived work is distributed under the terms of a +permission notice identical to this one. + +Permission is granted to copy and distribute translations of this +manual into another language, under the above conditions for modified +versions, except that this permission notice may be included in +translations approved by the Free Software Foundation instead of in +the original English. +.. .TH @G@NEQN @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@" .SH NAME @g@neqn \- format equations for ascii output @@ -19,3 +37,7 @@ work adequately for very simple input). .SH "SEE ALSO" .BR @g@eqn (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/preproc/eqn/neqn.sh groff-1.17.2/src/preproc/eqn/neqn.sh --- groff-1.17.1/src/preproc/eqn/neqn.sh Thu Nov 16 22:10:38 2000 +++ groff-1.17.2/src/preproc/eqn/neqn.sh Fri Jun 29 12:17:59 2001 @@ -3,7 +3,8 @@ # GNU eqn with groff -Tascii|-Tlatin1|-Tutf8|-Tcp1047 is supported. : ${GROFF_BIN_PATH=@BINDIR@} -export PATH=$GROFF_BIN_PATH:$PATH +PATH=$GROFF_BIN_PATH:$PATH +export PATH exec @g@eqn -Tascii ${1+"$@"} # eof diff -aruN groff-1.17.1/src/preproc/grn/grn.man groff-1.17.2/src/preproc/grn/grn.man --- groff-1.17.1/src/preproc/grn/grn.man Mon Jun 11 21:59:20 2001 +++ groff-1.17.2/src/preproc/grn/grn.man Wed Jun 27 14:47:19 2001 @@ -1,4 +1,4 @@ -'\" t -*- nroff -*- +'\" t .ig Copyright (C) 2000, 2001 Free Software Foundation, Inc. @@ -635,3 +635,7 @@ .PP Daniel Senderowicz and Werner Lemberg modified it for .IR groff . +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/preproc/html/pre-html.cc groff-1.17.2/src/preproc/html/pre-html.cc --- groff-1.17.1/src/preproc/html/pre-html.cc Thu Jun 21 09:56:00 2001 +++ groff-1.17.2/src/preproc/html/pre-html.cc Thu Jul 5 00:51:30 2001 @@ -48,6 +48,8 @@ #include +#include "nonposix.h" + extern "C" const char *Version_string; #include "pre-html.h" @@ -64,6 +66,16 @@ #define TRANSPARENT "-background \"#FFF\" -transparent \"#FFF\"" +#ifdef __MSDOS__ +#define PAGE_TEMPLATE "pg" +#define PS_TEMPLATE "ps" +#define REGION_TEMPLATE "rg" +#else +#define PAGE_TEMPLATE "-page-" +#define PS_TEMPLATE "-ps-" +#define REGION_TEMPLATE "-regions-" +#endif + #if 0 # define DEBUGGING # define DEBUG_HTML @@ -114,7 +126,8 @@ static int do_file(const char *filename); /* - * sys_fatal - writes a fatal error message. Taken from src/roff/groff/pipeline.c + * sys_fatal - writes a fatal error message. + * Taken from src/roff/groff/pipeline.c. */ void sys_fatal (const char *s) @@ -122,6 +135,32 @@ fprintf(stderr, "%s: %s: %s", program_name, s, strerror(errno)); } +/* + * html_system - a wrapper for system() + */ +void html_system(const char *s, int redirect_stdout) +{ + // Redirect standard error to the null device. This is more + // portable than using "2> /dev/null", since it doesn't require a + // Unixy shell. + int save_stderr = dup(2); + int save_stdout = dup(1); + int fdnull = open(NULL_DEV, O_WRONLY|O_BINARY, 0666); + if (save_stderr > 2 && fdnull > 2) + dup2(fdnull, 2); + if (redirect_stdout && save_stdout > 1 && fdnull > 1) + dup2(fdnull, 1); + if (fdnull >= 0) + close(fdnull); + int status = system(s); + dup2(save_stderr, 2); + if (redirect_stdout) + dup2(save_stdout, 1); + if (status == -1) + fprintf(stderr, "Calling `%s' failed\n", s); + else if (status) + fprintf(stderr, "Calling `%s' returned status %d\n", s, status); +} #if 0 @@ -815,7 +854,7 @@ char *s; int retries = MAX_RETRIES; - imagePageStem = xtmptemplate("-page-"); + imagePageStem = xtmptemplate(PAGE_TEMPLATE); strcpy(buffer, imagePageStem); do { @@ -840,7 +879,10 @@ strcpy(imagePageStem, buffer); } while (1); - s = make_message("echo showpage | gs -q -dSAFER -sDEVICE=%s -r%d -sOutputFile=%s/%%d %s - > /dev/null 2>&1 \n", + s = make_message("echo showpage | " + "gs%s -q -dSAFER -sDEVICE=%s -r%d " + "-sOutputFile=%s/%%d %s -", + EXE_EXT, image_device, image_res, imagePageStem, @@ -851,7 +893,7 @@ fwrite(s, sizeof(char), strlen(s), stderr); fflush(stderr); #endif - system(s); + html_system(s, 1); free(s); return 0; } @@ -917,10 +959,12 @@ int x2 = max(i->X1, i->X2)*image_res/POSTSCRIPTRES+1*IMAGE_BOARDER_PIXELS; int y2 = (image_res*vertical_offset/72)+max(i->Y1, i->Y2)*image_res/POSTSCRIPTRES+1*IMAGE_BOARDER_PIXELS; - s = make_message("pnmcut %d %d %d %d < %s/%d | pnmtopng %s > %s \n", + s = make_message("pnmcut%s %d %d %d %d < %s/%d | pnmtopng%s %s > %s \n", + EXE_EXT, x1, y1, x2-x1+1, y2-y1+1, imagePageStem, i->pageNo, + EXE_EXT, TRANSPARENT, i->imageName); if (s == NULL) @@ -929,7 +973,7 @@ #if defined(DEBUGGING) fprintf(stderr, s); #endif - system(s); + html_system(s, 0); free(s); #if defined(DEBUGGING) } else { @@ -1326,12 +1370,12 @@ #else int fd; - if ((fd = mkstemp(psFileName = xtmptemplate("-ps-"))) == -1) { + if ((fd = mkstemp(psFileName = xtmptemplate(PS_TEMPLATE))) == -1) { sys_fatal("mkstemp"); return -1; } close(fd); - if ((fd = mkstemp(regionFileName = xtmptemplate("-regions-"))) == -1) { + if ((fd = mkstemp(regionFileName = xtmptemplate(REGION_TEMPLATE))) == -1) { sys_fatal("mkstemp"); unlink(psFileName); return -1; diff -aruN groff-1.17.1/src/preproc/pic/pic.man groff-1.17.2/src/preproc/pic/pic.man --- groff-1.17.1/src/preproc/pic/pic.man Thu Oct 26 16:15:15 2000 +++ groff-1.17.2/src/preproc/pic/pic.man Wed Jun 27 14:47:20 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -881,3 +881,7 @@ which interprets 0 as black and 1 as white. .LP PostScript\*R is a registered trademark of Adobe Systems Incorporation. +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/preproc/refer/refer.man groff-1.17.2/src/preproc/refer/refer.man --- groff-1.17.1/src/preproc/refer/refer.man Sat Apr 8 07:36:39 2000 +++ groff-1.17.2/src/preproc/refer/refer.man Wed Jun 27 14:47:20 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -1300,3 +1300,7 @@ expressions are ignored inside .BI . char expressions. +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/preproc/soelim/soelim.man groff-1.17.2/src/preproc/soelim/soelim.man --- groff-1.17.1/src/preproc/soelim/soelim.man Wed Mar 28 18:48:40 2001 +++ groff-1.17.2/src/preproc/soelim/soelim.man Wed Jun 27 14:47:21 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -83,3 +83,7 @@ Print the version number. .SH "SEE ALSO" .BR groff (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/preproc/tbl/tbl.man groff-1.17.2/src/preproc/tbl/tbl.man --- groff-1.17.1/src/preproc/tbl/tbl.man Sun Feb 6 10:38:53 2000 +++ groff-1.17.2/src/preproc/tbl/tbl.man Wed Jun 27 14:47:21 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1995 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-1995, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -176,3 +176,7 @@ .SH "SEE ALSO" .BR groff (@MAN1EXT@), .BR @g@troff (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/roff/groff/groff.man groff-1.17.2/src/roff/groff/groff.man --- groff-1.17.1/src/roff/groff/groff.man Mon Mar 19 16:33:04 2001 +++ groff-1.17.2/src/roff/groff/groff.man Wed Jun 27 14:47:21 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -484,3 +484,7 @@ .BR groff_ms (@MAN7EXT@), .BR groff_me (@MAN7EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/roff/grog/grog.man groff-1.17.2/src/roff/grog/grog.man --- groff-1.17.1/src/roff/grog/grog.man Wed Nov 15 23:29:52 2000 +++ groff-1.17.2/src/roff/grog/grog.man Wed Jun 27 14:47:22 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -84,3 +84,7 @@ .BR @g@grn (@MAN1EXT@), .BR grap (1), .BR @g@soelim (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/roff/grog/grog.pl groff-1.17.2/src/roff/grog/grog.pl --- groff-1.17.1/src/roff/grog/grog.pl Tue Apr 10 14:54:19 2001 +++ groff-1.17.2/src/roff/grog/grog.pl Mon Jul 2 20:34:59 2001 @@ -113,9 +113,36 @@ # closed by `Oc'. elsif (/^\.Oo$sp/) { $Oo++; + s/^\.Oo/\. /; + redo; + } + # The test for `Oo' and `Oc' not starting a line (as allowed by the + # new implementation of -mdoc) is not complete; it assumes that + # macro arguments are well behaved, i.e., "" is used within "..." to + # indicate a doublequote as a string element, and weird features + # like `.foo a"b' are not used. + elsif (/^\..* Oo( |$)/) { + s/\\\".*//; + s/\"[^\"]*\"//g; + s/\".*//; + if (s/ Oo( |$)/ /) { + $Oo++; + } + redo; } elsif (/^\.Oc$sp/) { $Oo--; + s/^\.Oc/\. /; + redo; + } + elsif (/^\..* Oc( |$)/) { + s/\\\".*//; + s/\"[^\"]*\"//g; + s/\".*//; + if (s/ Oc( |$)/ /) { + $Oo--; + } + redo; } if (/^\.so$sp/) { chop; diff -aruN groff-1.17.1/src/roff/grog/grog.sh groff-1.17.2/src/roff/grog/grog.sh --- groff-1.17.1/src/roff/grog/grog.sh Tue Apr 10 14:54:19 2001 +++ groff-1.17.2/src/roff/grog/grog.sh Mon Jul 2 20:35:00 2001 @@ -29,12 +29,12 @@ esac done -egrep -h "^\.(P|PS|[PLI]P|[pnil]p|sh|Dd|Tp|Dp|De|Cx|Cl|Oo|Oc|TS|EQ|TH|SH|so|\[|R1|GS|G1|PH|SA)$sp" $* \ +egrep -h "^\.(P|PS|[PLI]P|[pnil]p|sh|Dd|Tp|Dp|De|Cx|Cl|Oo|.* Oo|Oc|.* Oc|TS|EQ|TH|SH|so|\[|R1|GS|G1|PH|SA)$sp" $* \ | sed -e '/^\.so/s/^.*$/.SO_START\ &\ .SO_END/' \ | $soelim \ -| egrep '^\.(P|PS|[PLI]P|[pnil]p|sh|Dd|Tp|Dp|De|Cx|Cl|Oo|Oc|TS|EQ|TH|SH|\[|R1|GS|G1|PH|SA|SO_START|SO_END)' \ +| egrep '^\.(P|PS|[PLI]P|[pnil]p|sh|Dd|Tp|Dp|De|Cx|Cl|Oo|.* Oo|Oc|.* Oc|TS|EQ|TH|SH|\[|R1|GS|G1|PH|SA|SO_START|SO_END)' \ | awk ' /^\.SO_START$/ { so = 1 } /^\.SO_END$/ { so = 0 } @@ -52,8 +52,23 @@ /^\.([pnil]p|sh)/ { me++ } /^\.Dd/ { mdoc++ } /^\.(Tp|Dp|De|Cx|Cl)/ { mdoc_old++ } -/^\.Oo/ { Oo++ } -/^\.Oc/ { Oo-- } +/^\.(O[oc]|.* O[oc]( |$))/ { + sub(/\\\".*/, "") + gsub(/\"[^\"]*\"/, "") + sub(/\".*/, "") + sub(/^\.Oo/, " Oo ") + sub(/^\.Oc/, " Oc ") + sub(/ Oo$/, " Oo ") + sub(/ Oc$/, " Oc ") + while (/ Oo /) { + sub(/ Oo /, " ") + Oo++ + } + while (/ Oc /) { + sub(/ Oc /, " ") + Oo-- + } +} END { if (files ~ /^-/) diff -aruN groff-1.17.1/src/roff/nroff/nroff.man groff-1.17.2/src/roff/nroff/nroff.man --- groff-1.17.1/src/roff/nroff/nroff.man Fri May 4 22:20:44 2001 +++ groff-1.17.2/src/roff/nroff/nroff.man Wed Jun 27 14:47:22 2001 @@ -1,4 +1,4 @@ -.ig \"-*- nroff -*- +.ig Copyright (C) 1989-2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of @@ -132,3 +132,7 @@ .BR groff (@MAN1EXT@), .BR @g@troff (@MAN1EXT@), .BR grotty (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/roff/troff/input.cc groff-1.17.2/src/roff/troff/input.cc --- groff-1.17.1/src/roff/troff/input.cc Wed Jun 20 01:05:44 2001 +++ groff-1.17.2/src/roff/troff/input.cc Mon Jul 2 20:35:00 2001 @@ -3965,11 +3965,6 @@ } } else if (csdigit(c)) { - if (!inc && c == '0') { - // special case -- \s0 means to revert to previous size. - *x = 0; - return 1; - } val = c - '0'; if (!inc && c != '0' && c < '4') { tok.next(); @@ -4001,6 +3996,11 @@ if (!bad) { switch (inc) { case 0: + if (val == 0) { + // special case -- \s[0] and \s0 means to revert to previous size + *x = 0; + return 1; + } *x = val; break; case 1: diff -aruN groff-1.17.1/src/roff/troff/troff.man groff-1.17.2/src/roff/troff/troff.man --- groff-1.17.1/src/roff/troff/troff.man Fri May 18 08:04:18 2001 +++ groff-1.17.2/src/roff/troff/troff.man Wed Jun 27 14:47:23 2001 @@ -1,4 +1,4 @@ -.ig \"-*- nroff -*- +.ig Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of @@ -2485,3 +2485,7 @@ .BR groff_font (@MAN5EXT@), .BR groff_out (@MAN5EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/addftinfo/addftinfo.man groff-1.17.2/src/utils/addftinfo/addftinfo.man --- groff-1.17.1/src/utils/addftinfo/addftinfo.man Wed Dec 13 17:13:07 2000 +++ groff-1.17.2/src/utils/addftinfo/addftinfo.man Wed Jun 27 14:47:23 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -105,3 +105,7 @@ .BR groff_font (@MAN5EXT@), .BR groff (@MAN1EXT@), .BR groff_char (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/afmtodit/afmtodit.man groff-1.17.2/src/utils/afmtodit/afmtodit.man --- groff-1.17.1/src/utils/afmtodit/afmtodit.man Thu Nov 16 22:10:46 2000 +++ groff-1.17.2/src/utils/afmtodit/afmtodit.man Wed Jun 27 14:47:24 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -223,3 +223,7 @@ .BR grops (@MAN1EXT@), .BR groff_font (@MAN5EXT@), .BR perl (1) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/hpftodit/hpftodit.man groff-1.17.2/src/utils/hpftodit/hpftodit.man --- groff-1.17.1/src/utils/hpftodit/hpftodit.man Sat Apr 8 07:36:44 2000 +++ groff-1.17.2/src/utils/hpftodit/hpftodit.man Wed Jun 27 14:47:26 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1994-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1994-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -153,3 +153,7 @@ .BR groff (@MAN1EXT@), .BR grolj4 (@MAN1EXT@), .BR groff_font (@MAN5EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/indxbib/Makefile.sub groff-1.17.2/src/utils/indxbib/Makefile.sub --- groff-1.17.1/src/utils/indxbib/Makefile.sub Mon Oct 23 08:19:14 2000 +++ groff-1.17.2/src/utils/indxbib/Makefile.sub Thu Jul 5 00:51:42 2001 @@ -4,12 +4,10 @@ MLIB=$(LIBM) OBJS=\ indxbib.o \ - dirnamemax.o \ signal.o CCSRCS=\ $(srcdir)/indxbib.cc CSRCS=\ - $(srcdir)/dirnamemax.c \ $(srcdir)/signal.c NAMEPREFIX=$(g) diff -aruN groff-1.17.1/src/utils/indxbib/dirnamemax.c groff-1.17.2/src/utils/indxbib/dirnamemax.c --- groff-1.17.1/src/utils/indxbib/dirnamemax.c Sun Feb 6 10:37:21 2000 +++ groff-1.17.2/src/utils/indxbib/dirnamemax.c Thu Jan 1 01:00:00 1970 @@ -1,49 +0,0 @@ -/* dir_name_max(dir) does the same as pathconf(dir, _PC_NAME_MAX) */ - -#include - -#ifdef HAVE_UNISTD_H -#include -#endif /* HAVE_UNISTD_H */ - -#ifdef _POSIX_VERSION - -long dir_name_max(dir) - char *dir; -{ - return pathconf(dir, _PC_NAME_MAX); -} - -#else /* not _POSIX_VERSION */ - -#ifdef HAVE_LIMITS_H -#include -#endif /* HAVE_LIMITS_H */ - -#ifdef HAVE_DIRENT_H -#include -#else /* not HAVE_DIRENT_H */ -#ifdef HAVE_SYS_DIR_H -#include -#endif /* HAVE_SYS_DIR_H */ -#endif /* not HAVE_DIRENT_H */ - -#ifndef NAME_MAX -#ifdef MAXNAMLEN -#define NAME_MAX MAXNAMLEN -#else /* !MAXNAMLEN */ -#ifdef MAXNAMELEN -#define NAME_MAX MAXNAMELEN -#else /* !MAXNAMELEN */ -#define NAME_MAX 14 -#endif /* !MAXNAMELEN */ -#endif /* !MAXNAMLEN */ -#endif /* !NAME_MAX */ - -long dir_name_max(dir) - char *dir; -{ - return NAME_MAX; -} - -#endif /* not _POSIX_VERSION */ diff -aruN groff-1.17.1/src/utils/indxbib/indxbib.cc groff-1.17.2/src/utils/indxbib/indxbib.cc --- groff-1.17.1/src/utils/indxbib/indxbib.cc Sat Apr 21 01:53:49 2001 +++ groff-1.17.2/src/utils/indxbib/indxbib.cc Sun Jul 8 00:09:46 2001 @@ -115,7 +115,6 @@ extern "C" { void cleanup(); - long dir_name_max(const char *); void catch_fatal_signals(); void ignore_fatal_signals(); } @@ -180,11 +179,9 @@ parser = do_whole_file; break; case 'v': - { - printf("GNU indxbib (groff) version %s\n", Version_string); - exit(0); - break; - } + printf("GNU indxbib (groff) version %s\n", Version_string); + exit(0); + break; case CHAR_MAX + 1: // --help usage(stdout); exit(0); @@ -215,22 +212,21 @@ basename = optind < argc ? argv[optind] : DEFAULT_INDEX_NAME; const char *p = strrchr(basename, DIR_SEPS[0]), *p1; const char *sep = &DIR_SEPS[1]; - while (*sep) - { - p1 = strrchr(basename, *sep); - if (p1 && (!p || p1 > p)) - p = p1; - sep++; - } - long name_max; + while (*sep) { + p1 = strrchr(basename, *sep); + if (p1 && (!p || p1 > p)) + p = p1; + sep++; + } + size_t name_max; if (p) { char *dir = strsave(basename); dir[p - basename] = '\0'; - name_max = dir_name_max(dir); + name_max = file_name_max(dir); a_delete dir; } else - name_max = dir_name_max("."); + name_max = file_name_max("."); const char *filename = p ? p + 1 : basename; if (name_max >= 0 && long(strlen(filename) + sizeof(INDEX_SUFFIX) - 1) > name_max) @@ -304,23 +300,22 @@ strcpy(index_file, basename); strcat(index_file, INDEX_SUFFIX); #ifdef HAVE_RENAME - if (rename(temp_index_file, index_file) < 0) - { + if (rename(temp_index_file, index_file) < 0) { #ifdef __MSDOS__ - // RENAME could fail on plain MSDOS filesystems because - // INDEX_FILE is an invalid filename, e.g. it has multiple dots. - char *fname = p ? index_file + (p - basename) : 0; - char *dot = 0; + // RENAME could fail on plain MSDOS filesystems because + // INDEX_FILE is an invalid filename, e.g. it has multiple dots. + char *fname = p ? index_file + (p - basename) : 0; + char *dot = 0; - // Replace the dot with an underscore and try again. - if (fname - && (dot = strchr(fname, '.')) != 0 - && strcmp(dot, INDEX_SUFFIX) != 0) - *dot = '_'; - if (rename(temp_index_file, index_file) < 0) + // Replace the dot with an underscore and try again. + if (fname + && (dot = strchr(fname, '.')) != 0 + && strcmp(dot, INDEX_SUFFIX) != 0) + *dot = '_'; + if (rename(temp_index_file, index_file) < 0) #endif - fatal("can't rename temporary index file: %1", strerror(errno)); - } + fatal("can't rename temporary index file: %1", strerror(errno)); + } #else /* not HAVE_RENAME */ ignore_fatal_signals(); if (unlink(index_file) < 0) { diff -aruN groff-1.17.1/src/utils/indxbib/indxbib.man groff-1.17.2/src/utils/indxbib/indxbib.man --- groff-1.17.1/src/utils/indxbib/indxbib.man Sat Apr 8 07:36:45 2000 +++ groff-1.17.2/src/utils/indxbib/indxbib.man Wed Jun 27 14:47:27 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -205,3 +205,7 @@ .BR @g@refer (@MAN1EXT@), .BR lkbib (@MAN1EXT@), .BR @g@lookbib (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/lkbib/lkbib.man groff-1.17.2/src/utils/lkbib/lkbib.man --- groff-1.17.1/src/utils/lkbib/lkbib.man Sat Apr 8 07:36:47 2000 +++ groff-1.17.2/src/utils/lkbib/lkbib.man Wed Jun 27 14:47:27 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -108,3 +108,7 @@ .BR @g@refer (@MAN1EXT@), .BR @g@lookbib (@MAN1EXT@), .BR @g@indxbib (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/lookbib/lookbib.man groff-1.17.2/src/utils/lookbib/lookbib.man --- groff-1.17.1/src/utils/lookbib/lookbib.man Sat Apr 8 07:36:48 2000 +++ groff-1.17.2/src/utils/lookbib/lookbib.man Wed Jun 27 14:47:28 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -76,3 +76,7 @@ .BR @g@refer (@MAN1EXT@), .BR lkbib (@MAN1EXT@), .BR @g@indxbib (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/pfbtops/pfbtops.man groff-1.17.2/src/utils/pfbtops/pfbtops.man --- groff-1.17.1/src/utils/pfbtops/pfbtops.man Sun Feb 6 10:37:24 2000 +++ groff-1.17.2/src/utils/pfbtops/pfbtops.man Wed Jun 27 14:47:28 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1995 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-1995, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -42,3 +42,7 @@ .BR @FONTDIR@/devps/download . .SH "SEE ALSO" .BR grops (@MAN1EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/utils/tfmtodit/tfmtodit.man groff-1.17.2/src/utils/tfmtodit/tfmtodit.man --- groff-1.17.1/src/utils/tfmtodit/tfmtodit.man Sat Apr 8 07:36:49 2000 +++ groff-1.17.2/src/utils/tfmtodit/tfmtodit.man Wed Jun 27 14:47:28 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -173,3 +173,7 @@ .BR groff (@MAN1EXT@), .BR grodvi (@MAN1EXT@), .BR groff_font (@MAN5EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/src/xditview/gxditview.man groff-1.17.2/src/xditview/gxditview.man --- groff-1.17.1/src/xditview/gxditview.man Sun Feb 6 10:39:02 2000 +++ groff-1.17.2/src/xditview/gxditview.man Wed Jun 27 14:47:29 2001 @@ -1,4 +1,3 @@ -.\" -*- nroff -*- .TH GXDITVIEW 1 "Release 5" "X Version 11" .SH NAME gxditview \- display gtroff output files @@ -244,3 +243,7 @@ Mark Moraes (University of Toronto) .br James Clark +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/doc-common groff-1.17.2/tmac/doc-common --- groff-1.17.1/tmac/doc-common Tue Apr 10 15:33:33 2001 +++ groff-1.17.2/tmac/doc-common Tue Jul 3 12:08:07 2001 @@ -918,6 +918,8 @@ . tm doc-display-indent-stack\n[doc-reg-Rd] == \n[doc-display-indent-stack\n[doc-reg-Rd]] . tm doc-display-ad-stack\n[doc-reg-Rd] == \n[doc-display-ad-stack\n[doc-reg-Rd]] . tm doc-display-fi-stack\n[doc-reg-Rd] == \n[doc-display-fi-stack\n[doc-reg-Rd]] +. tm doc-display-ft-stack\n[doc-reg-Rd] == \n[doc-display-ft-stack\n[doc-reg-Rd]] +. tm doc-display-ps-stack\n[doc-reg-Rd] == \n[doc-display-ps-stack\n[doc-reg-Rd]] . nr doc-reg-Rd +1 . \} . diff -aruN groff-1.17.1/tmac/doc.tmac groff-1.17.2/tmac/doc.tmac --- groff-1.17.1/tmac/doc.tmac Tue May 8 09:44:58 2001 +++ groff-1.17.2/tmac/doc.tmac Sat Jul 7 16:02:43 2001 @@ -2583,6 +2583,24 @@ .nr doc-display-fi-stack0 0 . . +.\" NS doc-display-ft-stackXXX global register +.\" NS stack of saved fonts +.\" NS +.\" NS limit: +.\" NS doc-display-depth +. +.nr doc-display-ft-stack0 0 +. +. +.\" NS doc-display-ps-stackXXX global register +.\" NS stack of saved font sizes +.\" NS +.\" NS limit: +.\" NS doc-display-depth +. +.nr doc-display-ps-stack0 0 +. +. .\" NS Bd user macro .\" NS begin display .\" NS @@ -2594,6 +2612,8 @@ .\" NS doc-display-depth .\" NS doc-display-ad-stackXXX .\" NS doc-display-fi-stackXXX +.\" NS doc-display-ft-stackXXX +.\" NS doc-display-ps-stackXXX .\" NS doc-display-file .\" NS doc-display-indent-stackXXX .\" NS doc-display-type-stackXXX @@ -2623,8 +2643,8 @@ . . ie "\$1"-literal" \{\ . ds doc-display-type-stack\n[doc-display-depth] literal -. nr doc-curr-font \n[.f] -. nr doc-curr-size \n[.ps] +. nr doc-display-ft-stack\n[doc-display-depth] \n[.f] +. nr doc-display-ps-stack\n[doc-display-depth] \n[.ps] . . ie t \{\ . nop \*[doc-Li-font]\c @@ -2816,8 +2836,8 @@ . \} . . if "\*[doc-display-type-stack\n[doc-display-depth]]"literal" \{\ -. ft \n[doc-curr-font] -. ps \n[doc-curr-size]u +. ft \n[doc-display-ft-stack\n[doc-display-depth]] +. ps \n[doc-display-ps-stack\n[doc-display-depth]]u . \} . . in -\n[doc-display-indent-stack\n[doc-display-depth]]u @@ -3231,6 +3251,8 @@ . nr doc-display-indent-stack\n[doc-reg-dsgv]-saved \n[doc-display-indent-stack\n[doc-reg-dsgv]] . nr doc-display-ad-stack\n[doc-reg-dsgv]-saved \n[doc-display-ad-stack\n[doc-reg-dsgv]] . nr doc-display-fi-stack\n[doc-reg-dsgv]-saved \n[doc-display-fi-stack\n[doc-reg-dsgv]] +. nr doc-display-ft-stack\n[doc-reg-dsgv]-saved \n[doc-display-ft-stack\n[doc-reg-dsgv]] +. nr doc-display-ps-stack\n[doc-reg-dsgv]-saved \n[doc-display-ps-stack\n[doc-reg-dsgv]] . nr doc-reg-dsgv +1 . \} . @@ -3368,6 +3390,8 @@ . nr doc-display-indent-stack\n[doc-reg-drgv] \n[doc-display-indent-stack\n[doc-reg-drgv]-saved] . nr doc-display-ad-stack\n[doc-reg-drgv] \n[doc-display-ad-stack\n[doc-reg-drgv]-saved] . nr doc-display-fi-stack\n[doc-reg-drgv] \n[doc-display-fi-stack\n[doc-reg-drgv]-saved] +. nr doc-display-ft-stack\n[doc-reg-drgv] \n[doc-display-ft-stack\n[doc-reg-drgv]-saved] +. nr doc-display-ps-stack\n[doc-reg-drgv] \n[doc-display-ps-stack\n[doc-reg-drgv]-saved] . nr doc-reg-drgv +1 . \} . @@ -3654,6 +3678,10 @@ . nh . doc-item-box\n[doc-list-depth] . +. if \n[doc-in-files-section] \ +. if n \ +. ds doc-Pa-font "\*[doc-saved-Pa-font] +. . nr doc-in-list 0 . doc-reset-args .. @@ -3692,6 +3720,10 @@ . nr doc-have-space 1 . \} . +. if \n[doc-in-files-section] \ +. if n \ +. ds doc-Pa-font "\*[doc-saved-Pa-font] +. . nr doc-in-list 0 . doc-reset-args .. @@ -3715,6 +3747,10 @@ . doc-item-box\n[doc-list-depth] . br . +. if \n[doc-in-files-section] \ +. if n \ +. ds doc-Pa-font "\*[doc-saved-Pa-font] +. . nr doc-in-list 0 . doc-reset-args .. @@ -6054,24 +6090,16 @@ . .\" XXX: what does this function without `-std'? . -. if !\n[.$] \{\ -. tm Usage: .Rv [-std] (#\n[.c]) +. if \n[doc-arg-limit] \{\ +. tm Usage: .Rv not callable by other macros (#\n[.c]) +. doc-reset-args . return . \} . -. \" .ds doc-macro-name Rv -. \" .nr doc-arg-ptr 0 -. \" .nr lR +1 -. \" .ds doc-arg1 \$2 -. \" .ds doc-arg2 \$3 -. \" .ds doc-arg3 \$4 -. \" .ds doc-arg4 \$5 -. \" .ds doc-arg5 \$6 -. \" .ds doc-arg6 \$7 -. \" .ds doc-arg7 \$8 -. \" .ds doc-arg8 \$9 -. \" . -. \" .nr doc-num-args (\n[.$] - 1) +. if !\n[.$] \{\ +. tm Usage: .Rv [-std] (#\n[.c]) +. return +. \} . . if "\$1"-std" \{\ . nr doc-reg-Rv \*[doc-section] diff -aruN groff-1.17.1/tmac/groff_man.man groff-1.17.2/tmac/groff_man.man --- groff-1.17.1/tmac/groff_man.man Fri Mar 23 01:17:51 2001 +++ groff-1.17.2/tmac/groff_man.man Wed Jun 27 14:47:29 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1999-2000 Free Software Foundation, Inc. +.ig +Copyright (C) 1999-2000, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -479,3 +479,7 @@ This manual page was originally written for the Debian GNU/Linux system by Susan G. Kleinmann , corrected and updated by Werner Lemberg , and is now part of the GNU troff distribution. +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/groff_mdoc.man groff-1.17.2/tmac/groff_mdoc.man --- groff-1.17.1/tmac/groff_mdoc.man Tue Apr 10 15:33:33 2001 +++ groff-1.17.2/tmac/groff_mdoc.man Sat Jul 7 16:02:43 2001 @@ -1515,7 +1515,7 @@ .Sx RETURN VALUES section. .Pp -.Dl Usage: .Rv Oo -std Oc Ao function Ac ... +.Dl Usage: .Rv Oo -std Oc Ao function Ac .Pp For example, .Ql ".Rv -std atexit" @@ -1524,7 +1524,7 @@ .Bd -ragged -offset -indent \# a small hack to suppress a warning message .ds section-old "\*[section] -.ds section 2 +.ds section 3 .Rv -std atexit .ds section "\*[section-old] .Ed @@ -3945,3 +3945,7 @@ .\" .Xr nroff .\" the right margin adjustment is normally ragged and the problem is .\" not as severe. +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/groff_me.man groff-1.17.2/tmac/groff_me.man --- groff-1.17.1/tmac/groff_me.man Thu Oct 26 23:49:49 2000 +++ groff-1.17.2/tmac/groff_me.man Wed Jun 27 14:47:29 2001 @@ -276,3 +276,7 @@ \&.xp \fIx\fR - no Print index .I x. .ad +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/groff_ms.man groff-1.17.2/tmac/groff_ms.man --- groff-1.17.1/tmac/groff_ms.man Thu Oct 26 23:49:49 2000 +++ groff-1.17.2/tmac/groff_ms.man Wed Jun 27 14:47:29 2001 @@ -1,5 +1,5 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1995 Free Software Foundation, Inc. +.ig +Copyright (C) 1989-1995, 2001 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -246,3 +246,7 @@ .BR @g@eqn (@MAN1EXT@) .br .BR ms (@MAN7EXT@) +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/groff_mwww.man groff-1.17.2/tmac/groff_mwww.man --- groff-1.17.1/tmac/groff_mwww.man Mon Mar 19 16:33:04 2001 +++ groff-1.17.2/tmac/groff_mwww.man Wed Jul 4 00:03:08 2001 @@ -1,5 +1,5 @@ .TH GROFF_MWWW @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@" -.\" Copyright (C) 2000 Free Software Foundation, Inc. +.\" Copyright (C) 2000, 2001 Free Software Foundation, Inc. .\" Written by Gaius Mulley (gaius@glam.ac.uk) .\" .\" This file is part of groff. @@ -125,16 +125,20 @@ a URL using either two or three arguments. $1 is the name of the link, $2 is the actual URL, and $3 is optional stuff to be printed immediately after $2. +Hyphenation is disabled while printing the actual URL; explicit breakpoints +should be inserted with the +.B \e: +escape. Here is how to encode -.URL "homepage for groff" http://groff.ffii.org/ : +.URL "homepage for groff" http://\:groff.\:ffii.\:org/ : .sp .nf -\s-2\fC\&.URL "homepage for groff" http://groff.ffii.org/ :\fP\s+2 +\s-2\fC\&.URL "homepage for groff" http://\e:groff.\e:ffii.\e:org/ :\fP\s+2 .fi .sp If this is processed by a device other than \fC-Thtml\fP it appears as: -homepage for groff \(lahttp://groff.ffii.org\(ra. +homepage for groff \(lahttp://groff.\:ffii.\:org\(ra. The URL macro can be of any type; for example we can reference .URL "Eric Raymond's pic guide" pic.html by: @@ -150,6 +154,7 @@ The optional second argument is the text you see in your browser, and an optional third argument is stuff printed immediately after the second argument. +Hyphenation is disabled while printing the actual email address. For example, the groff maintainers are .MAILTO wl@gnu.org "Werner Lemberg" and @@ -173,23 +178,30 @@ A third argument, similar to the macros above, is intended for stuff printed immediately after the second argument. The second and the third parameter are optional. +Hyphenation is disabled while printing the actual URL. As an example, here the location of the .FTP "current groff development distribution" \ -ftp://ftp.ffii.org/pub/groff/devel/groff-current.tar.gz . +ftp://ftp.ffii.org/\:pub/\:groff/\:devel/\:groff-current.tar.gz . The macro example above was specified by: .sp .nf \s-2\fC\&.FTP "current groff development distribution" \\ -ftp://ftp.ffii.org/pub/groff/devel/groff-current.tar.gz .\fP\s+2 +ftp://ftp.ffii.org/\e:pub/\e:groff/\e:devel/\e:groff-current.tar.gz .\fP\s+2 .fi .sp .TP .B IMAGE allows the document to include pictures. The first argument is the image file. -The next two arguments are optional: -Argument two is the width in pixels (default is 400 pixels if absent). -The third argument is the height in pixels (default is the width value if +The second optional argument gives the horizontal location; +.B l +puts the image to the left border, +.B r +to the right. +Any other value centers the image. +The next two arguments are optional also: +Argument three is the width in pixels (default is 400 pixels if absent). +The fourth argument is the height in pixels (default is the width value if absent). .sp .TP @@ -273,3 +285,7 @@ .MAILTO bug-groff@gnu.org "Groff Bug Mailing List" . Include a complete, self-contained example that will allow the bug to be reproduced, and say which version of groff you are using. +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/groff_tmac.man groff-1.17.2/tmac/groff_tmac.man --- groff-1.17.1/tmac/groff_tmac.man Sat Feb 17 01:26:57 2001 +++ groff-1.17.2/tmac/groff_tmac.man Wed Jun 27 14:47:29 2001 @@ -1,14 +1,11 @@ -.\" -*- nroff -*- .ig / groff_tmac.5 This file is part of groff, the GNU roff type-setting system. -Copyright (C) 2000 Free Software Foundation, Inc. +Copyright (C) 2000, 2001 Free Software Foundation, Inc. written by Bernd Warken -Last update: 17 May 2000 - Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with the @@ -448,3 +445,7 @@ .LP The Filesystem Hierarchy Standard (FHS) is available at .BR http://www.pathname.com/fhs/ . +. +.\" Local Variables: +.\" mode: nroff +.\" End: diff -aruN groff-1.17.1/tmac/www.tmac groff-1.17.2/tmac/www.tmac --- groff-1.17.1/tmac/www.tmac Tue Jun 19 00:37:34 2001 +++ groff-1.17.2/tmac/www.tmac Thu Jul 5 00:52:00 2001 @@ -46,7 +46,7 @@ . HTML \\$1\\$3 . \} . el \{\ -\\$1 \(la\fC\\$2\fP\(ra\\$3 +\\$1 \%\(la\fC\\$2\fP\(ra\\$3 . \} .. .\" @@ -58,7 +58,7 @@ . HTML \\$1\\$3 . \} . el \{\ -\\$1 \(la\fC\\$2\fP\(ra\\$3 +\\$1 \%\(la\fC\\$2\fP\(ra\\$3 . \} .. .\" @@ -90,7 +90,7 @@ \fC\\$1\fP\\$3 . \} . el \{\ -\\$2 \(la\fC\\$1\fP\(ra\\$3 +\\$2 \%\(la\fC\\$1\fP\(ra\\$3 . \} . \} .. @@ -103,20 +103,25 @@ .\" .\" IMAGE - reference an image .\" $1 is the image file -.\" $2 is the x width (default if absent 400 pixels) -.\" $3 is the y width (default if absent is the x value) +.\" $2 is the alignment r, l or c (center by default) +.\" $3 is the x width (default if absent 400 pixels) +.\" $4 is the y width (default if absent is the x value) .\" .de IMAGE . ie \\n[www-html] \{\ +. ie '\\$2'r' .HTML-TAG ".right-image" +. el \{\ +. ie '\\$2'l' .HTML-TAG ".left-image" +. el .HTML-TAG ".centered-image" +. \} . nr HTMLWIDTH 400 -. if !'\\$2'' \{\ -. nr HTMLWIDTH \\$2 +. if !'\\$3'' \{\ +. nr HTMLWIDTH \\$3 . \} . nr HTMLHEIGHT \\n[HTMLWIDTH] -. if !'\\$3'' \{\ -. nr HTMLHEIGHT \\$3 +. if !'\\$4'' \{\ +. nr HTMLHEIGHT \\$4 . \} -. HTML-TAG ".centered-image" . HTML . \} . el \{\ @@ -161,7 +166,7 @@ . tl '''' \O[0]\O[1] . \} -. if \\n[www-html] .begin \{ +. if \\n[www-html] .begin \{\ . image \\$2 \\$1.png \O[0] . \} @@ -206,6 +211,8 @@ . MAKE-UNIQUE-NAME . HTML-DO-IMAGE \\*[HTML-UNIQUE-NAME] i .. -.nr HY 0 -.nh +.if \n[www-html] \{\ +. nh +. nr HY 0 +.\} .cp \n(_C