gbranden pushed a commit to branch master
in repository groff.
commit 691bca3003d0549a14dc0a969854b2257d78a5e2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue May 5 03:35:36 2026 -0500
Correct outdated Microsoft DOS/Windows port stuff.
* arch/mingw/groffer.cmd:
* arch/mingw/roff2dvi.cmd:
* arch/mingw/roff2html.cmd:
* arch/mingw/roff2pdf.cmd:
* arch/mingw/roff2ps.cmd:
* arch/mingw/roff2text.cmd:
* arch/mingw/roff2x.cmd: Delete these remnants of "groffer", dropped
from the groff distribution in commit 1d2df80a93, 2020-04-22.
* arch/mingw/mingw.am: Update `WINSCRIPTS` macro to no longer specify
them.
* arch/djgpp/README: Update.
---
ChangeLog | 17 +++++++++++++++++
arch/djgpp/README | 38 ++++++++++++++++++++++++++++----------
arch/mingw/groffer.cmd | 2 --
arch/mingw/mingw.am | 8 +-------
arch/mingw/roff2dvi.cmd | 2 --
arch/mingw/roff2html.cmd | 2 --
arch/mingw/roff2pdf.cmd | 2 --
arch/mingw/roff2ps.cmd | 2 --
arch/mingw/roff2text.cmd | 2 --
arch/mingw/roff2x.cmd | 2 --
10 files changed, 46 insertions(+), 31 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0f8a71219..9dda61905 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2026-05-05 G. Branden Robinson <[email protected]>
+
+ Correct some highly outdated Microsoft DOS/Windows port stuff.
+
+ * arch/mingw/groffer.cmd:
+ * arch/mingw/roff2dvi.cmd:
+ * arch/mingw/roff2html.cmd:
+ * arch/mingw/roff2pdf.cmd:
+ * arch/mingw/roff2ps.cmd:
+ * arch/mingw/roff2text.cmd:
+ * arch/mingw/roff2x.cmd: Delete these remnants of "groffer",
+ dropped from the groff distribution in commit 1d2df80a93,
+ 2020-04-22.
+ * arch/mingw/mingw.am: Update `WINSCRIPTS` macro to no longer
+ specify them.
+ * arch/djgpp/README: Update.
+
2026-05-08 G. Branden Robinson <[email protected]>
* src/devices/xditview/device.c: Fix code style nits. Spell
diff --git a/arch/djgpp/README b/arch/djgpp/README
index 90a5a6dcc..be9d8c593 100644
--- a/arch/djgpp/README
+++ b/arch/djgpp/README
@@ -133,24 +133,42 @@ I. Installing the pre-compiled binary package
an error message, and the produced file will have links which
will fail to resolve when you view it with a Web browser.
- 6. Some programs in the package are supplied as Unix shell
- scripts. While it is relatively easy to write a DOS batch file
- which will do the same, DOS doesn't allow to redirect input and
- output of a batch file. Since Groff tools are meant to be
- invoked in a pipe, the batch files are not very useful. The
- batch files are included in the binary distribution
- nonetheless.
+ 6. The following Groff programs are POSIX shell scripts.
+
+ - nroff
+ - neqn
+ - grap2graph
+ - eqn2graph
+ - pic2graph
+ - gdiffmk
+
+ While it is relatively easy to write a DOS batch file that will
+ do the same, DOS doesn't allow redirection of the input and
+ output streams of a batch file. Since Groff tools are meant to
+ be invoked in a pipeline, the batch files are not very useful.
+ We include batch files in the binary distribution corresponding
+ to some of them nonetheless.
These scripts need the following utilities to run (in addition
- to the Groff programs they invoke):
+ to the Groff programs they invoke).
- bash
- gawk
- egrep
- sed
- The 'afmtodit' and 'mmroff' utilities are Perl scripts, so you
- will need a Perl port to run them.
+ The following Groff programs are Perl scripts; they require a
+ Perl interpreter to run.
+
+ - grof
+ - afmtodit
+ - pdfmom
+ - gropdf
+ - gperl
+ - glilypond
+ - mmroff
+ - chem
+ - gpinyin
All of these ports should be available from the DJGPP sites.
diff --git a/arch/mingw/groffer.cmd b/arch/mingw/groffer.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/groffer.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
diff --git a/arch/mingw/mingw.am b/arch/mingw/mingw.am
index f0d21d78d..b1006e2f4 100644
--- a/arch/mingw/mingw.am
+++ b/arch/mingw/mingw.am
@@ -27,13 +27,7 @@ WINSCRIPTS=\
arch/mingw/gropdf.cmd \
arch/mingw/mmroff.cmd \
arch/mingw/neqn.cmd \
- arch/mingw/pdfmom.cmd \
- arch/mingw/roff2dvi.cmd \
- arch/mingw/roff2html.cmd \
- arch/mingw/roff2pdf.cmd \
- arch/mingw/roff2ps.cmd \
- arch/mingw/roff2text.cmd \
- arch/mingw/roff2x.cmd
+ arch/mingw/pdfmom.cmd
if BUILD_WINSCRIPTS
bin_SCRIPTS += $(WINSCRIPTS)
diff --git a/arch/mingw/roff2dvi.cmd b/arch/mingw/roff2dvi.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/roff2dvi.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
diff --git a/arch/mingw/roff2html.cmd b/arch/mingw/roff2html.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/roff2html.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
diff --git a/arch/mingw/roff2pdf.cmd b/arch/mingw/roff2pdf.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/roff2pdf.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
diff --git a/arch/mingw/roff2ps.cmd b/arch/mingw/roff2ps.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/roff2ps.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
diff --git a/arch/mingw/roff2text.cmd b/arch/mingw/roff2text.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/roff2text.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
diff --git a/arch/mingw/roff2x.cmd b/arch/mingw/roff2x.cmd
deleted file mode 100644
index 3fb18d437..000000000
--- a/arch/mingw/roff2x.cmd
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-perl %~dpn0 %*
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit