.\"***************************************************************************
-.\" Copyright 2019-2021,2023 Thomas E. Dickey *
+.\" Copyright 2019-2023,2024 Thomas E. Dickey *
.\" Copyright 2010-2014,2016 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" 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.35 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
.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
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
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;
End_Windows;
end Hello;
.EE
-.RE
-.br
+.if \n(LL>67n .RE
.ne 2
.PP
Then, using