]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/MKada_config.in
ncurses 6.4 - patch 20240420
[ncurses.git] / man / MKada_config.in
index 8dd1aed990eaf94b6d1e48ec6343c71a3aab9dbb..a017d09f8ae8dac5aede9b982654cd3b8edeb6d9 100644 (file)
@@ -27,8 +27,8 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: MKada_config.in,v 1.29 2023/10/07 21:19:07 tom Exp $
-.TH adacurses@USE_CFG_SUFFIX@\-config 1 2023-10-07 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands"
+.\" $Id: MKada_config.in,v 1.34 2024/04/20 21:13:27 tom Exp $
+.TH adacurses@USE_CFG_SUFFIX@\-config 1 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands"
 .ds C adacurses@USE_CFG_SUFFIX@\-config
 .ie \n(.g \{\
 .ds `` \(lq
 .ie t .ds '  \(aq
 .el   .ds '  '
 .\}
+.
+.\" Fix broken EX/EE macros on DWB troff.
+.\" Detect it: only DWB sets up a `)Y` register.
+.if !\n(.g .if \n()Y \{\
+.\" Revert the undesired changes to indentation.
+.am EX
+.in -5n
+..
+.am EE
+.in +5n
+..
+.\}
+.
 .SH NAME
 \fB\%adacurses@USE_CFG_SUFFIX@\-config\fP \-
 configuration helper for \fI@ADA_LIBNAME@\fP libraries
@@ -57,7 +70,7 @@ configuration helper for \fI@ADA_LIBNAME@\fP libraries
 .SH DESCRIPTION
 This program development aid simplifies the process of configuring
 applications to use the \fI@ADA_LIBNAME@\fP library binding to
-\fIncurses\fP.
+\fI\%ncurses\fP.
 .SH OPTIONS
 .TP 11 \" "--version" + 2n
 \fB\-\-cflags\fP
@@ -68,7 +81,7 @@ reports the GNAT (Ada compiler) flags needed to compile with
 reports the GNAT libraries needed to link with \fI@ADA_LIBNAME@\fP.
 .TP
 \fB\-\-version\fP
-reports the release and patch date information of the \fIncurses\fP
+reports the release and patch date information of the \fI\%ncurses\fP
 libraries used to configure and build \fI@ADA_LIBNAME@\fP and exits
 successfully.
 .TP
@@ -76,13 +89,13 @@ successfully.
 issues a usage message and exits successfully.
 .PP
 Omitting options implies \*(``\fB\-\-cflags \-\-libs\fP\*(''.
-.SH EXAMPLE
+.SH EXAMPLES
 Consider a program using \fI@ADA_LIBNAME@\fP to write the message
 \*(``Hello, world!\*('' in the center of the screen and wait for the
 user to press the \*(``q\*('' key before exiting.
 Populate a file \fIhello.adb\fP with the following.
 .PP
-.RS 4
+.if \n(LL>67n .RS 4
 .EX
 with Terminal_Interface.Curses; use Terminal_Interface.Curses;
 
@@ -115,7 +128,7 @@ begin
    End_Windows;
 end Hello;
 .EE
-.RE
+.if \n(LL>67n .RE
 .ne 2
 .PP
 Then, using