]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/MKada_config.in
ncurses 6.4 - patch 20240420
[ncurses.git] / man / MKada_config.in
index f63133c1cc9eb0f8d221c2f5345a9527567d9752..a017d09f8ae8dac5aede9b982654cd3b8edeb6d9 100644 (file)
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: MKada_config.in,v 1.28 2023/09/30 23:55:34 tom Exp $
-.TH adacurses@USE_CFG_SUFFIX@\-config 1 2023-09-30 "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 .ds CW R
-.el   \{
-.ie \n(.g .ds CW CR
-.el       .ds CW CW
-.\}
-.
-.nr mE 0 \" in an example (EX/EE)?
-.
-.\" Start example.
-.if !\n(.g \{\
-.de EX
-.  br
-.  if !\\n(mE \{\
-.    nr mF \\n(.f
-.    nr mP \\n(PD
-.    nr PD 1v
-.    nf
-.    ft \\*(CW
-.    nr mE 1
-.  \}
-..
-.\}
-.
-.\" End example.
-.if !\n(.g \{\
-.de EE
-.  br
-.  if \\n(mE \{\
-.    ft \\n(mF
-.    nr PD \\n(mP
-.    fi
-.    nr mE 0
-.  \}
-..
-.\}
-.
 .ie \n(.g \{\
 .ds `` \(lq
 .ds '' \(rq
 .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
@@ -94,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
@@ -105,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
@@ -113,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;
 
@@ -152,8 +128,7 @@ begin
    End_Windows;
 end Hello;
 .EE
-.RE
-.br
+.if \n(LL>67n .RE
 .ne 2
 .PP
 Then, using