diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2000-01-12 09:51:44 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2000-01-12 09:51:44 +0000 |
commit | 94910a91b5fd3f57804b4ad454e13ec773b1f233 (patch) | |
tree | 9277562a17de885ee7a305556dbbb7b67bdeaf8c | |
parent | e159d2bd86eea9be07f2695f85b3543935869a3b (diff) |
Notes
-rw-r--r-- | contrib/groff/src/devices/grotty/grotty.man | 221 | ||||
-rw-r--r-- | contrib/groff/src/libs/libgroff/cmap.cc | 56 | ||||
-rw-r--r-- | contrib/groff/src/libs/libgroff/cset.cc | 102 | ||||
-rw-r--r-- | contrib/groff/src/libs/libgroff/illegal.cc | 22 | ||||
-rw-r--r-- | contrib/groff/src/preproc/eqn/neqn.sh | 5 | ||||
-rw-r--r-- | contrib/groff/src/roff/groff/groff.man | 428 | ||||
-rw-r--r-- | contrib/groff/src/roff/nroff/nroff.man | 94 | ||||
-rwxr-xr-x | contrib/groff/src/roff/nroff/nroff.sh | 70 | ||||
-rw-r--r-- | contrib/groff/tmac/me.man | 274 | ||||
-rw-r--r-- | contrib/groff/tmac/msafer.man | 56 | ||||
-rw-r--r-- | contrib/groff/xditview/Makefile | 639 |
11 files changed, 0 insertions, 1967 deletions
diff --git a/contrib/groff/src/devices/grotty/grotty.man b/contrib/groff/src/devices/grotty/grotty.man deleted file mode 100644 index d8d6ebdeb0a1..000000000000 --- a/contrib/groff/src/devices/grotty/grotty.man +++ /dev/null @@ -1,221 +0,0 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1995 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 GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@" -.SH NAME -grotty \- groff driver for typewriter-like devices -.SH SYNOPSIS -.B grotty -[ -.B \-hfbuodBUv -] [ -.BI \-F dir -] [ -.IR files \|.\|.\|. -] -.SH DESCRIPTION -.B grotty -translates the output of GNU -.B troff -into a form suitable for typewriter-like devices. -Normally -.B grotty -should invoked by using the -.B groff -command -with a -.B \-Tascii -or -.B \-Tlatin1 -option. -If no files are given, -.B grotty -will read the standard input. -A filename of -.B \- -will also cause -.B grotty -to read the standard input. -Output is written to the standard output. -.LP -Normally -.B grotty -prints a bold character -.I c -using the sequence -.RI ` c -.SM BACKSPACE -.IR c ' -and a italic character -.I c -by the sequence -.RB ` _ -.SM BACKSPACE -.IR c '. -These sequences can be displayed on a terminal -by piping through -.BR ul (1). -Pagers such as -.BR more (1) -or -.BR less (1) -are also able to display these sequences. -Use either -.B \-B -or -.B \-U -when piping into -.BR less (1); -use -.B \-b -when piping into -.BR more (1). -There is no need to filter the output through -.BR col (1) -since -.B grotty -never outputs reverse line feeds. -.LP -The font description file may contain a command -.IP -.BI internalname\ n -.LP -where -.I n -is a decimal integer. -If the 01 bit in -.I n -is set, -then the font will be treated as an italic font; -if the 02 bit is set, -then it will be treated as a bold font. -The code field in the font description field gives the -code which will be used to output the character. -This code can also be used in the -.B \eN -escape sequence in -.BR troff . -.SH OPTIONS -.TP -.BI \-F dir -Search the directory -.IB dir /dev name -for font and device description files; -.I name -is the name of the device, usually -.B ascii -or -.BR latin1 . -.TP -.B \-h -Use horizontal tabs in the output. -Tabs are assumed to be set every 8 columns. -.TP -.B \-f -Use form feeds in the output. -A form feed will be output at the end of each page that has no output -on its last line. -.TP -.B \-b -Suppress the use of overstriking for bold characters. -.TP -.B \-u -Suppress the use of underlining for italic characters. -.TP -.B \-B -Use only overstriking for bold-italic characters. -.TP -.B \-U -Use only underlining for bold-italic characters. -.TP -.B \-o -Suppress overstriking (other than for bold or underlined characters). -.TP -.B \-d -Ignore all -.B \eD -commands. -Without this -.B grotty -will render -.B \eD'l\|.\|.\|.' -commands that have at least at least one zero argument -(and so are either horizontal or vertical) -using -.BR \- , -.B | -and -.B + -characters. -.TP -.B \-v -Print the version number. -.SH FILES -.TP -.B @FONTDIR@/devascii/DESC -Device description file for -.B ascii -device. -.TP -.B @FONTDIR@/devascii/ F -Font description file for font -.I F -of -.B ascii device. -.TP -.B @FONTDIR@/devlatin1/DESC -Device description file for -.B latin1 -device. -.TP -.B @FONTDIR@/devlatin1/ F -Font description file for font -.I F -of -.B latin1 device. -.TP -.B @MACRODIR@/tmac.tty -Macros for use with -.BR grotty . -.TP -.B @MACRODIR@/tmac.tty-char -Additional klugey character definitions for use with -.BR grotty . -.SH BUGS -.LP -.B grotty -is intended only for simple documents. -.LP -There is no support for fractional horizontal or vertical motions. -.LP -There is no support for -.B \eD -commands -other than horizontal and vertical lines. -.LP -Characters above the first line (ie with a vertical position of 0) -cannot be printed. -.SH "SEE ALSO" -.BR groff (@MAN1EXT@), -.BR @g@troff (@MAN1EXT@), -.BR groff_out (@MAN5EXT@), -.BR groff_font (@MAN5EXT@), -.BR groff_char (@MAN7EXT@), -.BR ul (1), -.BR more (1), -.BR less (1) diff --git a/contrib/groff/src/libs/libgroff/cmap.cc b/contrib/groff/src/libs/libgroff/cmap.cc deleted file mode 100644 index 4b75d06f1dcf..000000000000 --- a/contrib/groff/src/libs/libgroff/cmap.cc +++ /dev/null @@ -1,56 +0,0 @@ -// -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992 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. */ - -#include <ctype.h> -#include "cmap.h" - -cmap cmlower(CMAP_BUILTIN); -cmap cmupper(CMAP_BUILTIN); - -#ifdef isascii -#define ISASCII(c) isascii(c) -#else -#define ISASCII(c) (1) -#endif - -cmap::cmap() -{ - unsigned char *p = v; - for (int i = 0; i <= UCHAR_MAX; i++) - p[i] = i; -} - -cmap::cmap(cmap_builtin) -{ - // these are initialised by cmap_init::cmap_init() -} - -int cmap_init::initialised = 0; - -cmap_init::cmap_init() -{ - if (initialised) - return; - initialised = 1; - for (int i = 0; i <= UCHAR_MAX; i++) { - cmupper.v[i] = ISASCII(i) && islower(i) ? toupper(i) : i; - cmlower.v[i] = ISASCII(i) && isupper(i) ? tolower(i) : i; - } -} diff --git a/contrib/groff/src/libs/libgroff/cset.cc b/contrib/groff/src/libs/libgroff/cset.cc deleted file mode 100644 index e4845c11012e..000000000000 --- a/contrib/groff/src/libs/libgroff/cset.cc +++ /dev/null @@ -1,102 +0,0 @@ -// -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992 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. */ - -#include <ctype.h> -#include "cset.h" - -cset csalpha(CSET_BUILTIN); -cset csupper(CSET_BUILTIN); -cset cslower(CSET_BUILTIN); -cset csdigit(CSET_BUILTIN); -cset csxdigit(CSET_BUILTIN); -cset csspace(CSET_BUILTIN); -cset cspunct(CSET_BUILTIN); -cset csalnum(CSET_BUILTIN); -cset csprint(CSET_BUILTIN); -cset csgraph(CSET_BUILTIN); -cset cscntrl(CSET_BUILTIN); - -#ifdef isascii -#define ISASCII(c) isascii(c) -#else -#define ISASCII(c) (1) -#endif - -void cset::clear() -{ - char *p = v; - for (int i = 0; i <= UCHAR_MAX; i++) - p[i] = 0; -} - -cset::cset() -{ - clear(); -} - -cset::cset(const char *s) -{ - clear(); - while (*s) - v[(unsigned char)*s++] = 1; -} - -cset::cset(const unsigned char *s) -{ - clear(); - while (*s) - v[*s++] = 1; -} - -cset::cset(cset_builtin) -{ - // these are initialised by cset_init::cset_init() -} - -cset &cset::operator|=(const cset &cs) -{ - for (int i = 0; i <= UCHAR_MAX; i++) - if (cs.v[i]) - v[i] = 1; - return *this; -} - - -int cset_init::initialised = 0; - -cset_init::cset_init() -{ - if (initialised) - return; - initialised = 1; - for (int i = 0; i <= UCHAR_MAX; i++) { - csalpha.v[i] = ISASCII(i) && isalpha(i); - csupper.v[i] = ISASCII(i) && isupper(i); - cslower.v[i] = ISASCII(i) && islower(i); - csdigit.v[i] = ISASCII(i) && isdigit(i); - csxdigit.v[i] = ISASCII(i) && isxdigit(i); - csspace.v[i] = ISASCII(i) && isspace(i); - cspunct.v[i] = ISASCII(i) && ispunct(i); - csalnum.v[i] = ISASCII(i) && isalnum(i); - csprint.v[i] = ISASCII(i) && isprint(i); - csgraph.v[i] = ISASCII(i) && isgraph(i); - cscntrl.v[i] = ISASCII(i) && iscntrl(i); - } -} diff --git a/contrib/groff/src/libs/libgroff/illegal.cc b/contrib/groff/src/libs/libgroff/illegal.cc deleted file mode 100644 index 10f4d5bd7d54..000000000000 --- a/contrib/groff/src/libs/libgroff/illegal.cc +++ /dev/null @@ -1,22 +0,0 @@ -#include "lib.h" - -// Table of illegal input characters. - -char illegal_char_table[256]= { - 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -}; diff --git a/contrib/groff/src/preproc/eqn/neqn.sh b/contrib/groff/src/preproc/eqn/neqn.sh deleted file mode 100644 index 770376732b29..000000000000 --- a/contrib/groff/src/preproc/eqn/neqn.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# Provision of this shell script should not be taken to imply that use of -# GNU eqn with groff -Tascii|-Tlatin1 is supported. - -exec @g@eqn -Tascii ${1+"$@"} diff --git a/contrib/groff/src/roff/groff/groff.man b/contrib/groff/src/roff/groff/groff.man deleted file mode 100644 index aa57f31f1de4..000000000000 --- a/contrib/groff/src/roff/groff/groff.man +++ /dev/null @@ -1,428 +0,0 @@ -.ig \"-*- nroff -*- -Copyright (C) 1999 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. -.. -.de TQ -.br -.ns -.TP \\$1 -.. -.\" Like TP, but if specified indent is more than half -.\" the current line-length - indent, use the default indent. -.de Tp -.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP -.el .TP "\\$1" -.. -.TH GROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@" -.SH NAME -groff \- front end for the groff document formatting system -.SH SYNOPSIS -.B groff -[ -.B \-abehilpstvzCENRSUVXZ -] -[ -.BI \-w name -] -[ -.BI \-W name -] -[ -.BI \-m name -] -[ -.BI \-F dir -] -[ -.BI \-I dir -] -[ -.BI \-T dev -] -[ -.BI \-f fam -] -[ -.BI \-M dir -] -[ -.BI \-d cs -] -[ -.BI \-r cn -] -[ -.BI \-n num -] -[ -.BI \-o list -] -[ -.BI \-P arg -] -[ -.BI \-L arg -] -[ -.IR files \|.\|.\|.\| -] -.SH DESCRIPTION -.B groff -is a front-end to the groff document formatting system. -Normally it runs the -.B @g@troff -program and a postprocessor appropriate for the selected -device. -Available devices are: -.TP -.B ps -For PostScript printers and previewers -.TP -.B dvi -For TeX dvi format. -.TP -.B X75 -For a 75 dpi X11 previewer. -.TP -.B X100 -For a 100dpi X11 previewer. -.TP -.B ascii -For typewriter-like devices. -.TP -.B latin1 -For typewriter-like devices using the ISO Latin-1 character set. -.TP -.B lj4 -For an HP LaserJet4-compatible (or other PCL5-compatible) printer. -.TP -.B html -To produce HTML output. -.LP -The postprocessor to be used for a device is specified by the -.B postpro -command in the device description file. -This can be overridden with the -.B \-X -option. -.LP -The default device is -.BR @DEVICE@ . -It can optionally preprocess with any of -.BR @g@pic , -.BR @g@eqn , -.BR @g@tbl , -.BR @g@refer , -or -.B @g@soelim. -.LP -Options without an argument can be grouped behind a single -.BR \- . -A filename of -.B \- -denotes the standard input. -.LP -The -.B grog -command can be used to guess the correct groff command to use to -format a file. -.SH OPTIONS -.TP -.B \-h -Print a help message. -.TP -.B \-e -Preprocess with @g@eqn. -.TP -.B \-t -Preprocess with @g@tbl. -.TP -.B \-p -Preprocess with @g@pic. -.TP -.B \-s -Preprocess with @g@soelim. -.TP -.BI \-I dir -This option is as described in -.BR @g@soelim (@MAN1EXT@) . -This option implies the -.B \-s -option. -.TP -.B \-R -Preprocess with @g@refer. -No mechanism is provided for passing arguments to -.B @g@refer -because most @g@refer options have equivalent commands -which can be included in the file. -See -.BR @g@refer (@MAN1EXT@) -for more details. -.TP -.B \-v -Make programs run by -.B groff -print out their version number. -.TP -.B \-V -Print the pipeline on stdout instead of executing it. -.TP -.B \-z -Suppress output from -.BR @g@troff . -Only error messages will be printed. -.TP -.B \-Z -Do not postprocess the output of -.BR @g@troff . -Normally -.B groff -will automatically run the appropriate postprocessor. -.TP -.BI \-P arg -Pass -.I arg -to the postprocessor. -Each argument should be passed with a separate -.B \-P -option. -Note that -.B groff -does not prepend -.B \- -to -.I arg -before passing it to the postprocessor. -.TP -.B \-l -Send the output to a printer. -The command used for this is specified by the -.B print -command in the device description file. -.TP -.BI \-L arg -Pass -.I arg -to the spooler. -Each argument should be passed with a separate -.B \-L -option. -Note that -.B groff -does not prepend -.B \- -to -.I arg -before passing it to the postprocessor. -.TP -.BI \-T dev -Prepare output for device -.IR dev . -The default device is -.BR @DEVICE@ . -.TP -.B \-X -Preview with -.B gxditview -instead of using the usual postprocessor. -.B Groff -passes -.B gxditview -a -.B -printCommand -option which will make the -.B Print -action do what -.B groff -would have done if the -.B -l -option had been given. -This is unlikely to produce good results except with -.BR \-Tps . -.TP -.B \-N -Don't allow newlines with eqn delimiters. -This is the same as the -.B \-N -option in -.BR @g@eqn . -.TP -.B \-S -Safer mode. Pass the -.B \-S -option to -.B @g@pic -and use the -.B \%\-msafer -macros with -.BR @g@troff . -(enabled by default) -.TP -.B \-U -Unsafe mode. Reverts to the old unsafe behaviour. -.TP -.B \-a -.TQ -.B \-b -.TQ -.B \-i -.TQ -.B \-C -.TQ -.B \-E -.TQ -.BI \-w name -.TQ -.BI \-W name -.TQ -.BI \-m name -.TQ -.BI \-o list -.TQ -.BI \-d cs -.TQ -.BI \-r cn -.TQ -.BI \-F dir -.TQ -.BI \-M dir -.TQ -.BI \-f fam -.TQ -.BI \-n num -These are as described in -.BR @g@troff (@MAN1EXT@) . -.SH ENVIRONMENT -.TP -.SM -.B GROFF_COMMAND_PREFIX -If this is set -.IR X , -then -.B groff -will run -.IB X troff -instead of -.BR @g@troff . -This also applies to -.BR tbl , -.BR pic , -.BR eqn , -.BR refer , -and -.BR soelim . -It does not apply to -.BR grops , -.BR grodvi , -.BR grotty , -.BR grolj4 , -.BR grohtml , -and -.BR gxditview . -.TP -.SM -.B GROFF_TMAC_PATH -A colon separated list of directories in which to search for -macro files. -.TP -.SM -.B GROFF_TYPESETTER -Default device. -.TP -.SM -.B GROFF_FONT_PATH -A colon separated list of directories in which to search for the -.BI dev name -directory. -.TP -.SM -.B PATH -The search path for commands executed by -.BR groff . -.TP -.SM -.B GROFF_TMPDIR -The directory in which temporary files will be created. -If this is not set and -.B -.SM TMPDIR -is set, temporary files will be created in that directory. -Otherwise temporary files will be created in -.BR /tmp . -The -.BR grops (@MAN1EXT@) -and -.BR @g@refer (@MAN1EXT@) -commands can create temporary files. -.SH FILES -.Tp \w'\fB@FONTDIR@/dev\fIname\fB/DESC'u+3n -.BI @FONTDIR@/dev name /DESC -Device description file for device -.IR name . -.TP -.BI @FONTDIR@/dev name / F -Font file for font -.I F -of device -.IR name . -.SH AUTHOR -James Clark <jjc@jclark.com> -.SH BUGS -Report bugs to bug-groff@gnu.org. -Include a complete, self-contained example -that will allow the bug to be reproduced, -and say which version of groff you are using. -.SH COPYRIGHT -Copyright \(co 1989, 1990, 1991, 1992, 1999 Free Software Foundation, Inc. -.LP -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. -.LP -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. -.LP -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. -.SH AVAILABILITY -The most recent released version of groff is always available for -anonymous ftp from ftp.gnu.org in the directory gnu/groff. -.SH "SEE ALSO" -.BR grog (@MAN1EXT@), -.BR @g@troff (@MAN1EXT@), -.BR @g@tbl (@MAN1EXT@), -.BR @g@pic (@MAN1EXT@), -.BR @g@eqn (@MAN1EXT@), -.BR @g@soelim (@MAN1EXT@) , -.BR @g@refer (@MAN1EXT@), -.BR grops (@MAN1EXT@), -.BR grodvi (@MAN1EXT@), -.BR grotty (@MAN1EXT@), -.BR grohtml (@MAN1EXT@), -.BR gxditview (@MAN1EXT@), -.BR groff_font (@MAN5EXT@), -.BR groff_out (@MAN5EXT@), -.BR groff_man (@MAN7EXT@), -.BR groff_ms (@MAN7EXT@), -.BR groff_me (@MAN7EXT@), -.BR groff_char (@MAN7EXT@), -.BR groff_msafer (@MAN7EXT@) diff --git a/contrib/groff/src/roff/nroff/nroff.man b/contrib/groff/src/roff/nroff/nroff.man deleted file mode 100644 index 4087ebe53a56..000000000000 --- a/contrib/groff/src/roff/nroff/nroff.man +++ /dev/null @@ -1,94 +0,0 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1999 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@NROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@" -.SH NAME -@g@nroff \- emulate nroff command with groff -.SH SYNOPSIS -.B @g@nroff -[ -.B \-h -] -[ -.B \-i -] -[ -.BI \-m name -] -[ -.BI \-n num -] -[ -.BI \-o list -] -[ -.BI \-r cn -] -[ -.BI \-T name -] -[ -.I file\|.\|.\|. -] -.SH DESCRIPTION -The -.B @g@nroff -script emulates the -.B nroff -command using groff. -The -.B \-T -option with an argument other than -.B ascii -and -.B latin1 -will be ignored. -The -.B \-h -option -is equivalent to the -.B grotty -.B \-h -option. -The -.BR \-i , -.BR \-n , -.BR \-m , -.B \-o -and -.B \-r -options have the effect described in -.BR @g@troff (@MAN1EXT@). -In addition -.B @g@nroff -silently ignores options of -.BR \-e , -.B \-q -or -.BR \-s . -Options -.B \-S -(safer) and -.B \-U -(unsafe) are passed to groff. -.B \-S -is passed by default. -.SH "SEE ALSO" -.BR groff (@MAN1EXT@), -.BR @g@troff (@MAN1EXT@), -.BR grotty (@MAN1EXT@) diff --git a/contrib/groff/src/roff/nroff/nroff.sh b/contrib/groff/src/roff/nroff/nroff.sh deleted file mode 100755 index ee4e332c9108..000000000000 --- a/contrib/groff/src/roff/nroff/nroff.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# Emulate nroff with groff. - -prog="$0" -# Default device. -if test "X$LC_CTYPE" = "Xiso_8859_1" || test "X$LESSCHARSET" = "Xlatin1" -then - T=-Tlatin1 -else - T=-Tascii -fi -opts= -safer=-S - -for i -do - case $1 in - -h) - opts="$opts -P-h" - ;; - -[eq]|-s*) - # ignore these options - ;; - -[mrnoT]) - echo "$prog: option $1 requires an argument" >&2 - exit 1 - ;; - -i|-[mrno]*) - opts="$opts $1"; - ;; - - -Tascii|-Tlatin1) - T=$1 - ;; - -T*) - # ignore other devices - ;; - -S) - # safer behaviour - safer=-S - ;; - -U) - # unsafe behaviour - safer=-U - ;; - -u*) - # Solaris 2.2 `man' uses -u0; ignore it, - # since `less' and `more' can use the emboldening info. - ;; - --) - shift - break - ;; - -) - break - ;; - -*) - echo "$prog: invalid option $1" >&2 - exit 1 - ;; - *) - break - ;; - esac - shift -done - -# This shell script is intended for use with man, so warnings are -# probably not wanted. Also load nroff-style character definitions. -exec groff $safer -Wall -mtty-char $T $opts ${1+"$@"} diff --git a/contrib/groff/tmac/me.man b/contrib/groff/tmac/me.man deleted file mode 100644 index 49196212391c..000000000000 --- a/contrib/groff/tmac/me.man +++ /dev/null @@ -1,274 +0,0 @@ -.\" Copyright (c) 1980 The Regents of the University of California. -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms are permitted -.\" provided that the above copyright notice and this paragraph are -.\" duplicated in all such forms and that any documentation, -.\" advertising materials, and other materials related to such -.\" distribution and use acknowledge that the software was developed -.\" by the University of California, Berkeley. The name of the -.\" University may not be used to endorse or promote products derived -.\" from this software without specific prior written permission. -.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR -.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED -.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -.\" -.\" @(#)me.7 6.4 (Berkeley) 4/13/90 -.\" -.\" Modified for groff by jjc@jclark.com -.hc % -.TH GROFF_ME @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@" -.UC 3 -.SH NAME -groff_me \- troff macros for formatting papers -.SH SYNOPSIS -.B "groff \-me" -[ options ] -file ... -.br -.B "troff \-me" -[ options ] -file ... -.SH DESCRIPTION -This manual page describes the GNU version of the \-me macros, -which is part of the groff document formatting system. -This version can be used with both GNU troff and Unix troff. -This package of -.I troff -macro definitions provides a canned formatting -facility for tech%nical papers in various formats. -.PP -The macro requests are defined below. -Many -.I troff -requests are unsafe in conjunction with -this package, however, these requests may be used with -impunity after the first .pp: -.nf -.IP -.ta \w'.sz +n 'u -\&.bp begin new page -\&.br break output line here -\&.sp n insert n spacing lines -\&.ls n (line spacing) n=1 single, n=2 double space -\&.na no alignment of right margin -\&.ce n center next n lines -\&.ul n underline next n lines -.fi -.PP -Output of the -.I pic, -.I eqn, -.I refer, -and -.I tbl -preprocessors -is acceptable as input. -.SH FILES -@MACRODIR@/tmac.e -.SH "SEE ALSO" -.BR groff (@MAN1EXT@), -.BR @g@troff (@MAN1EXT@) -.br -\-me Reference Manual, Eric P. Allman -.br -Writing Papers with Groff Using \-me -.tr &. -.SH REQUESTS -This list is incomplete; -see -.I "The \-me Reference Manual" -for interesting details. -.PP -.ta \w'.eh \'x\'y\'z\' 'u +\w'Initial 'u +\w'Cause 'u -.br -.di x - \ka -.br -.di -.in \nau -.ti 0 -Request Initial Cause Explanation -.ti 0 - Value Break -.br -.in \nau -.ti 0 -\&.(c - yes Begin centered block -.ti 0 -\&.(d - no Begin delayed text -.ti 0 -\&.(f - no Begin footnote -.ti 0 -\&.(l - yes Begin list -.ti 0 -\&.(q - yes Begin major quote -.ti 0 -\&.(x \fIx\fR - no Begin indexed item in index -.I x -.ti 0 -\&.(z - no Begin floating keep -.ti 0 -\&.)c - yes End centered block -.ti 0 -\&.)d - yes End delayed text -.ti 0 -\&.)f - yes End footnote -.ti 0 -\&.)l - yes End list -.ti 0 -\&.)q - yes End major quote -.ti 0 -\&.)x - yes End index item -.ti 0 -\&.)z - yes End floating keep -.ti 0 -\&.++ \fIm H\fR - no Define paper section. -.I m -defines the part of the paper, and can be -.B C -(chapter), -.B A -(appendix), -.B P -(preliminary, e.g., abstract, table of contents, etc.), -.B B -(bibliography), -.B RC -(chapters renumbered from page one each chapter), -or -.B RA -(appendix renumbered from page one). -.ti 0 -\&.+c \fIT\fR - yes Begin chapter (or appendix, etc., as -set by .++). -.I T -is the chapter title. -.ti 0 -\&.1c 1 yes One column format on a new page. -.ti 0 -\&.2c 1 yes Two column format. -.ti 0 -\&.EN - yes Space after equation -produced by -.I eqn -or -.IR neqn . -.ti 0 -\&.EQ \fIx y\fR - yes Precede equation; break out and -add space. -Equation number is -.IR y . -The optional argument \fIx\fR -may be -.I I -to indent equation (default), -.I L -to left-adjust the equation, or -.I C -to center the equation. -.ti 0 -\&.GE - yes End \fIgremlin\fP picture. -.ti 0 -\&.GS - yes Begin \fIgremlin\fP picture. -.ti 0 -\&.PE - yes End \fIpic\fP picture. -.ti 0 -\&.PS - yes Begin \fIpic\fP picture. -.ti 0 -\&.TE - yes End table. -.ti 0 -\&.TH - yes End heading section of table. -.ti 0 -\&.TS \fIx\fR - yes Begin table; if \fIx\fR is -.I H -table has repeated heading. -.ti 0 -\&.b \fIx\fR no no Print -.I x -in boldface; if no argument switch to boldface. -.ti 0 -\&.ba \fI+n\fR 0 yes Augments the base indent by -.I n. -This indent is used to set the indent on regular text -(like paragraphs). -.ti 0 -\&.bc no yes Begin new column -.ti 0 -\&.bi \fIx\fR no no Print -.I x -in bold italics (nofill only) -.ti 0 -\&.bu - yes Begin bulleted paragraph -.ti 0 -\&.bx \fIx\fR no no Print \fIx\fR in a box (nofill only). -.ti 0 -\&.ef \fI\'x\'y\'z\'\fR \'\'\'\' no Set even footer to x y z -.ti 0 -\&.eh \fI\'x\'y\'z\'\fR \'\'\'\' no Set even header to x y z -.ti 0 -\&.fo \fI\'x\'y\'z\'\fR \'\'\'\' no Set footer to x y z -.ti 0 -\&.hx - no Suppress headers and footers on next page. -.ti 0 -\&.he \fI\'x\'y\'z\'\fR \'\'\'\' no Set header to x y z -.ti 0 -\&.hl - yes Draw a horizontal line -.ti 0 -\&.i \fIx\fR no no Italicize -.I x; -if -.I x -missing, italic text follows. -.ti 0 -\&.ip \fIx y\fR no yes Start indented paragraph, -with hanging tag -.IR x . -Indentation is -.I y -ens (default 5). -.ti 0 -\&.lp yes yes Start left-blocked paragraph. -.ti 0 -\&.np 1 yes Start numbered paragraph. -.ti 0 -\&.of \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd footer to x y z -.ti 0 -\&.oh \fI\'x\'y\'z\'\fR \'\'\'\' no Set odd header to x y z -.ti 0 -\&.pd - yes Print delayed text. -.ti 0 -\&.pp no yes Begin paragraph. -First line indented. -.ti 0 -\&.r yes no Roman text follows. -.ti 0 -\&.re - no Reset tabs to default values. -.ti 0 -\&.sh \fIn x\fR - yes Section head follows, -font automatically bold. -.I n -is level of section, -.I x -is title of section. -.ti 0 -\&.sk no no Leave the next page blank. -Only one page is remembered ahead. -.ti 0 -\&.sm \fIx\fR - no Set -.I x -in a smaller pointsize. -.ti 0 -\&.sz \fI+n\fR 10p no Augment the point size by -.I n -points. -.ti 0 -\&.tp no yes Begin title page. -.ti 0 -\&.u \fIx\fR - no Underline argument (even in \fItroff\fR). -(Nofill only). -.ti 0 -\&.uh - yes Like .sh but unnumbered. -.ti 0 -\&.xp \fIx\fR - no Print index -.I x. diff --git a/contrib/groff/tmac/msafer.man b/contrib/groff/tmac/msafer.man deleted file mode 100644 index 05712855652c..000000000000 --- a/contrib/groff/tmac/msafer.man +++ /dev/null @@ -1,56 +0,0 @@ -.ig \"-*- nroff -*- -Copyright (C) 1989-1995 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 MSAFER @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@" -.SH NAME -msafer \- groff -msafer macros -.SH SYNOPSIS -.B groff -.B \-msafer -[ -.IR options .\|.\|. -] -[ -.IR files .\|.\|. -] -.SH DESCRIPTION -The -msafer macros remove the -.BR open , -.BR opena , -.BR pso , -.B sy -and -.B pi -requests. -These macros should be used when processing input from -an untrustworthy source. -For maximum safety, -they should be the first -m option on the command-line. -Normally they are invoked using the -.B \-S -option of groff, which will also pass -.B @g@pic -the -.B \-S -flag. -.SH FILES -.B @MACRODIR@/tmac.safer -.SH "SEE ALSO" -.BR groff (@MAN1EXT@), -.BR @g@troff (@MAN1EXT@), -.BR @g@pic (@MAN1EXT@) diff --git a/contrib/groff/xditview/Makefile b/contrib/groff/xditview/Makefile deleted file mode 100644 index 1eb263d3d81d..000000000000 --- a/contrib/groff/xditview/Makefile +++ /dev/null @@ -1,639 +0,0 @@ -# Makefile generated by imake - do not edit! -# $XConsortium: imake.c,v 1.72 92/09/14 11:44:22 rws Exp $ -# -# The cpp used on this machine replaces all newlines and multiple tabs and -# spaces in a macro expansion with a single space. Imake tries to compensate -# for this, but is not always successful. -# - -# ------------------------------------------------------------------------- -# Makefile generated from "Imake.tmpl" and <Imakefile> -# $XConsortium: Imake.tmpl,v 1.158 92/09/03 19:54:25 rws Exp $ -# -# Platform-specific parameters may be set in the appropriate <vendor>.cf -# configuration files. Site-specific parameters should be set in the file -# site.def. Full rebuilds are recommended if any parameters are changed. -# -# If your C preprocessor does not define any unique symbols, you will need -# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing -# "make World" the first time). -# - -# ------------------------------------------------------------------------- -# site-specific configuration parameters that need to come before -# the platform-specific parameters - edit site.def to change - -# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $ - -# ------------------------------------------------------------------------- -# platform-specific configuration parameters - edit sun.cf to change - -# -# platform: $XConsortium: sun.cf,v 1.77 92/05/29 18:37:21 rws Exp $ - -# operating system: SunOS 5.0 - -.INIT: Makefile -REVCTLARCHFILE = SCCS/s.Imakefile -REVCTLCMD = sccs get - -# $XConsortium: sv4Lib.rules,v 1.8 91/07/19 15:38:53 rws Exp $ - -# ------------------------------------------------------------------------- -# site-specific configuration parameters that go after -# the platform-specific parameters - edit site.def to change - -# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $ - - SHELL = /bin/sh - - TOP = . - CURRENT_DIR = . - - AR = ar cq - BOOTSTRAPCFLAGS = - CC = cc - AS = as - - COMPRESS = compress - CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES) - PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) - INSTALL = $(BINDIR)/bsdinst - LD = ld - LEX = lex - YACC = yacc - LINT = lint - LINTLIBFLAG = -o - LINTOPTS = -ax - LN = ln -s - MAKE = make - MV = mv - CP = cp - - RM = rm -f - TROFF = psroff -t - MSMACROS = -ms - TBL = tbl - EQN = eqn - STD_INCLUDES = - STD_CPP_DEFINES = -DSVR4 -DSYSV - STD_DEFINES = -DSVR4 -DSYSV - EXTRA_LOAD_FLAGS = - EXTRA_LDOPTIONS = - EXTRA_LIBRARIES = -lsocket -lnsl - TAGS = ctags - - SHAREDCODEDEF = - SHLIBDEF = - - PROTO_DEFINES = - - INSTPGMFLAGS = - - INSTBINFLAGS = -m 0755 - INSTUIDFLAGS = -m 4755 - INSTLIBFLAGS = -m 0644 - INSTINCFLAGS = -m 0444 - INSTMANFLAGS = -m 0444 - INSTDATFLAGS = -m 0444 - INSTKMEMFLAGS = -m 4755 - - PROJECTROOT = $(OPENWINHOME) - DESTDIR = - - TOP_INCLUDES = -I$(INCROOT) - - CDEBUGFLAGS = -O -xF - CCOPTIONS = -DSYSV -DSVR4 -xF -Wa,-cg92 - - ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) - ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES) - CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) - CCFLAGS = $(CDEBUGFLAGS) $(CCCOPTIONS) $(ALLDEFINES) - LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) - - LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) - - LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR) - - LDCOMBINEFLAGS = -r - DEPENDFLAGS = - - MACROFILE = sun.cf - RM_CMD = $(RM) mapfile *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.O - - IMAKE_DEFINES = - - IRULESRC = $(CONFIGDIR) - IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) - - ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ - $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ - $(IRULESRC)/$(MACROFILE) \ - $(EXTRA_ICONFIGFILES) - -# ------------------------------------------------------------------------- -# X Window System Build Parameters -# $XConsortium: Project.tmpl,v 1.152 92/08/10 17:47:45 eswu Exp $ - -# ------------------------------------------------------------------------- -# X Window System make variables; this need to be coordinated with rules - - PATHSEP = / - USRLIBDIR = $(OPENWINHOME)/lib - SHLIBDIR = $(OPENWINHOME)/lib - BINDIR = $(OPENWINHOME)/bin - DEMODIR = $(OPENWINHOME)/demo - INCROOT = $(OPENWINHOME)/include - BUILDINCROOT = $(TOP) - BUILDINCDIR = $(BUILDINCROOT)/X11 - BUILDINCTOP = .. - INCDIR = $(INCROOT)/X11 - ADMDIR = /usr/adm - LIBDIR = $(USRLIBDIR)/X11 - CONFIGDIR = $(LIBDIR)/config - LINTLIBDIR = $(USRLIBDIR)/lint - - FONTDIR = $(LIBDIR)/fonts - XINITDIR = $(LIBDIR)/xinit - XDMDIR = $(LIBDIR)/xdm - TWMDIR = $(LIBDIR)/twm - MANPATH = $(OPENWINHOME)/man - MANSOURCEPATH = $(MANPATH)/man - MANSUFFIX = n - LIBMANSUFFIX = 3 - MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) - LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX) - NLSDIR = $(LIBDIR)/nls - PEXAPIDIR = $(LIBDIR)/PEX - XAPPLOADDIR = $(LIBDIR)/app-defaults - FONTCFLAGS = -t - - INSTAPPFLAGS = $(INSTDATFLAGS) - - IMAKE = imake - DEPEND = makedepend - RGB = rgb - - FONTC = bdftopcf - - MKFONTDIR = mkfontdir - MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier - - CONFIGSRC = $(TOP)/config - DOCUTILSRC = $(TOP)/doc/util - CLIENTSRC = $(TOP)/clients - DEMOSRC = $(TOP)/demos - LIBSRC = $(TOP)/lib - FONTSRC = $(TOP)/../../../lib/libfont - INCLUDESRC = $(TOP)/X11 - SERVERSRC = $(TOP)/server - DDXSRC = $(SERVERSRC)/ddx - UTILSRC = $(TOP)/util - SCRIPTSRC = $(UTILSRC)/scripts - EXAMPLESRC = $(TOP)/examples - CONTRIBSRC = $(TOP)/../contrib - DOCSRC = $(TOP)/doc - RGBSRC = $(TOP)/rgb - DEPENDSRC = $(UTILSRC)/makedepend - IMAKESRC = $(CONFIGSRC) - XAUTHSRC = $(LIBSRC)/Xau - XLIBSRC = $(LIBSRC)/X - XMUSRC = $(LIBSRC)/Xmu - TOOLKITSRC = $(LIBSRC)/Xt - AWIDGETSRC = $(LIBSRC)/Xaw - OLDXLIBSRC = $(LIBSRC)/oldX - XDMCPLIBSRC = $(LIBSRC)/Xdmcp - - BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf - - MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir - FSLIBSRC = $(FONTSRC)/lib/fs - FONTSERVERSRC = $(FONTSRC)/server - EXTENSIONSRC = $(TOP)/extensions - XILIBSRC = $(TOP)/../../../lib/libXinput - XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest - PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib - PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX - DGALIBSRC = $(EXTENSIONSRC)/lib/dga - -# $XConsortium: sv4Lib.tmpl,v 1.8 92/06/28 17:43:23 rws Exp $ - - SERVERETC = $(OPENWINHOME)/server/etc - - SERVERLIB = $(OPENWINHOME)/server/lib - - SERVERMODULES = $(OPENWINHOME)/server/modules - -SHLIBLDFLAGS = -G -z text -M mapfile -PICFLAGS = -K PIC -MAPFILE = mapfile - - DEPEXTENSIONLIB = - EXTENSIONLIB = -lXext - - DEPXLIB = $(DEPEXTENSIONLIB) - XLIBONLY = -lX11 - XLIB = $(EXTENSIONLIB) $(XLIBONLY) - - DEPXMULIB = - XMULIBONLY = -lXmu - XMULIB = $(XMULIBONLY) -z nodefs - - DEPOLDXLIB = - OLDXLIB = -loldX - - DEPXTOOLLIB = - XTOOLLIB = -lXt - - DEPXAWLIB = - XAWLIB = -lXaw - - DEPXILIB = - XILIB = -lXi - - DEPXTESTLIB = - XTESTLIB = -lXtst - - DEPPEXLIB = - PEXLIB = -lPEX5 - - DEPDGALIB = - DGALIB = -ldga - - SOXLIBREV = 5.0 - SOXTREV = 5.0 - SOXAWREV = 5.0 - SOOLDXREV = 5.0 - SOXMUREV = 5.0 - SOXEXTREV = 5.0 - SOXINPUTREV = 5.0 - SOXTESTREV = 1.0 - SOXTRAPREV = 1.0 - SOPEXREV = 1.0 - SODPSREV = 5 - SODGAREV = 1 - - DEPXAUTHLIB = $(USRLIBDIR)/libXau.a - XAUTHLIB = -lXau - DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a - XDMCPLIB = -lXdmcp - - DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a - PHIGSLIB = -lphigs - - DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a - XBSDLIB = -lXbsd - - LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln - LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln - LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln - LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln - LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln - LINTXI = $(LINTLIBDIR)/llib-lXi.ln - LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln - LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln - LINTDGA = $(LINTLIBDIR)/llib-ldga.ln - - DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) - - DEPLIBS1 = $(DEPLIBS) - DEPLIBS2 = $(DEPLIBS) - DEPLIBS3 = $(DEPLIBS) - -# ------------------------------------------------------------------------- -# Imake rules for building libraries, programs, scripts, and data files -# rules: $XConsortium: Imake.rules,v 1.129 92/05/29 17:01:19 rws Exp $ - -# ------------------------------------------------------------------------- -# start of Imakefile - -GROFF_LIBDIR = /opt/gnu/lib/groff -GROFF_FONTDIR = $(GROFF_LIBDIR)/font -GROFF_FONTPATH = .:$(GROFF_FONTDIR):/opt/gnu/lib/font:/usr/lib/font -DPIS = 75 100 - -PROGRAMS = gxditview xtotroff -DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) -LOCAL_LIBRARIES = $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XLIB) -SRCS1 = xditview.c Dvi.c draw.c font.c lex.c page.c \ - parse.c XFontName.c DviChar.c device.c -OBJS1 = xditview.o Dvi.o draw.o font.o lex.o page.o \ - parse.o XFontName.o DviChar.o device.o -SRCS2 = xtotroff.c XFontName.c DviChar.c -OBJS2 = xtotroff.o XFontName.o DviChar.o -INCLUDES = -I$(TOOLKITSRC) -I$(TOP) -MATHLIB = -lm -DEFINES = $(SIGNAL_DEFINES) -DFONTPATH=\"$(GROFF_FONTPATH)\" # -DX_NOT_STDC_ENV - - OBJS = $(OBJS1) $(OBJS2) $(OBJS3) - SRCS = $(SRCS1) $(SRCS2) $(SRCS3) - -all:: $(PROGRAMS) - -gxditview: $(OBJS1) $(DEPLIBS1) - $(RM) $@ - $(CC) -o $@ $(LDOPTIONS) $(OBJS1) $(LOCAL_LIBRARIES) $(LDLIBS) $(MATHLIB) $(EXTRA_LOAD_FLAGS) - -install:: $(DESTDIR)$(BINDIR)/gxditview -$(DESTDIR)$(BINDIR)/gxditview: gxditview - @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi - $(INSTALL) -c $(INSTPGMFLAGS) gxditview $(DESTDIR)$(BINDIR) - -install.man:: gxditview.man - @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi - $(INSTALL) -c $(INSTMANFLAGS) gxditview.man $(DESTDIR)$(MANDIR)/gxditview.$(MANSUFFIX) - -depend:: $(SRCS) $(HEADERS) - $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) -dependlocal:: $(SRCS) $(HEADERS) - $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) - -lint: - $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS) -lint1: - $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS) - -clean:: - $(RM) $(PROGRAMS) - -xtotroff: $(OBJS2) $(DEPXLIB) - $(RM) $@ - $(CC) -o $@ $(OBJS2) $(LDOPTIONS) $(XLIB) $(LDLIBS) $(EXTRA_LOAD_FLAGS) - -clean:: - $(RM) xtotroff - -install:: GXditview.ad - @if [ -d $(DESTDIR)$(XAPPLOADDIR) ]; then set +x; \ - else (set -x; $(MKDIRHIER) $(DESTDIR)$(XAPPLOADDIR)); fi - $(INSTALL) -c $(INSTAPPFLAGS) GXditview.ad $(DESTDIR)$(XAPPLOADDIR)/GXditview - -fonts: xtotroff DESC FontMap - @dir=`pwd`; \ - fonts=`sed -e 's/[ ].*//' FontMap`; \ - for dpi in $(DPIS); do \ - echo Making devX$$dpi; \ - test -d ../devX$$dpi || mkdir ../devX$$dpi; \ - rm -f ../devX$$dpi/DESC; \ - sed -e "s/res 75/res $$dpi/" DESC >../devX$$dpi/DESC; \ - (cd ../devX$$dpi; \ - rm -f Makefile.sub; \ - echo DEV=X$$dpi >Makefile.sub; \ - echo DEVFILES=DESC $$fonts >>Makefile.sub; \ - $$dir/xtotroff -g -r $$dpi -s 10 $$dir/FontMap); \ - echo Making devX$$dpi-12; \ - test -d ../devX$$dpi-12 || mkdir ../devX$$dpi-12; \ - rm -f ../devX$$dpi-12/DESC; \ - sed -e "s/res 75/res $$dpi/" -e 's/unitwidth 10/unitwidth 12/' DESC \ - >../devX$$dpi-12/DESC; \ - (cd ../devX$$dpi-12; \ - rm -f Makefile.sub; \ - echo DEV=X$$dpi-12 >Makefile.sub; \ - echo DEVFILES=DESC $$fonts >>Makefile.sub; \ - $$dir/xtotroff -g -r $$dpi -s 12 $$dir/FontMap); \ - done - -extraclean: clean - -rm -f junk tmp grot old - -FORCE: - -# ------------------------------------------------------------------------- -# common rules for all Makefiles - do not edit - -emptyrule:: - -dependlocal:: -includes:: $(HEADERS) $(OTHERFILES) - -clean:: - $(RM_CMD) "#"* - -Makefile:: Imakefile - -@if [ -f Makefile ]; then set -x; \ - $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ - else exit 0; fi - $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) - $(MAKE) $(MFLAGS) dependlocal - -tags:: - $(TAGS) -w *.[ch] - $(TAGS) -xw *.[ch] > TAGS - -# ------------------------------------------------------------------------- -# empty rules for directories that do not have SUBDIRS - do not edit - -install:: - @echo "install in $(CURRENT_DIR) done" - -install.man:: - @echo "install.man in $(CURRENT_DIR) done" - -Makefiles:: - -includes:: - -# ------------------------------------------------------------------------- -# dependencies generated by makedepend - -# DO NOT DELETE - -xditview.o: /usr/openwin/include/X11/Xatom.h /usr/openwin/include/X11/Xlib.h -xditview.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -xditview.o: /usr/include/sys/machtypes.h /usr/openwin/include/X11/X.h -xditview.o: /usr/openwin/include/X11/Xfuncproto.h -xditview.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h -xditview.o: /usr/openwin/include/X11/Xos.h /usr/include/string.h -xditview.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h -xditview.o: /usr/include/unistd.h /usr/include/sys/unistd.h -xditview.o: /usr/include/sys/time.h /usr/include/time.h -xditview.o: /usr/openwin/include/X11/Intrinsic.h -xditview.o: /usr/openwin/include/X11/Xutil.h -xditview.o: /usr/openwin/include/X11/Xresource.h -xditview.o: /usr/openwin/include/X11/Core.h -xditview.o: /usr/openwin/include/X11/Composite.h -xditview.o: /usr/openwin/include/X11/Constraint.h -xditview.o: /usr/openwin/include/X11/Object.h -xditview.o: /usr/openwin/include/X11/RectObj.h -xditview.o: /usr/openwin/include/X11/StringDefs.h -xditview.o: /usr/openwin/include/X11/Shell.h -xditview.o: /usr/openwin/include/X11/Xaw/Paned.h -xditview.o: /usr/openwin/include/X11/Xmu/Converters.h -xditview.o: /usr/openwin/include/X11/Xaw/Viewport.h -xditview.o: /usr/openwin/include/X11/Xaw/Form.h -xditview.o: /usr/openwin/include/X11/Xaw/Reports.h -xditview.o: /usr/openwin/include/X11/Xaw/Box.h -xditview.o: /usr/openwin/include/X11/Xaw/Command.h -xditview.o: /usr/openwin/include/X11/Xaw/Label.h -xditview.o: /usr/openwin/include/X11/Xaw/Simple.h -xditview.o: /usr/openwin/include/X11/Xaw/Dialog.h -xditview.o: /usr/openwin/include/X11/Xaw/SimpleMenu.h -xditview.o: /usr/openwin/include/X11/Xaw/SmeBSB.h -xditview.o: /usr/openwin/include/X11/Xaw/Sme.h /usr/include/signal.h -xditview.o: /usr/include/sys/signal.h Dvi.h xdit.bm xdit_mask.bm -xditview.o: /usr/include/stdio.h -Dvi.o: /usr/openwin/include/X11/IntrinsicP.h -Dvi.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h -Dvi.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -Dvi.o: /usr/include/sys/machtypes.h /usr/openwin/include/X11/X.h -Dvi.o: /usr/openwin/include/X11/Xfuncproto.h -Dvi.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h -Dvi.o: /usr/openwin/include/X11/Xutil.h /usr/openwin/include/X11/Xresource.h -Dvi.o: /usr/include/string.h /usr/openwin/include/X11/Core.h -Dvi.o: /usr/openwin/include/X11/Composite.h -Dvi.o: /usr/openwin/include/X11/Constraint.h -Dvi.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h -Dvi.o: /usr/openwin/include/X11/CoreP.h /usr/openwin/include/X11/CompositeP.h -Dvi.o: /usr/openwin/include/X11/ConstrainP.h -Dvi.o: /usr/openwin/include/X11/ObjectP.h /usr/openwin/include/X11/RectObjP.h -Dvi.o: /usr/openwin/include/X11/StringDefs.h -Dvi.o: /usr/openwin/include/X11/Xmu/Converters.h /usr/include/stdio.h -Dvi.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h -Dvi.o: /usr/openwin/include/X11/bitmaps/gray -draw.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h -draw.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -draw.o: /usr/include/sys/machtypes.h /usr/include/string.h -draw.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h -draw.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h -draw.o: /usr/openwin/include/X11/IntrinsicP.h -draw.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h -draw.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h -draw.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h -draw.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h -draw.o: /usr/openwin/include/X11/Composite.h -draw.o: /usr/openwin/include/X11/Constraint.h -draw.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h -draw.o: /usr/openwin/include/X11/CoreP.h -draw.o: /usr/openwin/include/X11/CompositeP.h -draw.o: /usr/openwin/include/X11/ConstrainP.h -draw.o: /usr/openwin/include/X11/ObjectP.h -draw.o: /usr/openwin/include/X11/RectObjP.h -draw.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h -draw.o: /usr/include/ctype.h /usr/include/math.h DviP.h Dvi.h DviChar.h -draw.o: device.h -font.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h -font.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -font.o: /usr/include/sys/machtypes.h /usr/include/string.h -font.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h -font.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h -font.o: /usr/openwin/include/X11/IntrinsicP.h -font.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h -font.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h -font.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h -font.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h -font.o: /usr/openwin/include/X11/Composite.h -font.o: /usr/openwin/include/X11/Constraint.h -font.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h -font.o: /usr/openwin/include/X11/CoreP.h -font.o: /usr/openwin/include/X11/CompositeP.h -font.o: /usr/openwin/include/X11/ConstrainP.h -font.o: /usr/openwin/include/X11/ObjectP.h -font.o: /usr/openwin/include/X11/RectObjP.h -font.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h -font.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h XFontName.h -lex.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h -lex.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -lex.o: /usr/include/sys/machtypes.h /usr/include/string.h -lex.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h -lex.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h -lex.o: /usr/openwin/include/X11/IntrinsicP.h -lex.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h -lex.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h -lex.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h -lex.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h -lex.o: /usr/openwin/include/X11/Composite.h -lex.o: /usr/openwin/include/X11/Constraint.h -lex.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h -lex.o: /usr/openwin/include/X11/CoreP.h /usr/openwin/include/X11/CompositeP.h -lex.o: /usr/openwin/include/X11/ConstrainP.h -lex.o: /usr/openwin/include/X11/ObjectP.h /usr/openwin/include/X11/RectObjP.h -lex.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h DviP.h -lex.o: Dvi.h DviChar.h device.h -page.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h -page.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -page.o: /usr/include/sys/machtypes.h /usr/include/string.h -page.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h -page.o: /usr/include/sys/unistd.h /usr/include/sys/time.h /usr/include/time.h -page.o: /usr/openwin/include/X11/IntrinsicP.h -page.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h -page.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h -page.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h -page.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h -page.o: /usr/openwin/include/X11/Composite.h -page.o: /usr/openwin/include/X11/Constraint.h -page.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h -page.o: /usr/openwin/include/X11/CoreP.h -page.o: /usr/openwin/include/X11/CompositeP.h -page.o: /usr/openwin/include/X11/ConstrainP.h -page.o: /usr/openwin/include/X11/ObjectP.h -page.o: /usr/openwin/include/X11/RectObjP.h -page.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h -page.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h -parse.o: /usr/openwin/include/X11/Xos.h /usr/openwin/include/X11/Xosdefs.h -parse.o: /usr/include/sys/types.h /usr/include/sys/feature_tests.h -parse.o: /usr/include/sys/machtypes.h /usr/include/string.h -parse.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h -parse.o: /usr/include/sys/unistd.h /usr/include/sys/time.h -parse.o: /usr/include/time.h /usr/openwin/include/X11/IntrinsicP.h -parse.o: /usr/openwin/include/X11/Intrinsic.h /usr/openwin/include/X11/Xlib.h -parse.o: /usr/openwin/include/X11/X.h /usr/openwin/include/X11/Xfuncproto.h -parse.o: /usr/include/stddef.h /usr/openwin/include/X11/Xutil.h -parse.o: /usr/openwin/include/X11/Xresource.h /usr/openwin/include/X11/Core.h -parse.o: /usr/openwin/include/X11/Composite.h -parse.o: /usr/openwin/include/X11/Constraint.h -parse.o: /usr/openwin/include/X11/Object.h /usr/openwin/include/X11/RectObj.h -parse.o: /usr/openwin/include/X11/CoreP.h -parse.o: /usr/openwin/include/X11/CompositeP.h -parse.o: /usr/openwin/include/X11/ConstrainP.h -parse.o: /usr/openwin/include/X11/ObjectP.h -parse.o: /usr/openwin/include/X11/RectObjP.h -parse.o: /usr/openwin/include/X11/StringDefs.h /usr/include/stdio.h -parse.o: /usr/include/ctype.h DviP.h Dvi.h DviChar.h device.h -XFontName.o: /usr/openwin/include/X11/Xlib.h /usr/include/sys/types.h -XFontName.o: /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h -XFontName.o: /usr/openwin/include/X11/X.h -XFontName.o: /usr/openwin/include/X11/Xfuncproto.h -XFontName.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h -XFontName.o: /usr/openwin/include/X11/Xos.h /usr/include/string.h -XFontName.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h -XFontName.o: /usr/include/unistd.h /usr/include/sys/unistd.h -XFontName.o: /usr/include/sys/time.h /usr/include/time.h XFontName.h -XFontName.o: /usr/include/ctype.h -DviChar.o: DviChar.h -device.o: /usr/include/stdio.h /usr/include/sys/feature_tests.h -device.o: /usr/include/ctype.h /usr/openwin/include/X11/Xos.h -device.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/sys/types.h -device.o: /usr/include/sys/machtypes.h /usr/include/string.h -device.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h /usr/include/unistd.h -device.o: /usr/include/sys/unistd.h /usr/include/sys/time.h -device.o: /usr/include/time.h /usr/openwin/include/X11/Intrinsic.h -device.o: /usr/openwin/include/X11/Xlib.h /usr/openwin/include/X11/X.h -device.o: /usr/openwin/include/X11/Xfuncproto.h /usr/include/stddef.h -device.o: /usr/openwin/include/X11/Xutil.h -device.o: /usr/openwin/include/X11/Xresource.h -device.o: /usr/openwin/include/X11/Core.h -device.o: /usr/openwin/include/X11/Composite.h -device.o: /usr/openwin/include/X11/Constraint.h -device.o: /usr/openwin/include/X11/Object.h -device.o: /usr/openwin/include/X11/RectObj.h device.h -xtotroff.o: /usr/openwin/include/X11/Xlib.h /usr/include/sys/types.h -xtotroff.o: /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h -xtotroff.o: /usr/openwin/include/X11/X.h -xtotroff.o: /usr/openwin/include/X11/Xfuncproto.h -xtotroff.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h -xtotroff.o: /usr/include/stdio.h /usr/include/ctype.h XFontName.h DviChar.h -xtotroff.o: /usr/include/stdlib.h -XFontName.o: /usr/openwin/include/X11/Xlib.h /usr/include/sys/types.h -XFontName.o: /usr/include/sys/feature_tests.h /usr/include/sys/machtypes.h -XFontName.o: /usr/openwin/include/X11/X.h -XFontName.o: /usr/openwin/include/X11/Xfuncproto.h -XFontName.o: /usr/openwin/include/X11/Xosdefs.h /usr/include/stddef.h -XFontName.o: /usr/openwin/include/X11/Xos.h /usr/include/string.h -XFontName.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h -XFontName.o: /usr/include/unistd.h /usr/include/sys/unistd.h -XFontName.o: /usr/include/sys/time.h /usr/include/time.h XFontName.h -XFontName.o: /usr/include/ctype.h -DviChar.o: DviChar.h |