X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2FMKada_config.in;h=5f34cff4124b7cd860cec9c90ec4e06bdcf2ce69;hp=8dd1aed990eaf94b6d1e48ec6343c71a3aab9dbb;hb=HEAD;hpb=894a177fd5228cdbe790bd1dc9435bd435c29681 diff --git a/man/MKada_config.in b/man/MKada_config.in index 8dd1aed9..ee037ff4 100644 --- a/man/MKada_config.in +++ b/man/MKada_config.in @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" 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 * @@ -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.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(.g \{\ .ds `` \(lq @@ -43,6 +43,19 @@ .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