[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: src/devices/grotty/*: Improve the license information.
From: |
Bernd Warken |
Subject: |
[groff] 01/01: src/devices/grotty/*: Improve the license information. |
Date: |
Wed, 17 Sep 2014 15:36:13 +0000 |
bwarken pushed a commit to branch master
in repository groff.
commit dc026bb42691cad82e825c49596ee649cd54cec2
Author: Bernd Warken <address@hidden>
Date: Wed Sep 17 17:35:04 2014 +0200
src/devices/grotty/*: Improve the license information.
---
ChangeLog | 4 ++
src/devices/grotty/Makefile.sub | 5 +--
src/devices/grotty/grotty.man | 62 ++++++++++++++++++++++++++++++---------
src/devices/grotty/tty.cpp | 4 +--
4 files changed, 54 insertions(+), 21 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5b0d256..c289dea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2014-09-17 Bernd Warken <address@hidden>
+ * src/devices/grotty/*: Improve the license information.
+
+2014-09-17 Bernd Warken <address@hidden>
+
* src/devices/grops/*: Improve the license information.
2014-09-17 Bernd Warken <address@hidden>
diff --git a/src/devices/grotty/Makefile.sub b/src/devices/grotty/Makefile.sub
index 4fb9d47..b3d0900 100644
--- a/src/devices/grotty/Makefile.sub
+++ b/src/devices/grotty/Makefile.sub
@@ -2,10 +2,7 @@
#
# File position: <groff-source>/src/devices/grotty/Makefile.sub
#
-# Copyright (C) 2014
-# Free Software Foundation, Inc.
-#
-# Last update: 2 Sep 2014
+# Copyright (C) 2014 Free Software Foundation, Inc.
#
# This file is part of `font utf8' which is part of `groff'.
#
diff --git a/src/devices/grotty/grotty.man b/src/devices/grotty/grotty.man
index 3282d33..9118163 100644
--- a/src/devices/grotty/grotty.man
+++ b/src/devices/grotty/grotty.man
@@ -1,6 +1,12 @@
-.ig
-Copyright (C) 1989-2003, 2005, 2006, 2009, 2010, 2014
- Free Software Foundation, Inc.
+.\" -*- nroff -*-
+.TH GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
+.SH NAME
+grotty \- groff driver for typewriter-like devices
+.
+.
+.\" license
+.de co
+Copyright (C) 1989-2014 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -21,13 +27,11 @@ the original English.
.do nr grotty_C \n[.C]
.cp 0
.
-.TH GROTTY @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
-.
-.SH NAME
-grotty \- groff driver for typewriter-like devices
-.
.
+.\" --------------------------------------------------------------------
.SH SYNOPSIS
+.\" --------------------------------------------------------------------
+.
.B grotty
[
.B \-bBcdfhioruUv
@@ -42,7 +46,9 @@ It is possible to have whitespace between the
option and its parameter.
.
.
+.\" --------------------------------------------------------------------
.SH DESCRIPTION
+.\" --------------------------------------------------------------------
.
.B grotty
translates the output of GNU
@@ -73,6 +79,7 @@ also causes
to read the standard input.
Output is written to the standard output.
.
+.
.LP
By default,
.B grotty
@@ -82,6 +89,7 @@ This makes it possible to have eight different background and
foreground colors; additionally, bold and italic
attributes can be used \f[BI]at the same time\f[] (by using the BI font).
.
+.
.LP
The following colors are defined in
.BR tty.tmac :
@@ -90,6 +98,7 @@ Unknown colors are mapped to the default color (which is
dependent on the
settings of the terminal; in most cases, this is black for the foreground
and white for the background).
.
+.
.LP
Use the
.B \-c
@@ -110,6 +119,7 @@ The same effect can be achieved by setting either the
.B GROFF_NO_SGR
environment variable or using the `sgr' X command (see below).
.
+.
.LP
For SGR support, it is necessary to use the
.B \-R
@@ -141,16 +151,18 @@ or use the
.B \-P
option of
.B man
-to set the pager executable and its options, or modify the configuration
-file of
+to set the pager executable and its options, or modify the
+configuration file of
.B man
in a similar fashion.
+.
Note that with some
.BR man (1)
versions, you have to use the
.B $MANPAGER
environment variable instead.
.
+.
.LP
.BR grotty 's
old output format can be displayed on a terminal
@@ -177,6 +189,7 @@ since
.B grotty
never outputs reverse line feeds.
.
+.
.LP
The font description file may contain a command
.
@@ -200,6 +213,7 @@ This code can also be used in the
escape sequence in
.BR troff .
.
+.
.LP
If the
.B DESC
@@ -214,7 +228,9 @@ See the
man page for more details.
.
.
+.\" --------------------------------------------------------------------
.SH OPTIONS
+.\" --------------------------------------------------------------------
.
.TP
.B \-b
@@ -327,7 +343,9 @@ isn't used.
Print the version number.
.
.
+.\" --------------------------------------------------------------------
.SH USAGE
+.\" --------------------------------------------------------------------
.
.B grotty
understands a single X command produced using the
@@ -342,7 +360,9 @@ is non-zero or missing, enable SGR output (this is the
default), otherwise
use the old drawing scheme for bold and underline.
.
.
+.\" --------------------------------------------------------------------
.SH ENVIRONMENT
+.\" --------------------------------------------------------------------
.
.TP
.SM
@@ -366,7 +386,9 @@ and
for more details.
.
.
+.\" --------------------------------------------------------------------
.SH FILES
+.\" --------------------------------------------------------------------
.
.TP
.B @FONTDIR@/devascii/DESC
@@ -440,25 +462,31 @@ Note that on EBCDIC hosts, only files for the
device is installed.
.
.
+.\" --------------------------------------------------------------------
.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 \[rs]D
commands
other than horizontal and vertical lines.
.
+.
.LP
Characters above the first line (i.e.\& with a vertical position of\~0)
cannot be printed.
.
+.
.LP
Color handling is different compared to
.BR grops (@MAN1EXT@).
@@ -469,7 +497,9 @@ doesn't support anyway) but changes the background color of
the character
cell, affecting all subsequent operations.
.
.
+.\" --------------------------------------------------------------------
.SH "SEE ALSO"
+.\" --------------------------------------------------------------------
.
.BR groff (@MAN1EXT@),
.BR @address@hidden (@MAN1EXT@),
@@ -481,8 +511,12 @@ cell, affecting all subsequent operations.
.BR man (1),
.BR less (1)
.
-.cp \n[grotty_C]
.
-.\" Local Variables:
-.\" mode: nroff
-.\" End:
+.\" --------------------------------------------------------------------
+.SH COPYING
+.\" --------------------------------------------------------------------
+.
+.co
+.
+.
+.cp \n[grotty_C]
diff --git a/src/devices/grotty/tty.cpp b/src/devices/grotty/tty.cpp
index e25f934..60d46e8 100644
--- a/src/devices/grotty/tty.cpp
+++ b/src/devices/grotty/tty.cpp
@@ -1,7 +1,5 @@
// -*- C++ -*-
-/* Copyright (C) 1989-2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2009-2011
- Free Software Foundation, Inc.
+/* Copyright (C) 1989-2014 Free Software Foundation, Inc.
Written by James Clark (address@hidden)
This file is part of groff.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: src/devices/grotty/*: Improve the license information.,
Bernd Warken <=