CVS commit: src/share/tmac

2020-01-23 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Thu Jan 23 23:52:13 UTC 2020

Modified Files:
src/share/tmac: doc2html

Log Message:
Provide ability to override 

If \*[title-section] is non-empty, use it to override the title
instead of appending it.  Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.

This override will be used by the installation notes where the default
title is less than helpful.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.70 src/share/tmac/doc2html:1.71
--- src/share/tmac/doc2html:1.70	Mon Dec 23 20:17:33 2019
+++ src/share/tmac/doc2html	Thu Jan 23 23:52:13 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.70 2019/12/23 20:17:33 uwe Exp $
+.\" $NetBSD: doc2html,v 1.71 2020/01/23 23:52:13 uwe Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -276,8 +276,8 @@ TODO:
 
 	
 	
-		\\*[document-title]\\$*
-		\\*[title-section]
+.ie '\\*[title-section]'' \\*[document-title]\\$*
+.el  \\*[title-section]
 	
 	

CVS commit: src/share/tmac

2019-12-24 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec 24 23:41:05 UTC 2019

Modified Files:
src/share/tmac: Makefile

Log Message:
G/c the list of old files that are gone for decades.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/share/tmac/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/Makefile
diff -u src/share/tmac/Makefile:1.31 src/share/tmac/Makefile:1.32
--- src/share/tmac/Makefile:1.31	Sat Oct 25 22:27:36 2008
+++ src/share/tmac/Makefile	Tue Dec 24 23:41:05 2019
@@ -1,5 +1,5 @@
 #	@(#)Makefile	8.1 (Berkeley) 6/8/93
-#	$NetBSD: Makefile,v 1.31 2008/10/25 22:27:36 apb Exp $
+#	$NetBSD: Makefile,v 1.32 2019/12/24 23:41:05 uwe Exp $
 
 # IF YOU ADD TO MSRCS, MAKE SURE YOU UPDATE `CATDEPS' IN bsd.man.mk!
 MSRCS=	doc2html
@@ -11,9 +11,6 @@ CLEANFILES+= ${MMACS}
 TMACDIR?=${.CURDIR}
 STRIP_SED = ${TMACDIR}/../me/strip.sed
 
-# old macros not currently installed...
-OFILES=	tmac.an.v6compat tmac.an6n tmac.an6t tmac.a tmac.cp tmac.doc.old
-
 realall:	${MMACS}
 
 .for i in ${MSRCS}



CVS commit: src/share/tmac

2019-12-23 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Mon Dec 23 20:17:33 UTC 2019

Modified Files:
src/share/tmac: doc2html

Log Message:
Fix if/else syntax in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.69 src/share/tmac/doc2html:1.70
--- src/share/tmac/doc2html:1.69	Tue Dec  3 14:41:00 2019
+++ src/share/tmac/doc2html	Mon Dec 23 20:17:33 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.69 2019/12/03 14:41:00 uwe Exp $
+.\" $NetBSD: doc2html,v 1.70 2019/12/23 20:17:33 uwe Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -265,10 +265,11 @@ TODO:
 .em end-macro
 .
 .\" map groff -Tencoding argument to the charset name
-.ie '\*(.T'ascii'  .ds html-charset US-ASCII
-.el .ie '\*(.T'latin1' .ds html-charset ISO-8859-1
-.el .ie '\*(.T'utf8'   .ds html-charset UTF-8
-.el .ab unsupported encoding \*(.T
+.   ie '\*(.T'ascii'  .ds html-charset US-ASCII
+.el \{ .ie '\*(.T'latin1' .ds html-charset ISO-8859-1
+.el \{ .ie '\*(.T'utf8'   .ds html-charset UTF-8
+.el.ab unsupported encoding \*(.T
+.\}\}
 .
 .de init-html
 



CVS commit: src/share/tmac

2019-12-03 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Tue Dec  3 14:41:00 UTC 2019

Modified Files:
src/share/tmac: doc2html

Log Message:
Use groff -Tencoding argument to emit 


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.68 src/share/tmac/doc2html:1.69
--- src/share/tmac/doc2html:1.68	Tue Nov 26 08:38:19 2019
+++ src/share/tmac/doc2html	Tue Dec  3 14:41:00 2019
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.68 2019/11/26 08:38:19 kre Exp $
+.\" $NetBSD: doc2html,v 1.69 2019/12/03 14:41:00 uwe Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -263,9 +263,17 @@ TODO:
 .	fl
 ..
 .em end-macro
+.
+.\" map groff -Tencoding argument to the charset name
+.ie '\*(.T'ascii'  .ds html-charset US-ASCII
+.el .ie '\*(.T'latin1' .ds html-charset ISO-8859-1
+.el .ie '\*(.T'utf8'   .ds html-charset UTF-8
+.el .ab unsupported encoding \*(.T
+.
 .de init-html
 
 
+	
 	
 		\\*[document-title]\\$*
 		\\*[title-section]



CVS commit: src/share/tmac

2017-07-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jul  4 09:32:20 UTC 2017

Modified Files:
src/share/tmac: README

Log Message:
Update README. Noted by kre.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/tmac/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/README
diff -u src/share/tmac/README:1.8 src/share/tmac/README:1.9
--- src/share/tmac/README:1.8	Mon Mar 29 21:36:45 2004
+++ src/share/tmac/README	Tue Jul  4 09:32:20 2017
@@ -1,8 +1,5 @@
-$NetBSD: README,v 1.8 2004/03/29 21:36:45 wiz Exp $
+$NetBSD: README,v 1.9 2017/07/04 09:32:20 wiz Exp $
 
-The files previously in this dir have been replaced by versions
-(still BSD licensed) coming with GNU groff; you can find them in
-gnu/dist/groff/tmac.
-
-The only files that usually should be touched are, however, in
-gnu/usr.bin/groff/tmac.
+This directory contains a conversion tool from mdoc to html
+for use with groff. It is obsolete since NetBSD defaults to using
+mandoc, and can be removed when groff is removed.



CVS commit: src/share/tmac

2016-11-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Nov 22 00:36:49 UTC 2016

Modified Files:
src/share/tmac: doc2html

Log Message:
Add entry for pthread_dbg in share/tmac/doc2html

pthread_dbg is POSIX Debug Threads Library

Sponsored by 


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.66 src/share/tmac/doc2html:1.67
--- src/share/tmac/doc2html:1.66	Sun Nov 22 05:13:00 2015
+++ src/share/tmac/doc2html	Tue Nov 22 00:36:49 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.66 2015/11/22 05:13:00 kamil Exp $
+.\" $NetBSD: doc2html,v 1.67 2016/11/22 00:36:49 kamil Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -596,6 +596,7 @@ Unknown .Bl list type \\$1 (#\\n(.c)
 .if "\\$1"libpmc" \ Counters Library (libpmc, -lpmc)
 .if "\\$1"libposix" \ Compatibility Library (libposix, -lposix)
 .if "\\$1"libpthread" \ Thread Library (libpthread, -lpthread)
+.if "\\$1"libpthread_dbg" \ Debug Thread Library (libpthread_dbg, -lpthread_dbg)
 .if "\\$1"libresolv" \ Resolver Library (libresolv, -lresolv)
 .if "\\$1"librt" \ Real-time Library (librt, -lrt)
 .if "\\$1"libsaslc" \ Authentication and Security Layer client library (libsaslc, -lsaslc)



CVS commit: src/share/tmac

2015-11-21 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Nov 22 05:13:00 UTC 2015

Modified Files:
src/share/tmac: doc2html

Log Message:
+libpanel: Z-order for curses windows


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.65 src/share/tmac/doc2html:1.66
--- src/share/tmac/doc2html:1.65	Sat Aug  3 22:12:23 2013
+++ src/share/tmac/doc2html	Sun Nov 22 05:13:00 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.65 2013/08/03 22:12:23 wiz Exp $
+.\" $NetBSD: doc2html,v 1.66 2015/11/22 05:13:00 kamil Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -590,6 +590,7 @@ Unknown .Bl list type \\$1 (#\\n(.c)
 .if "\\$1"libmagic" \ Number Recognition Library (libmagic, -lmagic)
 .if "\\$1"libmenu" \ Menu Library (libmenu, -lmenu)
 .if "\\$1"libossaudio" \ Audio Emulation Library (libossaudio, -lossaudio)
+.if "\\$1"libpanel" \ Panel Library (libpanel, -lpanel)
 .if "\\$1"libpcap" \ Capture Library (libpcap, -lpcap)
 .if "\\$1"libpci" \ Bus Access Library (libpci, -lpci)
 .if "\\$1"libpmc" \ Counters Library (libpmc, -lpmc)



CVS commit: src/share/tmac

2013-08-03 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Aug  3 21:56:56 UTC 2013

Modified Files:
src/share/tmac: doc2html

Log Message:
Add ISO C11


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.63 src/share/tmac/doc2html:1.64
--- src/share/tmac/doc2html:1.63	Fri Feb 11 23:47:49 2011
+++ src/share/tmac/doc2html	Sat Aug  3 21:56:56 2013
@@ -1,4 +1,4 @@
-.\ $NetBSD: doc2html,v 1.63 2011/02/11 23:47:49 christos Exp $
+.\ $NetBSD: doc2html,v 1.64 2013/08/03 21:56:56 matt Exp $
 .\
 .\ Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -1138,6 +1138,11 @@ ATT UNIX\\$*
 .			as std-tmp1  \exactly one space
 .			as std-tmp1 (``ISO C99'')
 .		\}
+.		if \\$1-isoC-11 \{\
+.			ds std-tmp1 \ISO/IEC 9899:2011
+.			as std-tmp1  \exactly one space
+.			as std-tmp1 (``ISO C11'')
+.		\}
 .\ POSIX Part 1: System API
 .		if \\$1-p1003.1 \{\
 .			ds std-tmp1 \IEEE Std 1003.1



CVS commit: src/share/tmac

2013-08-03 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Aug  3 22:12:23 UTC 2013

Modified Files:
src/share/tmac: doc2html

Log Message:
The *roff macro argument is -isoC-2011; adapt.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.64 src/share/tmac/doc2html:1.65
--- src/share/tmac/doc2html:1.64	Sat Aug  3 21:56:56 2013
+++ src/share/tmac/doc2html	Sat Aug  3 22:12:23 2013
@@ -1,4 +1,4 @@
-.\ $NetBSD: doc2html,v 1.64 2013/08/03 21:56:56 matt Exp $
+.\ $NetBSD: doc2html,v 1.65 2013/08/03 22:12:23 wiz Exp $
 .\
 .\ Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -1138,7 +1138,7 @@ ATT UNIX\\$*
 .			as std-tmp1  \exactly one space
 .			as std-tmp1 (``ISO C99'')
 .		\}
-.		if \\$1-isoC-11 \{\
+.		if \\$1-isoC-2011 \{\
 .			ds std-tmp1 \ISO/IEC 9899:2011
 .			as std-tmp1  \exactly one space
 .			as std-tmp1 (``ISO C11'')



CVS commit: src/share/tmac

2009-05-16 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Sat May 16 18:12:05 UTC 2009

Modified Files:
src/share/tmac: doc2html

Log Message:
change description for libbluetooth to Bluetooth Library as it is
more than just host lookup these days


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.61 src/share/tmac/doc2html:1.62
--- src/share/tmac/doc2html:1.61	Tue May 12 18:07:54 2009
+++ src/share/tmac/doc2html	Sat May 16 18:12:04 2009
@@ -1,4 +1,4 @@
-.\ $NetBSD: doc2html,v 1.61 2009/05/12 18:07:54 plunky Exp $
+.\ $NetBSD: doc2html,v 1.62 2009/05/16 18:12:04 plunky Exp $
 .\
 .\ Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -573,7 +573,7 @@
 .if \\$1libarm32 \ARM32 Architecture Library (libarm32, -larm32)
 .if \\$1libi386 \i386 Architecture Library (libi386, -li386)
 .if \\$1libm68k \m68k Architecture Library (libm68k, -lm68k)
-.if \\$1libbluetooth \Bluetooth Hosts Library (libbluetooth, -lbluetooth)
+.if \\$1libbluetooth \Bluetooth Library (libbluetooth, -lbluetooth)
 .if \\$1libc \Standard C Library (libc, -lc)
 .if \\$1libcdk \Curses Development Kit Library (libcdk, -lcdk)
 .if \\$1libcompat \Compatibility Library (libcompat, -lcompat)



CVS commit: src/share/tmac

2009-05-01 Thread Perry E. Metzger
Module Name:src
Committed By:   perry
Date:   Fri May  1 17:52:27 UTC 2009

Modified Files:
src/share/tmac: doc2html

Log Message:
add support for St -p1003.1-2008


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.59 src/share/tmac/doc2html:1.60
--- src/share/tmac/doc2html:1.59	Sun Sep 14 20:29:10 2008
+++ src/share/tmac/doc2html	Fri May  1 17:52:27 2009
@@ -1,4 +1,4 @@
-.\ $NetBSD: doc2html,v 1.59 2008/09/14 20:29:10 apb Exp $
+.\ $NetBSD: doc2html,v 1.60 2009/05/01 17:52:27 perry Exp $
 .\
 .\ Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\ All rights reserved.
@@ -1198,6 +1198,11 @@
 .			as std-tmp1  \exactly one space
 .			as std-tmp1 (``\\*(Px.1'')
 .		\}
+.		if \\$1-p1003.1-2008 \{\
+.			ds std-tmp1 \IEEE Std 1003.1-2008
+.			as std-tmp1  \exactly one space
+.			as std-tmp1 (``\\*(Px.1'')
+.		\}
 .\ POSIX Part 2: Shell and Utilities
 .		if \\$1-p1003.2 \{\
 .			ds std-tmp1 \IEEE Std 1003.2