X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fadacurses6-config.1.html;h=75d457a1156f5a4956c75c76a213557a91d4896b;hp=b719c5813bf8af778481dd8f33ae06392c6416a1;hb=9f479192e3ca3413d235c66bf058f8cc63764898;hpb=a8e3f06ac309504143cd56ac9ec55889bfdf4914 diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index b719c581..75d457a1 100644 --- a/doc/html/man/adacurses6-config.1.html +++ b/doc/html/man/adacurses6-config.1.html @@ -1,6 +1,7 @@ -
- +-ADACURSES(1) User Commands ADACURSES(1) +ADACURSES(1) User Commands ADACURSES(1) @@ -50,39 +51,34 @@
- adacurses6-config [options] + adacurses6-config [options]
- This is a shell script which simplifies configuring an - application to use the AdaCurses library binding to - ncurses. + This is a shell script which simplifies configuring an application to + use the AdaCurses library binding to ncurses.
- --cflags - echos the gnat (Ada compiler) flags needed to com- - pile with AdaCurses. - - --libs echos the gnat libraries needed to link with + --cflags + echos the gnat (Ada compiler) flags needed to compile with AdaCurses. - --version - echos the release+patchdate version of the ncurses - libraries used to configure and build AdaCurses. + --libs echos the gnat libraries needed to link with AdaCurses. + + --version + echos the release+patchdate version of the ncurses libraries + used to configure and build AdaCurses. - --help prints a list of the adacurses6-config script's - options. + --help prints a list of the adacurses6-config script's options. - If no options are given, adacurses6-config prints the com- - bination of --cflags and --libs that gnatmake expects (see - example). + If no options are given, adacurses6-config prints the combination of + --cflags and --libs that gnatmake expects (see example).
- For example, supposing that you want to compile the "Hello - World!" program for AdaCurses. Make a file named - "hello.adb": + For example, supposing that you want to compile the "Hello World!" + program for AdaCurses. Make a file named "hello.adb": with Terminal_Interface.Curses; use Terminal_Interface.Curses; procedure Hello is @@ -111,7 +107,6 @@ end case; Nap_Milli_Seconds (50); - end loop; End_Windows; @@ -119,8 +114,8 @@ end Hello; Then, using - gnatmake `adacurses-config --cflags` hello -largs - `adacurses-config --libs` + gnatmake `adacurses-config --cflags` hello -largs `adacurses- + config --libs` or (simpler): gnatmake hello `adacurses-config` @@ -129,13 +124,13 @@
- curses(3x) + curses(3X) - This describes ncurses version 6.0 (patch 20170422). + This describes ncurses version 6.2 (patch 20210612). - ADACURSES(1) + ADACURSES(1)