summaryrefslogtreecommitdiffstats
path: root/contrib/groff/nroff
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-04-17 12:23:50 +0000
committerru <ru@FreeBSD.org>2001-04-17 12:23:50 +0000
commit42d565388eaa8c9f931d7188a3f2f9c5951f6b3b (patch)
tree15b3118d42fb4b3e36f2b0e23eeeb3acc5e65b8a /contrib/groff/nroff
parent78a36d21097dbce47cbcd4818ecd041388952f73 (diff)
downloadFreeBSD-src-42d565388eaa8c9f931d7188a3f2f9c5951f6b3b.zip
FreeBSD-src-42d565388eaa8c9f931d7188a3f2f9c5951f6b3b.tar.gz
Removed files not present in v1.17 import.
Diffstat (limited to 'contrib/groff/nroff')
-rw-r--r--contrib/groff/nroff/nroff.man106
-rwxr-xr-xcontrib/groff/nroff/nroff.sh88
-rw-r--r--contrib/groff/nroff/psroff.146
-rw-r--r--contrib/groff/nroff/psroff.sh2
4 files changed, 0 insertions, 242 deletions
diff --git a/contrib/groff/nroff/nroff.man b/contrib/groff/nroff/nroff.man
deleted file mode 100644
index e33feb9..0000000
--- a/contrib/groff/nroff/nroff.man
+++ /dev/null
@@ -1,106 +0,0 @@
-.ig \"-*- nroff -*-
-Copyright (C) 1989-2000 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.
-
- $FreeBSD$
-
-..
-.TH @G@NROFF @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.SH NAME
-@g@nroff \- emulate nroff command with groff
-.SH SYNOPSIS
-.nr a \n(.j
-.ad l
-.nr i \n(.i
-.in +\w'\fB@g@nroff 'u
-.ti \niu
-.B @g@nroff
-.de OP
-.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
-.el .RB "[\ " "\\$1" "\ ]"
-..
-.OP \-h
-.OP \-i
-.OP \-m name
-.OP \-n num
-.OP \-o list
-.OP \-p
-.OP \-r cn
-.OP \-t
-.OP \-T name
-.RI "[\ " file\|.\|.\|. "\ ]"
-.br
-.ad \na
-.SH DESCRIPTION
-The
-.B @g@nroff
-script emulates the
-.B nroff
-command using groff.
-The
-.B \-T
-option with an argument other than
-.BR ascii ,
-.BR latin1 ,
-.BR koi8-r ,
-.BR utf8 ,
-or
-.B cp1047
-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
-.BR \-p ,
-.BR \-t ,
-.B \-S
-(safer) and
-.B \-U
-(unsafe) are passed to
-.BR groff .
-.B \-S
-is passed by default.
-.SH NOTES
-This shell script is basically intended for use with
-.BR man (1),
-so warnings are suppressed.
-nroff-style character definitions (in the file tmac.tty-char) are also
-loaded to emulate unrepresentable glyphs.
-.SH "SEE ALSO"
-.BR groff (@MAN1EXT@),
-.BR @g@troff (@MAN1EXT@),
-.BR grotty (@MAN1EXT@)
diff --git a/contrib/groff/nroff/nroff.sh b/contrib/groff/nroff/nroff.sh
deleted file mode 100755
index d658657..0000000
--- a/contrib/groff/nroff/nroff.sh
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-# Emulate nroff with groff.
-# $FreeBSD$
-
-prog="$0"
-# Default device.
-# First try the "locale charmap" command, because it's most reliable.
-# On systems where it doesn't exist, look at the environment variables.
-case "`#locale charmap 2>/dev/null`" in
- UTF-8)
- T=-Tutf8 ;;
- ISO-8859-1)
- T=-Tlatin1 ;;
- IBM-1047)
- T=-Tcp1047 ;;
- *)
- case "${LC_ALL-${LC_CTYPE-${LANG}}}" in
- *.UTF-8)
- T=-Tutf8 ;;
- iso_8859_1 | *.ISO-8859-1 | *.ISO_8859-1)
- T=-Tlatin1 ;;
- *.IBM-1047)
- T=-Tcp1047 ;;
- *.KOI8-R)
- T=-Tkoi8-r ;;
- *)
- case "$LESSCHARSET" in
- utf-8)
- T=-Tutf8 ;;
- latin1)
- T=-Tlatin1 ;;
- cp1047)
- T=-Tcp1047 ;;
- *)
- T=-Tascii ;;
- esac ;;
- esac ;;
-esac
-opts=
-safer=-S
-
-# `for i; do' doesn't work with some versions of sh
-
-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 ;;
- -[itp] | -[mrno]*)
- opts="$opts $1" ;;
- -Tascii | -Tlatin1 | -Tkoi8-r | -Tutf8 | -Tcp1047)
- 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/nroff/psroff.1 b/contrib/groff/nroff/psroff.1
deleted file mode 100644
index e2291ba..0000000
--- a/contrib/groff/nroff/psroff.1
+++ /dev/null
@@ -1,46 +0,0 @@
-.\" Copyright (c) 1997 Wolfram Schneider <wosch@FreeBSD.org>.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $FreeBSD$
-.Dd September 15, 1997
-.Dt PSROFF 1
-.Os
-.Sh NAME
-.Nm psroff
-.Nd "send troff to PostScript printer"
-.Sh SYNOPSIS
-.Nm
-.Op Ar "groff options"
-.Op Ar
-.Sh DESCRIPTION
-The
-.Nm
-program is actually just a shell script which invokes the
-.Xr groff 1
-command to print the troff files to a PostScript printer.
-.Sh SEE ALSO
-.Xr groff 1 ,
-.Xr lpr 1 ,
-.Xr vgrind 1 ,
-.Xr environ 7
diff --git a/contrib/groff/nroff/psroff.sh b/contrib/groff/nroff/psroff.sh
deleted file mode 100644
index 8a90082..0000000
--- a/contrib/groff/nroff/psroff.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh -
-exec groff -Tps -l -C ${1+"$@"}
OpenPOWER on IntegriCloud