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=1778d7be8b886dca45e072f7d96acb652d531d04;hb=9f479192e3ca3413d235c66bf058f8cc63764898;hpb=f06e14af5e11df95d6542964bf1b349d2843bb11 diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index 1778d7be..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)
- adacurses-config - helper script for AdaCurses libraries + adacurses6-config - helper script for AdaCurses libraries
- adacurses-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 adacurses-config script's - options. + --help prints a list of the adacurses6-config script's options. - If no options are given, adacurses-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 20161022). + This describes ncurses version 6.2 (patch 20210612). - ADACURSES(1) + ADACURSES(1)