diff options
| author | Thomas E. Dickey <dickey@invisible-island.net> | 1997-09-12 09:32:20 -0400 |
|---|---|---|
| committer | Thomas E. Dickey <dickey@invisible-island.net> | 1997-09-12 09:32:20 -0400 |
| commit | 2f5222ea2a4d549b4f269c11d34016fc7dc58dde (patch) | |
| tree | a71f2059819076b2adf4922b25d7cbe7d217c3fe | |
| parent | 549ec595d1da7693d5f7730e63f539cc8452307f (diff) | |
| download | lynx-snapshots-2f5222ea2a4d549b4f269c11d34016fc7dc58dde.tar.gz | |
snapshot of project "lynx", label v2-7-1ac_0-64
64 files changed, 2196 insertions, 997 deletions
diff --git a/.Lynx.prcs_aux b/.Lynx.prcs_aux index 8df8c817..e4185c2d 100644 --- a/.Lynx.prcs_aux +++ b/.Lynx.prcs_aux @@ -5,7 +5,7 @@ (WWW/Library/Implementation/HTList.c 6153 856833014 h/4_HTList.c 1.1) (WWW/Library/Implementation/HTGroup.h 5641 856833014 f/49_HTGroup.h 1.1) (src/tcpwareolb.opt 24 856833014 d/8_tcpwareolb 1.1) -(src/LYGlobalDefs.h 11842 870708759 d/25_LYGlobalDe 1.1.3.1.2.1.1.1.1.1.1.2.1.4) +(src/LYGlobalDefs.h 12078 873831756 d/25_LYGlobalDe 1.1.3.1.2.1.1.1.1.1.1.2.1.6) (CHANGES2-3 18114 856833014 h/46_CHANGES2-3 1.1) (CHANGES2-4 48390 856833014 h/45_CHANGES2-4 1.1) (WWW/Library/freebsd/Makefile 600 856833014 f/10_Makefile 1.1) @@ -27,28 +27,28 @@ (utils/inews/conf.h 3797 870050175 c/3_conf.h 1.1.1.2) (WWW/README.txt 9430 856833014 e/47_README.txt 1.1) (WWW/Library/Implementation/HTCJK.h 2933 860064663 f/30_HTCJK.h 1.2) -(src/LYDownload.c 16921 870960374 c/47_LYDownload 1.1.4.1.1.3) +(src/LYDownload.c 16933 873383193 c/47_LYDownload 1.1.4.1.1.5) (WWW/Library/apollo_m68k/Makefile 723 856833014 f/19_Makefile 1.1) (src/chrtrans/cp852_uni.tbl 11362 860516309 i/6_cp852_uni. 1.2) (test/ISO_LATIN1_test.html 3608 856833014 c/14_ISO_LATIN1 1.1) (build.com 8386 868451907 e/38_build.com 1.2) (lynx_help/lynx_url_support.html 28106 862290745 e/13_lynx_url_s 1.2) (lynx_help/keystroke_commands/follow_help.html 7617 868266973 43_follow_hel 1.1.1.1.1.2) -(configure.in 12096 872001662 10_configure. 1.12) +(configure.in 13007 873901913 10_configure. 1.14) (makefile.in 8172 872001662 8_makefile.i 1.1.1.12) (src/LYDownload.h 315 856833014 c/46_LYDownload 1.1) (src/chrtrans/cp1252_uni.tbl 10789 856856948 h/51_cp1252_uni 1.1) (utils/inews/config.h-dist 13461 856833014 b/51_config.h-d 1.1) (WWW/Library/Implementation/HTFTP.c 91171 868775901 h/14_HTFTP.c 1.6) -(src/GridText.c 194637 871707027 e/5_GridText.c 1.1.3.1.1.1.1.1.1.2.2.2.1.2.1.2.1.1.1.1.1.1.1.1.1.3.1.3) -(src/LYMain.c 87336 871707027 d/44_LYMain.c 1.1.2.1.1.1.1.1.1.2.2.1.1.1.1.1.1.1.1.1.1.1.1.3.1.2) +(src/GridText.c 194784 873651850 e/5_GridText.c 1.1.3.1.1.1.1.1.1.2.2.2.1.2.1.2.1.1.1.1.1.1.1.1.1.3.1.4) +(src/LYMain.c 87892 873831756 d/44_LYMain.c 1.1.2.1.1.1.1.1.1.2.2.1.1.1.1.1.1.1.1.1.1.1.1.3.1.6) (src/tcpwareshr.opt 30 856833014 d/6_tcpwareshr 1.1) -(src/LYGetFile.c 36209 871141740 d/48_LYGetFile. 1.5.2.3.2.1.1.1.1.1.1.1.1.1.1.3) +(src/LYGetFile.c 36874 873651850 d/48_LYGetFile. 1.5.2.3.2.1.1.1.1.1.1.1.1.1.1.2.1.2) (src/chrtrans/iso05_uni.tbl 1865 856925688 i/8_iso05_uni. 1.2) (src/chrtrans/mnem_suni.tbl 24067 856856948 h/50_mnem_suni. 1.1) -(README.configure 7299 870983973 14_README.con 1.6) +(README.configure 7637 873383193 14_README.con 1.7) (src/UCAuto.c 7083 868451907 b/17_UCAuto.c 1.1) -(src/LYTraversal.c 4554 869619703 c/25_LYTraversa 1.1.2.4) +(src/LYTraversal.c 4411 873383193 c/25_LYTraversa 1.1.2.6) (WWW/Makefile 203 856833014 e/44_Makefile 1.1) (README 4344 856833014 h/34_README 1.1) (WWW/Library/Implementation/HTVMSUtils.c 32765 868451907 h/23_HTVMSUtils 1.2) @@ -68,17 +68,17 @@ (lynx_help/keystroke_commands/gopher_types_help.html 1091 856833014 e/26_gopher_typ 1.1) (WWW/Library/Implementation/HTVMSUtils.h 2354 856833014 f/39_HTVMSUtils 1.1) (src/LYExtern.c 2223 870960374 39_LYExtern.c 1.5.1.2) -(LYMessages_en.h 32885 871141740 h/37_LYMessages 1.4.1.4.1.2.1.1.1.1.1.1.3.1.1.1.1.3) +(LYMessages_en.h 33083 873828926 h/37_LYMessages 1.4.1.4.1.2.1.1.1.1.1.1.3.1.1.1.1.4) (lynx_help/keystroke_commands/keystroke_help.html 5115 868266973 e/28_keystroke_ 1.3.1.2) (WWW/Library/umaxv-m88k/Makefile 678 856833014 e/48_Makefile 1.1) (about_lynx/lynx-dev.html 2500 870960374 b/0_lynx-dev.h 1.1) (WWW/Library/Implementation/HTBTree.c 26907 856833014 h/15_HTBTree.c 1.1) -(src/LYCookie.c 65031 872001662 c/18_LYCookie.c 1.2.1.6.1.1.1.3) +(src/LYCookie.c 65029 873651850 c/18_LYCookie.c 1.2.1.6.1.1.1.1.1.3) (src/LYExtern.h 174 868719652 38_LYExtern.h 1.1.1.1) (src/DefaultStyle.c 9413 871141740 c/51_DefaultSty 1.1.2.2) (VMSWAIS.announce 1549 856833014 h/29_VMSWAIS.an 1.1) (WWW/Copyright.txt 944 856833014 e/46_Copyright. 1.1) -(src/chrtrans/Makefile 2028 871141740 i/3_Makefile 1.9) +(src/chrtrans/Makefile 2170 873651850 b/18_Makefile 1.5) (WWW/Library/Implementation/HTBTree.h 2196 856833014 g/32_HTBTree.h 1.1) (src/LYKeymap.c 26856 864148507 d/31_LYKeymap.c 1.1.2.6.1.1) (src/LYCookie.h 537 868688257 c/17_LYCookie.h 1.2) @@ -95,39 +95,40 @@ (WWW/Library/Implementation/ufc-crypt.h 2491 856833014 f/33_ufc-crypt. 1.1) (src/socketshr_tcp.opt 16 856833014 d/9_socketshr_ 1.1) (src/HTAlert.c 13496 871141740 e/4_HTAlert.c 1.1.2.1.1.2) -(src/LYUtils.c 134025 872229662 d/27_LYUtils.c 1.1.4.1.2.2.1.1.1.1.1.1.1.1.4.2.1.3) -(src/LYCharUtils.c 75025 872229662 c/22_LYCharUtil 1.2.1.1.2.1.2.2.1.2.1.1.1.2.1.1.1.1.1.1.2.3.1.4) +(src/LYUtils.c 135318 874030712 d/27_LYUtils.c 1.1.4.1.2.2.1.1.1.1.1.1.1.1.4.2.1.1.1.3) +(src/LYCharUtils.c 75203 873828926 c/22_LYCharUtil 1.2.1.1.2.1.2.2.1.2.1.1.1.2.1.1.1.1.1.1.2.3.1.6) (PROBLEMS 7324 868157008 h/35_PROBLEMS 1.3) (src/LYSearch.h 326 861212923 d/28_LYSearch.h 1.2) (WWW/Library/next/Makefile 992 856833014 f/16_Makefile 1.1) -(src/LYCgi.c 11378 869443761 c/28_LYCgi.c 1.1.1.3) +(src/LYCgi.c 15504 873901913 c/28_LYCgi.c 1.1.1.5) (utils/lpansi/lpansi.c 4570 856833014 b/49_lpansi.c 1.1) (src/chrtrans/iso09_uni.tbl 857 856925688 i/11_iso09_uni. 1.2) (src/HTAlert.h 3353 871141740 d/1_HTAlert.h 1.2.1.2) (lynx_help/lynx_help_main.html 2720 870960374 e/29_lynx_help_ 1.4) -(src/LYUtils.h 4016 868401363 d/34_LYUtils.h 1.1.2.3) -(src/LYCharUtils.h 2338 868567209 c/19_LYCharUtil 1.1.2.3) +(src/LYUtils.h 4197 873383193 d/34_LYUtils.h 1.1.2.4) +(src/LYCharUtils.h 2343 873828926 c/19_LYCharUtil 1.1.2.4) (WWW/Library/decstation/Makefile 409 856833014 f/18_Makefile 1.1) (src/LYCgi.h 133 856833014 c/27_LYCgi.h 1.1) (WWW/Library/Implementation/HTChunk.c 2033 856833014 h/8_HTChunk.c 1.1) (WWW/Library/clix/Makefile 683 856833014 e/49_Makefile 1.1) (RELEASE_STATEMENT 1212 860264978 h/33_RELEASE_ST 1.2) (utils/inews/README 2391 856833014 c/7_README 1.1) -(src/LYHistory.c 18821 872229662 d/21_LYHistory. 1.1.2.1.4.1.1.1.1.4) -(src/chrtrans/makeuctb.c 14000 868719652 b/19_makeuctb.c 1.2) +(src/LYHistory.c 18771 873383193 d/21_LYHistory. 1.1.2.1.4.1.1.1.1.6) +(src/chrtrans/makeuctb.c 13972 873957320 b/19_makeuctb.c 1.1.1.1) (utils/inews/Makefile 1484 857398594 c/9_Makefile 1.1.1.1) (WWW/Library/Implementation/HTChunk.h 3543 856833014 g/26_HTChunk.h 1.1) (src/ucxolb.opt 28 856833014 c/36_ucxolb.opt 1.1) (lynx_help/keystroke_commands/option_help.html 15911 869904256 e/23_option_hel 1.7) (lynx_help/keystroke_commands/bookmark_help.html 891 856833014 e/27_bookmark_h 1.1) -(src/LYList.c 7952 868567209 d/3_LYList.c 1.1.3.2.1.1.1.2) +(src/LYList.c 7927 873383193 d/3_LYList.c 1.1.3.2.1.1.1.4) (src/LYHistory.h 623 856833014 d/11_LYHistory. 1.1) (src/chrtrans/cp850_uni.tbl 10229 860516309 i/19_cp850_uni. 1.2) (src/chrtrans/README.tables 2959 868451907 b/23_README.tab 1.1) (WWW/Library/Implementation/HTStyle.c 8994 860475643 h/5_HTStyle.c 1.3) (samples/jumpsUnix.html 3328 856833014 e/8_jumpsUnix. 1.1) -(WWW/Library/Implementation/HTMLGen.c 9713 868567209 h/9_HTMLGen.c 1.1.2.2) +(WWW/Library/Implementation/HTMLGen.c 14389 874030712 h/9_HTMLGen.c 1.1.2.4) (WWW/Library/Implementation/HTStream.h 1802 856833014 g/21_HTStream.h 1.1) +(src/chrtrans/viscii_uni.tbl 4573 873651850 b/0_viscii_uni 1.1) (src/chrtrans/build-header.com 932 868567209 c/0_build-head 1.1) (src/chrtrans/iso04_uni.tbl 1858 856925688 i/15_iso04_uni. 1.2) (WWW/Library/Implementation/HTFormat.c 26858 871654647 h/0_HTFormat.c 1.1.1.3) @@ -135,28 +136,28 @@ (WWW/Library/vms/libmake.com 6288 856833014 f/21_libmake.co 1.1) (src/chrtrans/koi8r_uni.tbl 4799 871141740 b/29_koi8r_uni. 1.2.1.1) (DESC 664 856833014 h/41_DESC 1.1) -(WWW/Library/Implementation/CommonMakefile 12712 861154810 f/41_CommonMake 1.3) +(WWW/Library/Implementation/CommonMakefile 12740 873651850 f/41_CommonMake 1.4) (src/LYVMSdef.h 562 856833014 c/16_LYVMSdef.h 1.1) (src/LYList.h 262 861212923 c/26_LYList.h 1.2) (src/chrtrans/cp1250_uni.tbl 10813 856856948 h/48_cp1250_uni 1.1) (src/decc.opt 58 856833014 d/13_decc.opt 1.1) (WWW/Library/Implementation/HTStyle.h 6777 871141740 g/18_HTStyle.h 1.1.1.2) -(CHANGES.new 124538 872699434 6_CHANGES.ne 1.18.1.4.1.1.2.1.1.2.2.2.1.2.1.1.1.1.1.4.2.7.1.3.1.4.1.18) +(CHANGES.new 132265 874030712 6_CHANGES.ne 1.18.1.4.1.1.2.1.1.2.2.2.1.2.1.1.1.1.1.4.2.7.1.3.1.4.1.24) (WWW/Library/Implementation/HTMLGen.h 753 856833014 g/22_HTMLGen.h 1.1) (WWW/Library/Implementation/HTFormat.h 11480 871654647 g/13_HTFormat.h 1.3) (WWW/Library/Implementation/HTUU.h 964 856833014 f/43_HTUU.h 1.1) (WWW/Library/Implementation/HTWSRC.c 11119 862857695 h/20_HTWSRC.c 1.1.1.1) (src/chrtrans/UCkd.h 1425 868451907 b/20_UCkd.h 1.1) -(WWW/Library/Implementation/HTFile.c 61180 872001662 h/27_HTFile.c 1.1.3.1.1.6) +(WWW/Library/Implementation/HTFile.c 61444 873831756 h/27_HTFile.c 1.1.3.1.1.8) (src/chrtrans/mnemonic_suni.tbl 22265 868451907 b/28_mnemonic_s 1.1) (WWW/Library/vms/COPYING.LIB 25265 856833014 f/20_COPYING.LI 1.1) -(src/chrtrans/MAKEW32.BAT 980 871777740 3_MAKEW32.BA 1.4) +(src/chrtrans/MAKEW32.BAT 1019 873651850 3_MAKEW32.BA 1.5) (WWW/Library/Implementation/HTWSRC.h 1320 856833014 g/3_HTWSRC.h 1.1) (WWW/Library/sgi/Makefile 683 856833014 f/14_Makefile 1.1) (WWW/Library/Implementation/HTFile.h 4772 856856948 g/33_HTFile.h 1.2) (WWW/Library/isc/Makefile 679 856833014 e/50_Makefile 1.1) (src/LYMap.c 10459 869443761 c/21_LYMap.c 1.1.2.1.1.2.1.2.1.2) -(src/LYPrint.c 30375 870050175 d/40_LYPrint.c 1.1.1.1.1.1.1.1.1.1.1.3) +(src/LYPrint.c 31438 873831756 d/40_LYPrint.c 1.1.1.1.1.1.1.1.1.1.1.6) (WWW/Library/Implementation/HTTelnet.c 15664 870960374 h/24_HTTelnet.c 1.5) (about_lynx/about_lynx.html 4123 870960374 e/43_about_lynx 1.2) (samples/mime.types 1057 856833014 e/9_mime.types 1.1) @@ -164,27 +165,27 @@ (src/chrtrans/iso10_uni.tbl 1565 856925688 i/10_iso10_uni. 1.2) (src/LYMap.h 240 861212923 c/20_LYMap.h 1.2) (samples/jumpsVMS.html 1417 856833014 e/7_jumpsVMS.h 1.1) -(src/LYReadCFG.c 33865 870960374 d/39_LYReadCFG. 1.1.1.1.3.2.3.1.1.2.1.5) +(src/LYReadCFG.c 34052 873831756 d/39_LYReadCFG. 1.1.1.1.3.2.3.1.1.2.1.7) (WWW/Library/vms/descrip.mms 9051 856833014 f/22_descrip.mm 1.1) (src/LYPrint.h 304 856833014 d/7_LYPrint.h 1.1) (Makefile.old 46228 872699434 h/36_Makefile 1.1.1.1.1.1.1.2.3.1.3.4) (WWW/Library/Implementation/HTAccess.c 36271 870159729 h/17_HTAccess.c 1.5.2.2) (WWW/Library/Implementation/HTTelnet.h 582 856833014 g/5_HTTelnet.h 1.1) -(WWW/Library/Implementation/HTAnchor.c 33556 871141740 h/6_HTAnchor.c 1.1.4.2.1.2) +(WWW/Library/Implementation/HTAnchor.c 33588 873828926 h/6_HTAnchor.c 1.1.4.2.1.4) (utils/inews/inews.c 7996 856833014 c/2_inews.c 1.1) (src/LYReadCFG.h 219 856833014 c/41_LYReadCFG. 1.1) (docs/README.html 686 856833014 e/36_README.htm 1.1) -(src/LYrcFile.c 29647 869904256 d/15_LYrcFile.c 1.1.3.6) -(src/UCAux.c 6379 871141740 b/15_UCAux.c 1.3.1.1) +(src/LYrcFile.c 29624 873383193 d/15_LYrcFile.c 1.1.3.8) +(src/UCAux.c 6869 873651850 b/15_UCAux.c 1.3.1.2) (WWW/Library/Implementation/HTAccess.h 7620 860064663 g/35_HTAccess.h 1.3) (WWW/Library/Implementation/HTAtom.c 3883 869552380 h/7_HTAtom.c 1.1.2.1) (WWW/Library/Implementation/HTAAFile.c 5620 856833014 g/44_HTAAFile.c 1.1) (WWW/Library/Implementation/HTPasswd.c 7766 856833014 g/43_HTPasswd.c 1.1) (samples/mailcap 4772 871016304 e/11_mailcap 1.2) (WWW/Library/Implementation/HTAnchor.h 14096 871141740 g/19_HTAnchor.h 1.1.4.3) -(src/chrtrans/iso06_uni.tbl 1204 856856948 i/14_iso06_uni. 1.1) +(src/chrtrans/iso06_uni.tbl 1663 873651850 b/34_iso06_uni. 1.3) (src/LYrcFile.h 194 856833014 d/5_LYrcFile.h 1.1) -(src/LYUpload.c 8005 870708759 d/35_LYUpload.c 1.1.4.1.3.1.1.1.1.3) +(src/LYUpload.c 8018 873383193 d/35_LYUpload.c 1.1.4.1.3.1.1.1.1.5) (src/HTForms.h 3316 861212923 d/32_HTForms.h 1.2) (WWW/Library/Implementation/HTAtom.h 1210 856833014 g/20_HTAtom.h 1.1) (WWW/Library/Implementation/HTAAFile.h 4408 856833014 f/51_HTAAFile.h 1.1) @@ -192,25 +193,25 @@ (src/descrip.mms 5045 868451907 e/6_descrip.mm 1.2) (src/LYSignal.h 300 856833014 d/23_LYSignal.h 1.1) (lynx_help/keystroke_commands/other_help.html 6511 868266973 e/22_other_help 1.4) -(aclocal.m4 30859 872699434 12_aclocal.m4 1.15) +(aclocal.m4 32901 873901913 12_aclocal.m4 1.18) (WWW/Library/Implementation/patchlevel.h 959 856833014 f/34_patchlevel 1.1) -(userdefs.h 56140 870708759 c/10_userdefs.h 1.1.2.1.1.1.1.1.1.1.2.1.1.1.1.1.1.3) +(userdefs.h 56784 873901913 c/10_userdefs.h 1.1.2.1.1.1.1.1.1.1.2.1.1.1.1.1.1.2.1.3) (TCPWARE.announce 1352 856833014 h/31_TCPWARE.an 1.1) -(WWW/Library/Implementation/HTMLDTD.c 63227 869808657 h/26_HTMLDTD.c 1.1.2.7) +(WWW/Library/Implementation/HTMLDTD.c 63231 874030712 h/26_HTMLDTD.c 1.1.2.8) (WWW/Library/Implementation/HTAssoc.c 1736 856833014 g/39_HTAssoc.c 1.1) (WWW/Library/sun4/Makefile 578 856833014 f/11_Makefile 1.1) (WWW/Library/vax_ultrix/Makefile 678 856833014 f/8_Makefile 1.1) (src/LYUpload.h 300 856833014 c/49_LYUpload.h 1.1) (lynx_help/keystroke_commands/edit_help.html 1409 856833014 e/17_edit_help. 1.1) -(src/LYLeaks.c 14715 868401363 c/31_LYLeaks.c 1.1.1.2) -(src/LYMainLoop.c 147956 871707027 d/43_LYMainLoop 1.2.4.2.2.1.2.6.1.2.1.1.1.1.1.1.1.1.1.1.1.3.1.1.1.2) +(src/LYLeaks.c 14710 873383193 c/31_LYLeaks.c 1.1.1.4) +(src/LYMainLoop.c 147911 873831756 d/43_LYMainLoop 1.2.4.2.2.1.2.6.1.2.1.1.1.1.1.1.1.1.1.1.1.3.1.1.1.5) (about_lynx/about_lynx-dev.html 2500 856833014 e/42_about_lynx 1.1) (VMSPrint.com 616 856833014 h/30_VMSPrint.c 1.1) (WWW/Library/netbsd/Makefile 613 856833014 f/0_Makefile 1.1) -(WWW/Library/Implementation/UCAux.h 1029 868451907 f/0_UCAux.h 1.1) -(WWW/Library/Implementation/HTMLDTD.h 28444 869211854 g/27_HTMLDTD.h 1.1.2.5) +(WWW/Library/Implementation/UCAux.h 1084 873651850 f/0_UCAux.h 1.2) +(WWW/Library/Implementation/HTMLDTD.h 28558 873828926 g/27_HTMLDTD.h 1.1.2.6) (WWW/Library/Implementation/HTAssoc.h 1096 856833014 f/45_HTAssoc.h 1.1) -(src/Makefile 2396 871141740 d/29_Makefile 1.2.2.6) +(src/Makefile 2466 873651850 d/29_Makefile 1.1.4.1.2.4) (WWW/Library/Implementation/HTAAUtil.c 15696 856833014 g/47_HTAAUtil.c 1.1) (lynx.man 14570 870708759 e/30_lynx.man 1.5.2.6.1.2) (WWW/Library/osf/Makefile 388 856833014 f/7_Makefile 1.1) @@ -220,63 +221,63 @@ (samples/lynx.com 2192 856833014 e/10_lynx.com 1.1) (src/chrtrans/README.format 3551 860516309 i/5_README.for 1.2) (src/HTFont.h 438 871016304 d/0_HTFont.h 1.2) -(src/LYStrings.c 35922 869443761 d/36_LYStrings. 1.1.3.3.2.7) +(src/LYStrings.c 35932 873651850 d/36_LYStrings. 1.1.3.3.2.8) (src/LYCharSets.c 110574 868567209 c/45_LYCharSets 1.1.1.1.1.2) (WWW/Library/Implementation/Makefile 15116 856833014 f/40_Makefile 1.1) (WWW/Library/Implementation/HTDOS.c 1855 860588360 28_HTDOS.C 1.1) (utils/inews/README.NN 3051 856833014 c/6_README.NN 1.1) -(src/LYShowInfo.c 10851 871141740 d/37_LYShowInfo 1.1.2.1.5.1.1.1.2.2) +(src/LYShowInfo.c 10826 873383193 d/37_LYShowInfo 1.1.2.1.5.1.1.1.2.4) (src/chrtrans/iso01_uni.tbl 5204 860516309 i/18_iso01_uni. 1.2) (WWW/Library/Implementation/HTAAUtil.h 12046 856833014 g/2_HTAAUtil.h 1.1) (src/LYEdit.c 4287 868567209 d/50_LYEdit.c 1.1.2.1.1.2) (utils/inews/clientlib.c 11163 856833014 c/5_clientlib. 1.1) -(src/HTML.c 214981 871707027 e/2_HTML.c 1.1.4.1.1.1.1.2.1.4.1.2.1.3.1.2.1.2.2.2.1.2) +(src/HTML.c 217154 873831756 e/2_HTML.c 1.1.4.1.1.1.1.2.1.4.1.2.1.3.1.2.1.2.2.2.1.4) (lynx_help/keystroke_commands/movement_help.html 1795 856833014 e/24_movement_h 1.1) -(src/LYStrings.h 4977 869443761 d/20_LYStrings. 1.1.1.4) +(src/LYStrings.h 4977 873651850 d/20_LYStrings. 1.1.1.5) (WWW/Library/sun3/Makefile 636 856833014 f/12_Makefile 1.1) (src/LYCharSets.h 1071 856856948 c/44_LYCharSets 1.2) (WWW/Library/Implementation/HTDOS.h 771 860588360 27_HTDOS.H 1.1) (CHANGES 58482 860264978 h/47_CHANGES 1.2) (WWW/Library/Implementation/HTWAIS.c 29769 862857695 h/22_HTWAIS.c 1.1.1.1) (install.sh 4771 858077955 9_install.sh 1.1) -(WWW/Library/Implementation/SGML.c 73893 869808657 h/12_SGML.c 1.1.1.1.1.1.2.4.1.4) +(WWW/Library/Implementation/SGML.c 75309 874030712 h/12_SGML.c 1.1.1.1.1.1.2.4.1.7) (WWW/Library/Implementation/HTRules.c 11040 856833014 h/1_HTRules.c 1.1) (src/LYShowInfo.h 316 856833014 c/39_LYShowInfo 1.1) (src/LYEdit.h 134 856833014 d/16_LYEdit.h 1.1) (utils/inews/clientlib.h 230 856833014 c/4_clientlib. 1.1) -(src/HTML.h 5904 871707027 c/48_HTML.h 1.1.2.2.2.1.1.1.1.4) +(src/HTML.h 6067 873828926 c/48_HTML.h 1.1.2.2.2.1.1.1.1.5) (src/LYStyle.c 9090 864519259 36_LYStyle.c 1.6) -(newfiles.chartrans 1286 860620937 b/0_newfiles.chartrans 1.4) +(newfiles.chartrans 1399 873651850 b/0_newfiles.chartrans 1.5) (WWW/Library/Implementation/HTParse.c 20852 860064663 h/18_HTParse.c 1.3) -(src/HTFWriter.c 35154 872229662 d/2_HTFWriter. 1.1.3.1.3.1.1.1.1.1.3.1.1.5) +(src/HTFWriter.c 35073 873831756 d/2_HTFWriter. 1.1.3.1.3.1.1.1.1.1.3.1.1.8) (WWW/Library/Implementation/HTWAIS.h 1554 856833014 g/4_HTWAIS.h 1.1) (WWW/Library/unix_x/Makefile 15482 856833014 f/1_Makefile 1.1) (WWW/Library/Implementation/SGML.h 8815 868567209 g/29_SGML.h 1.1.2.2) (WWW/Library/Implementation/HTRules.h 4105 856833014 g/14_HTRules.h 1.1) -(lynx.cfg 77298 871141740 e/32_lynx.cfg 1.2.1.2.1.1.2.1.1.2.1.3.1.3) -(src/HTInit.c 30874 872229662 e/3_HTInit.c 1.1.4.1.3.3) +(lynx.cfg 77771 873831756 e/32_lynx.cfg 1.2.1.2.1.1.2.1.1.2.1.3.1.5) +(src/HTInit.c 31186 873828926 e/3_HTInit.c 1.1.4.1.3.1.1.4) (WWW/Library/snake/Makefile 649 856833014 f/13_Makefile 1.1) (src/LYStyle.h 676 864519259 b/5_LYStyle.h 1.2) -(WWW/Library/Implementation/UCDefs.h 2648 868451907 e/0_UCDefs.h 1.1) +(WWW/Library/Implementation/UCDefs.h 2687 873651850 e/0_UCDefs.h 1.2) (test/tabtest.html 1412 856833014 c/11_tabtest.ht 1.1) (SOCKETSHR.announce 1704 856833014 h/32_SOCKETSHR. 1.1) (WWW/Library/Implementation/HTParse.h 4930 856833014 g/36_HTParse.h 1.1) -(src/chrtrans/build-chrtrans.com 3573 871141740 b/22_build-chrt 1.2.1.1) +(src/chrtrans/build-chrtrans.com 3791 873651850 b/22_build-chrt 1.5) (WWW/Library/Implementation/HTInit.c 9452 856833014 g/51_HTInit.c 1.1) (WWW/Library/Implementation/HTAAServ.c 18320 856833014 g/46_HTAAServ.c 1.1) (lynx_help/keystroke_commands/print_help.html 1235 856833014 e/21_print_help 1.1) (src/LYStructs.h 3277 868401363 d/26_LYStructs. 1.1.3.4) (utils/lpansi/lpansi.1 3039 856833014 b/47_lpansi.1 1.1) -(WWW/Library/Implementation/HTMIME.c 63827 871141740 g/50_HTMIME.c 1.1.2.2.1.1.1.1.1.2) +(WWW/Library/Implementation/HTMIME.c 63875 873831756 g/50_HTMIME.c 1.1.2.2.1.1.1.1.1.4) (WWW/Library/Implementation/HTVMS_WaisProt.c 70622 856833014 f/32_HTVMS_Wais 1.1) (src/cmu_tcp.opt 34 856833014 d/14_cmu_tcp.op 1.1) (WWW/Library/ptx/Makefile 626 856833014 e/51_Makefile 1.1) -(src/chrtrans/makefile.in 2562 872001662 18_makefile.i 1.6) +(src/chrtrans/makefile.in 2886 873651850 18_makefile.i 1.7) (WWW/Library/Implementation/HTAuth.c 5776 856833014 h/28_HTAuth.c 1.1) (lynx.hlp 14941 870708759 e/31_lynx.hlp 1.10.1.2) (src/HTSaveToFile.h 554 856833014 c/50_HTSaveToFi 1.1) -(src/LYCurses.c 39770 871707027 d/51_LYCurses.c 1.1.5.1.1.1.1.1.1.6) -(WWW/Library/Implementation/HTInit.h 613 856833014 g/12_HTInit.h 1.1) +(src/LYCurses.c 39958 874030712 d/51_LYCurses.c 1.1.5.1.1.1.1.1.1.8) +(WWW/Library/Implementation/HTInit.h 657 873828926 g/12_HTInit.h 1.2) (WWW/Library/Implementation/HTAAServ.h 4950 856833014 g/1_HTAAServ.h 1.1) (WWW/Library/mips/Makefile 663 856833014 f/3_Makefile 1.1) (test/iso8859-1.html 12169 856833014 c/12_iso8859-1. 1.1) @@ -290,9 +291,9 @@ (WWW/Library/Implementation/LYLeaks.h 4165 856833014 f/29_LYLeaks.h 1.1) (WWW/Library/Implementation/HTVMS_WaisProt.h 13173 856833014 f/28_HTVMS_Wais 1.1) (WWW/Library/Implementation/HTAuth.h 1791 856833014 f/47_HTAuth.h 1.1) -(src/chrtrans/utf8_uni.tbl 936 856856948 i/7_utf8_uni.t 1.1) +(src/chrtrans/utf8_uni.tbl 928 873651850 i/7_utf8_uni.t 1.2) (WWW/Library/Implementation/HTTCP.c 30059 871707027 h/13_HTTCP.c 1.2.3.1.1.1.1.1.1.2) -(src/LYCurses.h 9975 872699434 d/22_LYCurses.h 1.1.4.1.1.1.1.8) +(src/LYCurses.h 9728 873901913 d/22_LYCurses.h 1.1.4.1.1.1.1.10) (descrip.mms 3765 868451907 e/37_descrip.mm 1.2) (WWW/Library/Implementation/HTTP.h 672 869443761 g/34_HTTP.h 1.2) (test/TestComment.html 2032 856833014 c/13_TestCommen 1.1) @@ -306,17 +307,17 @@ (src/win_tcp.opt 36 856833014 c/33_win_tcp.op 1.1) (config.guess 20446 862326975 31_config.gue 1.2) (src/LYHash.c 981 868224571 35_LYHash.c 1.3) -(config.hin 4086 872699434 11_config.hin 1.12) +(config.hin 4240 873901913 11_config.hin 1.14) (FM.announce 3655 856833014 h/40_FM.announc 1.1) (src/chrtrans/cp1251_uni.tbl 6144 871141740 b/0_cp1251_uni 1.2) (src/LYHash.h 791 868224571 34_LYHash.h 1.4) -(WWW/Library/Implementation/HTPlain.c 15473 868567209 h/11_HTPlain.c 1.1.2.2) +(WWW/Library/Implementation/HTPlain.c 15618 873651850 h/11_HTPlain.c 1.1.2.3) (WWW/Library/svr4/Makefile 590 856833014 f/5_Makefile 1.1) (src/LYGCurses.h 6123 856833014 c/32_LYGCurses. 1.1) (WWW/Library/Implementation/HTAlert.c 3066 868157008 h/2_HTAlert.c 1.2) (src/vaxc.opt 54 856833014 c/34_vaxc.opt 1.1) (src/chrtrans/MAKEFILE.W32 1857 857398594 4_MAKEFILE.W 1.1) -(configure 184689 872699434 13_configure 1.15) +(configure 190305 873901913 13_configure 1.18) (WWW/Library/Implementation/HTPlain.h 460 856833014 g/25_HTPlain.h 1.1) (WWW/Library/Implementation/HTLex.c 3090 856833014 g/38_HTLex.c 1.1) (utils/inews/Manifest 649 856833014 c/8_Manifest 1.1) @@ -330,19 +331,19 @@ (WWW/Library/Implementation/HTWriter.c 3883 856833014 h/21_HTWriter.c 1.1) (lynx_help/keystroke_commands/visited_help.html 1401 856833014 e/16_visited_he 1.1) (WWW/Library/Implementation/crypt_util.c 25993 856833014 f/37_crypt_util 1.1) -(src/LYLocal.c 58339 871777740 d/46_LYLocal.c 1.2.3.1.3.4) +(src/LYLocal.c 58294 873901913 d/46_LYLocal.c 1.2.3.1.3.8) (src/LYJump.h 553 860064663 c/29_LYJump.h 1.2) (WWW/Library/Implementation/HTWriter.h 632 856833014 g/24_HTWriter.h 1.1) -(CHANGES.configure 6799 872699434 15_CHANGES.co 1.1.1.9) -(INSTALLATION 18767 856833014 h/38_INSTALLATI 1.1) +(CHANGES.configure 8765 873901913 15_CHANGES.co 1.1.1.12) +(INSTALLATION 19916 873651850 h/38_INSTALLATI 1.2) (WWW/Library/Implementation/HTVMS_WaisUI.c 60814 856833014 f/27_HTVMS_Wais 1.1) (utils/inews/nntp.h 2530 856833014 c/1_nntp.h 1.1) (src/LYLocal.h 2561 856833014 c/37_LYLocal.h 1.1) (src/chrtrans/iso07_uni.tbl 1791 856925688 i/13_iso07_uni. 1.2) -(src/LYOptions.c 74594 871777740 d/41_LYOptions. 1.1.2.1.1.1.1.1.1.3.1.3) +(src/LYOptions.c 74505 873383193 d/41_LYOptions. 1.1.2.1.1.1.1.1.1.3.1.5) (WWW/Library/Implementation/HTNews.c 70815 871707027 h/25_HTNews.c 1.1.2.1.1.3) (WWW/Library/Implementation/HTVMS_WaisUI.h 21281 856833014 f/26_HTVMS_Wais 1.1) -(src/LYNews.c 11747 872229662 d/42_LYNews.c 1.2.4.1.1.1.2.2) +(src/LYNews.c 11698 873383193 d/42_LYNews.c 1.2.4.1.1.1.2.4) (WWW/Library/rs6000/Makefile 610 856833014 f/15_Makefile 1.1) (utils/lpansi/README 3202 856833014 b/48_README 1.1) (WWW/Library/Implementation/BSDI_Makefile 13904 859167360 f/31_BSDI_Makef 1.2) @@ -352,30 +353,30 @@ (src/LYOptions.h 1290 869904256 d/17_LYOptions. 1.1.2.5) (WWW/Library/Implementation/HTNews.h 1150 856833014 g/9_HTNews.h 1.1) (src/LYNews.h 240 869443761 c/42_LYNews.h 1.2) -(CHANGES.chartrans 8128 869904256 c/0_CHANGES.chartrans 1.9.1.4.1.1.1.1.1.4) -(src/UCdomap.c 46326 871141740 b/14_UCdomap.c 1.5) +(CHANGES.chartrans 8256 873651850 c/0_CHANGES.chartrans 1.9.1.4.1.1.1.1.1.5) +(src/UCdomap.c 46858 873651850 b/14_UCdomap.c 1.3.1.3) (WWW/Library/Implementation/HTACL.h 3535 856833014 f/48_HTACL.h 1.1) (IBMPC-charsets.announce 7674 856833014 h/39_IBMPC-char 1.1) (WWW/Library/Implementation/HTFinger.c 11475 856833014 f/24_HTFinger.c 1.1) -(src/chrtrans/iso08_uni.tbl 1048 856856948 i/12_iso08_uni. 1.1) -(src/makefile.in 3300 872001662 17_makefile.i 1.10) +(src/chrtrans/iso08_uni.tbl 1667 873651850 b/32_iso08_uni. 1.3) +(src/makefile.in 3370 873651850 17_makefile.i 1.11) (src/UCdomap.h 1174 868567209 b/0_UCdomap.h 1.2) (src/chrtrans/cp437_uni.tbl 10794 860516309 i/9_cp437_uni. 1.2) (WWW/Library/Implementation/HTAABrow.c 36175 868266973 g/45_HTAABrow.c 1.2.1.2) (src/chrtrans/iso02_uni.tbl 2035 860516309 i/17_iso02_uni. 1.3) (WWW/Library/Implementation/HTFinger.h 476 856833014 f/23_HTFinger.h 1.1) -(src/LYBookmark.c 23019 869443761 e/1_LYBookmark 1.1.2.1.1.6) +(src/LYBookmark.c 23027 873383193 e/1_LYBookmark 1.1.2.1.1.8) (lynx_help/keystroke_commands/scrolling_help.html 2366 856833014 e/20_scrolling_ 1.1) (src/LYClean.c 3603 869443761 e/0_LYClean.c 1.1.4.1.1.4) (WWW/Library/Implementation/HTHistory.c 3973 856833014 g/49_HTHistory. 1.1) (WWW/Library/Implementation/HTAABrow.h 5323 868157008 g/0_HTAABrow.h 1.2) -(src/chrtrans/def7_uni.tbl 24891 864183229 25_def7_uni.t 1.2) +(src/chrtrans/def7_uni.tbl 25142 874030712 25_def7_uni.t 1.4) (src/LYBookmark.h 534 857148169 c/40_LYBookmark 1.2) (WWW/Library/Implementation/getline.c 1882 856833014 f/36_getline.c 1.1) (newfiles.configure 272 861154810 7_newfiles.c 1.4) (WWW/Library/Implementation/HTFWriter.c 7487 856833014 h/10_HTFWriter. 1.1) (src/LYEditmap.c 5899 856833014 c/23_LYEditmap. 1.1) -(src/LYForms.c 36945 871777740 d/49_LYForms.c 1.1.4.1.2.1.1.1.1.5) +(src/LYForms.c 36862 873383193 d/49_LYForms.c 1.1.4.1.2.1.1.1.1.7) (WWW/Library/Implementation/HTGopher.c 53261 860064663 g/48_HTGopher.c 1.3) (src/LYClean.h 390 869443761 d/24_LYClean.h 1.1.2.1) (WWW/Library/Implementation/HTGroup.c 18502 856833014 g/42_HTGroup.c 1.1) @@ -384,11 +385,11 @@ (src/multinet.opt 39 856833014 d/10_multinet.o 1.1) (utils/lpansi/Makefile 447 856833014 b/46_Makefile 1.1) (README.chartrans 8305 863760678 d/0_README.chartrans 1.6) -(WWW/Library/Implementation/tcp.h 16630 870050175 h/19_tcp.h 1.8) +(WWW/Library/Implementation/tcp.h 16670 874030712 h/19_tcp.h 1.1.1.1.3.3) (WWW/Library/Implementation/HTFWriter.h 998 856833014 g/23_HTFWriter. 1.1) (src/LYexit.c 3615 869552380 d/4_LYexit.c 1.6) -(src/LYMail.c 30772 870708759 d/45_LYMail.c 1.1.1.1.1.1.3.1.1.1.2.2) +(src/LYMail.c 30870 873831756 d/45_LYMail.c 1.1.1.1.1.1.3.1.1.1.2.5) (WWW/Library/solaris2/Makefile 655 856833014 f/6_Makefile 1.1) (WWW/Library/Implementation/HTGopher.h 562 856833014 g/8_HTGopher.h 1.1) -(samples/lynx.cfg 77193 871141740 e/12_lynx.cfg 1.2.1.2.1.1.2.1.1.1.1.1.1.3.1.3) +(samples/lynx.cfg 77665 873831756 e/12_lynx.cfg 1.2.1.2.1.1.2.1.1.1.1.1.1.3.1.5) (WWW/Library/duns/Makefile 15116 856833014 f/17_Makefile 1.1) diff --git a/CHANGES.chartrans b/CHANGES.chartrans index 005337e2..85b4e1cf 100644 --- a/CHANGES.chartrans +++ b/CHANGES.chartrans @@ -1,6 +1,10 @@ -$Id: CHANGES.chartrans,v 1.5 1997/07/28 00:39:05 tom Exp $ -$ProjectHeader: Lynx 2.7.1ac-0.43 Sun, 27 Jul 1997 18:36:15 -0600 dickey $ +$Id: CHANGES.chartrans,v 1.6 1997/09/07 17:04:10 tom Exp $ +$ProjectHeader: Lynx 2.7.1ac-0.64 Thu, 11 Sep 1997 20:18:32 -0600 kweide $ +1997-09-06 + Lynx 2.7.1ac-0.61 + Several new translation tables have been added or modified recently, + associated code changes. 1997-07-25 Lynx 2.7.1ac-0.42 * Map charsets of the form "ibmNNN<...>" to "cpNNN<...>" in UCdomap.c diff --git a/CHANGES.configure b/CHANGES.configure index 8ac9ad21..3ffe4102 100644 --- a/CHANGES.configure +++ b/CHANGES.configure @@ -1,3 +1,22 @@ +97-09-10 +-------- +* Modify CF_WITH_PATH to allow substitution of --libdir and other + configure options pathnames, e.g., for --with-cfg-file. - TD +* Include lynx_cfg.h in userdefs.h to resolve redefinition reported by + AC. - TD +* Remove Ultrix/sony_news -specific ifdef's for curses headers, + replace with configure-tests. - TD +* Remove AIX/NeXT/sony_news -specific ifdef's for wait vs waitpid, + replace with configure-tests. - TD +* Add/use CF_HELP_MESSAGE macro to visually break down the very long + help message into sections. - TD +* Move the development options to the beginning of the configure script, + to facilitate adjustment of compiler options (especially for Ultrix) + to reduce the number of spurious warnings from miscombining -g/-O + options. - TD +* Correct misplaced assignment to cf_cv_ncurses_header in configure.in, + which caused misconfigure against vendor curses, reported by Hynek Med + (Ultrix) and Roger Hill (HP-UX 10.x). - TD 97-09-04 -------- * Correct ifdef'ing for getbkgd function calls. - TD diff --git a/CHANGES.new b/CHANGES.new index ec4b64d7..8a18e4d9 100644 --- a/CHANGES.new +++ b/CHANGES.new @@ -10,7 +10,68 @@ README.configure), and miscellaneous other changes. Note that the 2.7 -> 2.7.1 changes (which are listed at the beginning of the current CHANGES file) are duplicated here. - KW] -97-09-06 +97-09-11 +* Tweaks in HTMLGen.c for display of spacial characters and line breaking + with -preparsed. - KW +* Got rid of use of underlining together with reverse for non-current + links for (n)curses if color is not used. - KW +* Small HTMLDTD.c changes for new parsing. - KW +* Change in SGML.c to always recognize SOFT HYPHEN when given as ­. - KW +97-09-10 +* Modify CF_WITH_PATH to allow substitution of --libdir and other + configure options pathnames, e.g., for --with-cfg-file. - TD +* Include lynx_cfg.h in userdefs.h to resolve redefinition reported by + AC. - TD +* Remove Ultrix/sony_news -specific ifdef's for curses headers, + replace with configure-tests. - TD +* Remove AIX/NeXT/sony_news -specific ifdef's for wait vs waitpid, + replace with configure-tests. - TD +* Add/use CF_HELP_MESSAGE macro to visually break down the very long + help message into sections. - TD +* Move the development options to the beginning of the configure script, + to facilitate adjustment of compiler options (especially for Ultrix) + to reduce the number of spurious warnings from miscombining -g/-O + options. - TD +* Correct misplaced assignment to cf_cv_ncurses_header in configure.in, + which caused misconfigure against vendor curses, reported by Hynek Med + (Ultrix) and Roger Hill (HP-UX 10.x). - TD +1997-09-09 +* Added arguments to the multinet_htons() and multinet_ntohs() declarations + in tcp.h. - FM +* Tweak of the this_MIMEcharset[] and this_LYNXcharset[] checks in + makeuctb.c. - FM +* Replaced the index() and bcopy() with strchr() and memcpy() in the + putenv() for NeXT in LYUtils.c. - FM +1997-09-08 +* Added a -preparsed flag, to be used with -source or with SOURCE view. + When invoked with this flag, show HTML text as it is output from the SGML + parsing stage, regenerated via HTMLGen.c functions, rather than the usual + more raw rendering (in SOURCE view) or the original byte stream (as with + the -source flag, possibly with BASE information prepended). Lynx will + attempt to wrap the text to screen width (or 80 cols for the -source flag), + but will not always succeed. Unrecognized tags and attributes as well as + comments are dropped, attributes reordered, missing end tags supplied, + abd other changes made, showing how Lynx internally treats the document's + structure. This is probably most useful for debugging (of either Lynx's + parsing or of HTML documents, although a real validator should be used for + the latter!). It can also be instructive to switch the DTD parsing mode + (with the ^V key) while viewing preparsed source. + Note that this doesn't work so well now with character translations and + entity expansion don't work well now, showing some of the same problems + which appear for rendered documents and dropping some characters. Making + those problems of parsing more directly visible was one of the motivations + for this flag. Also note that META tags which may contain charset info + are never interpreted when using -source (with or without the -preparsed + flag), but when interactively switching to SOURCE view, Lynx MAY remember + that charset info from the previous non-SOURCE full parsing (again this + applies with or without -preparsed); the INFO screen should always show + the assumption currently in effect. - KW +* Updated some HTMLGenerator functions to use line wrapping logic found in + newer libwww versions, and further mods in HTMLGen.c. - KW +* Tweaks to use of chartrans stages, should now better preserve charset + info from META tags even in compressed HTML files. - KW +* Fixed a problem with LYCheckForCSI which could lead to crashes. - KW +1997-09-06 * Modifications to allow the Lynx lynxcgi feature to process PATH_INFO in addition to QUERY_STRINGS in URLs. DOCUMENT_ROOT may be set by the user in lynx.cfg and is then passed as well. @@ -34,6 +95,13 @@ file) are duplicated here. - KW] before so that they are still regarded as part of the query or search string. If PATHINFO is present, unescaped '#' characters in it will still be rejected by exec_ok(). - KW +* added a bit of text about running ./configure to INSTALLATION file. + - David Combs <dkcombs@netcom.com> & KW +* Added a translation table for Vietnamese (VISCII), and associated code + changes. See the file viscii_uni.tbl. - KW +1997-09-05 +* Mods in LYGetFile.c to retain a fragment on redirection if the redirection + URL does not include a fragment. - FM 97-09-04 * Correct ifdef'ing for getbkgd function calls. - TD * Correct ifdef'ing for remaining inline chmod calls. - TD @@ -51,6 +119,25 @@ file) are duplicated here. - KW] * Don't cache configure options except where essential (e.g., the setting of 'screen'). - TD * Change some configure options to disable/enable for consistency. - TD +1997-09-03 +* Tweaks in HTML_put_string() and LYUnEscapeEntities() to deal with line- + breaks within attributes more consistently, and more independently of + which convention is used (CRLF, CR, or LF). - KW +* Tweaks to prevent a few compiler warnings. - KW +* Tweaks of the iso06_uni.tbl and iso08_uni.tbl files now compiled in. + Note that a replacement character or string to replace invalid or + unrecognized characters chan be defiend by mapping the Unicode value + U+FFFD, which is done here (for testing, and because these two charsets + have a lot of undefined code points). Also some mods in default 7-bit + table for some Hebrew characters and points. - KW +1997-09-02 +* Mods to include "ISO 8859-6 Arabic" and "ISO 8859-8 Hebrew" in the display + character set options (Note, though, that Lynx presently has no code to + deal overtly with non-Latin directionalities.). - DK & FM +1997-08-31 +* Mod of HTMIME.c to ignore any Content-Encoding header with a value of + "identity" (case insensitive). Shouldn't happen, but better safe than + sorry. - FM 1997-08-28 * Correct a quoting error in CF_RECHECK_FUNC macro. - TD 1997-08-27 @@ -60,6 +147,10 @@ file) are duplicated here. - KW] * Add-back test for -lm to support slang shared libraries. - TD * Modify test for disentangling ncurses library from mytinfo on FreeBSD to workaround linker limitation. - AC +1997-08-22 +* Fixed typo in LYReadCFG.c when checking for a NOVICE mode default. - JN + (Note that this and other lynx.cfg defaults which have 'o'ptions settings + are overridden when the 'o'ptions are saved to the RC file. - FM) 1997-08-21 * Tweak to LYHistory.c to better remember last position on page. - KW * Eliminated two more MIME types (application/html and text/x-sgml) from diff --git a/INSTALLATION b/INSTALLATION index 0f746567..a73294e3 100644 --- a/INSTALLATION +++ b/INSTALLATION @@ -31,6 +31,28 @@ UNIX & VMS Step 1c. (optional) On Unix you can define NOPORT in the top Makefile instead of changing HTFTP.c +UNIX Extra Step: !! CONFIGURATION !! + There now is a configure script which takes care of system-dependent + setting automatically. See the file README.configure for more details. + You may want to run "./configure --help" first to see what flags are + available. + + Run configure, eg "./configure", and + wait while it figures out what software is on your + computer, what type of computer and operating system + you have, etc, and then finally uses makefile.in + to produce the makefile that will get used when + you finally (later on) say "make". + + The rest of this file has not yet been updated for installation with + the configure script. The information in README.configure is newer + and should be consulted. In particular UNIX Steps 1f and 2 below should + not be necessary on most systems after "./configure" has been run + (running "make" is of course still required, but it does not reqire + specifying a system type). Other points mostly still apply. If you + need or want to make manual change in addition to the auto configuration, + note that "makefile" is now used instead of "Makefile". + UNIX Step 1d. (WAIS support is built into Lynx for VMS, skip to step 1e) Adding Direct WAIS support. Get the freeWAIS distribution from: diff --git a/LYMessages_en.h b/LYMessages_en.h index e1154122..a0d4e945 100644 --- a/LYMessages_en.h +++ b/LYMessages_en.h @@ -137,6 +137,8 @@ #define COMMENT_REQUEST_CANCELLED "Comment request cancelled!!!" #define INC_ORIG_MSG_PROMPT \ "Do you wish to include the original message? (y/n) " +#define INC_PREPARSED_MSG_PROMPT \ + "Do you wish to include the preparsed source? (y/n) " #define SPAWNING_EDITOR_FOR_MAIL \ "Spawning your selected editor to edit mail message" #define ERROR_SPAWNING_EDITOR \ @@ -437,6 +439,8 @@ #define HAVE_NEW_MAIL_MSG "*** You have new mail. ***" #define SAVE_REQUEST_CANCELLED "Save request cancelled!!!" #define MAIL_REQUEST_CANCELLED "Mail request cancelled!!!" +#define CONFIRM_MAIL_SOURCE_PREPARSED \ + "Viewing preparsed source. Are you sure you want to mail it? [y]" #define MAILING_FILE "Mailing file. Please wait..." #define MAIL_REQUEST_FAILED "ERROR - Unable to mail file" #define CONFIRM_LONG_SCREEN_PRINT \ @@ -1,15 +1,13 @@ ;; -*- Lisp -*- (Created-By-Prcs-Version 1 2 0) (Project-Description "PRCS Project for The Lynx browser") -(Project-Version Lynx 2.7.1ac-0 56) -(Parent-Version Lynx 2.7.1ac-0 55) +(Project-Version Lynx 2.7.1ac-0 64) +(Parent-Version Lynx 2.7.1ac-0 63) -(Version-Log "minor fixes to configure script that search for netlibs and ncurses/slang -libraries (test-build on Linux, SunOS, Solaris). -") +(Version-Log "­ recognition, HTMLDTD.c small mods, HTMLGen.c mods, no more underlining of non-current links") (New-Version-Log "") -(Checkin-Time "Wed, 27 Aug 1997 10:30:34 -0600") -(Checkin-Login dickey) +(Checkin-Time "Thu, 11 Sep 1997 20:18:32 -0600") +(Checkin-Login kweide) (Populate-Ignore ("\\.o$" "\\.a$" "~$" "^a.out$" "^core$" "\\.dvi$" "\\.aux$" "^\\..*_aux$" "\\.log" "\\.zip$" "^obsolete" "/obsolete" @@ -41,7 +39,7 @@ libraries (test-build on Linux, SunOS, Solaris). (utils/inews/README (Lynx/c/7_README 1.1 644)) (utils/inews/Manifest (Lynx/c/8_Manifest 1.1 644)) (utils/inews/Makefile (Lynx/c/9_Makefile 1.1.1.1 644) :no-keywords) - (userdefs.h (Lynx/c/10_userdefs.h 1.1.2.1.1.1.1.1.1.1.2.1.1.1.1.1.1.3 644)) + (userdefs.h (Lynx/c/10_userdefs.h 1.1.2.1.1.1.1.1.1.1.2.1.1.1.1.1.1.2.1.3 644)) (test/tabtest.html (Lynx/c/11_tabtest.ht 1.1 644)) (test/iso8859-1.html (Lynx/c/12_iso8859-1. 1.1 644)) (test/TestComment.html (Lynx/c/13_TestCommen 1.1 644)) @@ -49,20 +47,20 @@ libraries (test-build on Linux, SunOS, Solaris). (test/README.txt (Lynx/c/15_README.txt 1.1 644)) (src/LYVMSdef.h (Lynx/c/16_LYVMSdef.h 1.1 644)) (src/LYCookie.h (Lynx/c/17_LYCookie.h 1.2 644)) - (src/LYCookie.c (Lynx/c/18_LYCookie.c 1.2.1.6.1.1.1.3 644)) - (src/LYCharUtils.h (Lynx/c/19_LYCharUtil 1.1.2.3 644)) + (src/LYCookie.c (Lynx/c/18_LYCookie.c 1.2.1.6.1.1.1.1.1.3 644)) + (src/LYCharUtils.h (Lynx/c/19_LYCharUtil 1.1.2.4 644)) (src/LYMap.h (Lynx/c/20_LYMap.h 1.2 644)) (src/LYMap.c (Lynx/c/21_LYMap.c 1.1.2.1.1.2.1.2.1.2 644)) (src/LYEditmap.c (Lynx/c/23_LYEditmap. 1.1 644)) (src/LYTraversal.h (Lynx/c/24_LYTraversa 1.1 644)) - (src/LYTraversal.c (Lynx/c/25_LYTraversa 1.1.2.4 644)) + (src/LYTraversal.c (Lynx/c/25_LYTraversa 1.1.2.6 644)) (src/LYList.h (Lynx/c/26_LYList.h 1.2 644)) (src/LYCgi.h (Lynx/c/27_LYCgi.h 1.1 644)) - (src/LYCgi.c (Lynx/c/28_LYCgi.c 1.1.1.3 644)) + (src/LYCgi.c (Lynx/c/28_LYCgi.c 1.1.1.5 644)) (src/LYJump.h (Lynx/c/29_LYJump.h 1.2 644)) (src/HTNestedList.h (Lynx/c/30_HTNestedLi 1.1 644)) - (src/LYLeaks.c (Lynx/c/31_LYLeaks.c 1.1.1.2 644)) + (src/LYLeaks.c (Lynx/c/31_LYLeaks.c 1.1.1.4 644)) (src/LYGCurses.h (Lynx/c/32_LYGCurses. 1.1 644)) (src/win_tcp.opt (Lynx/c/33_win_tcp.op 1.1 644)) (src/vaxc.opt (Lynx/c/34_vaxc.opt 1.1 644)) @@ -78,15 +76,15 @@ libraries (test-build on Linux, SunOS, Solaris). (src/LYCharSets.h (Lynx/c/44_LYCharSets 1.2 644)) (src/LYCharSets.c (Lynx/c/45_LYCharSets 1.1.1.1.1.2 644)) (src/LYDownload.h (Lynx/c/46_LYDownload 1.1 644)) - (src/LYDownload.c (Lynx/c/47_LYDownload 1.1.4.1.1.3 644)) - (src/HTML.h (Lynx/c/48_HTML.h 1.1.2.2.2.1.1.1.1.4 644)) + (src/LYDownload.c (Lynx/c/47_LYDownload 1.1.4.1.1.5 644)) + (src/HTML.h (Lynx/c/48_HTML.h 1.1.2.2.2.1.1.1.1.5 644)) (src/LYUpload.h (Lynx/c/49_LYUpload.h 1.1 644)) (src/HTSaveToFile.h (Lynx/c/50_HTSaveToFi 1.1 644)) (src/DefaultStyle.c (Lynx/c/51_DefaultSty 1.1.2.2 644)) (src/HTFont.h (Lynx/d/0_HTFont.h 1.2 644)) (src/HTAlert.h (Lynx/d/1_HTAlert.h 1.2.1.2 644)) - (src/HTFWriter.c (Lynx/d/2_HTFWriter. 1.1.3.1.3.1.1.1.1.1.3.1.1.5 644)) - (src/LYList.c (Lynx/d/3_LYList.c 1.1.3.2.1.1.1.2 644)) + (src/HTFWriter.c (Lynx/d/2_HTFWriter. 1.1.3.1.3.1.1.1.1.1.3.1.1.8 644)) + (src/LYList.c (Lynx/d/3_LYList.c 1.1.3.2.1.1.1.4 644)) (src/LYexit.c (Lynx/d/4_LYexit.c 1.6 644)) (src/LYrcFile.h (Lynx/d/5_LYrcFile.h 1.1 644)) (src/tcpwareshr.opt (Lynx/d/6_tcpwareshr 1.1 644)) @@ -98,56 +96,56 @@ libraries (test-build on Linux, SunOS, Solaris). (src/gnuc.opt (Lynx/d/12_gnuc.opt 1.1 644)) (src/decc.opt (Lynx/d/13_decc.opt 1.1 644)) (src/cmu_tcp.opt (Lynx/d/14_cmu_tcp.op 1.1 644)) - (src/LYrcFile.c (Lynx/d/15_LYrcFile.c 1.1.3.6 644)) + (src/LYrcFile.c (Lynx/d/15_LYrcFile.c 1.1.3.8 644)) (src/LYEdit.h (Lynx/d/16_LYEdit.h 1.1 644)) (src/LYOptions.h (Lynx/d/17_LYOptions. 1.1.2.5 644)) (src/LYGetFile.h (Lynx/d/18_LYGetFile. 1.1.2.2.1.2 644)) (src/LYMainLoop.h (Lynx/d/19_LYMainLoop 1.2 644)) - (src/LYStrings.h (Lynx/d/20_LYStrings. 1.1.1.4 644)) - (src/LYHistory.c (Lynx/d/21_LYHistory. 1.1.2.1.4.1.1.1.1.4 644)) - (src/LYCurses.h (Lynx/d/22_LYCurses.h 1.1.4.1.1.1.1.8 644)) + (src/LYStrings.h (Lynx/d/20_LYStrings. 1.1.1.5 644)) + (src/LYHistory.c (Lynx/d/21_LYHistory. 1.1.2.1.4.1.1.1.1.6 644)) + (src/LYCurses.h (Lynx/d/22_LYCurses.h 1.1.4.1.1.1.1.10 644)) (src/LYSignal.h (Lynx/d/23_LYSignal.h 1.1 644)) (src/LYClean.h (Lynx/d/24_LYClean.h 1.1.2.1 644)) - (src/LYGlobalDefs.h (Lynx/d/25_LYGlobalDe 1.1.3.1.2.1.1.1.1.1.1.2.1.4 644)) + (src/LYGlobalDefs.h (Lynx/d/25_LYGlobalDe 1.1.3.1.2.1.1.1.1.1.1.2.1.6 644)) (src/LYStructs.h (Lynx/d/26_LYStructs. 1.1.3.4 644)) (src/LYSearch.h (Lynx/d/28_LYSearch.h 1.2 644)) - (src/Makefile (Lynx/d/29_Makefile 1.2.2.6 644)) + (src/Makefile (Lynx/d/29_Makefile 1.1.4.1.2.4 644)) (src/LYKeymap.h (Lynx/d/30_LYKeymap.h 1.1.2.5 644)) (src/LYKeymap.c (Lynx/d/31_LYKeymap.c 1.1.2.6.1.1 644)) (src/HTForms.h (Lynx/d/32_HTForms.h 1.2 644)) (src/GridText.h (Lynx/d/33_GridText.h 1.1.1.1.1.3.1.1.1.1.1.1.1.2 644)) - (src/LYUtils.h (Lynx/d/34_LYUtils.h 1.1.2.3 644)) - (src/LYUpload.c (Lynx/d/35_LYUpload.c 1.1.4.1.3.1.1.1.1.3 644)) - (src/LYStrings.c (Lynx/d/36_LYStrings. 1.1.3.3.2.7 644)) - (src/LYShowInfo.c (Lynx/d/37_LYShowInfo 1.1.2.1.5.1.1.1.2.2 644)) + (src/LYUtils.h (Lynx/d/34_LYUtils.h 1.1.2.4 644)) + (src/LYUpload.c (Lynx/d/35_LYUpload.c 1.1.4.1.3.1.1.1.1.5 644)) + (src/LYStrings.c (Lynx/d/36_LYStrings. 1.1.3.3.2.8 644)) + (src/LYShowInfo.c (Lynx/d/37_LYShowInfo 1.1.2.1.5.1.1.1.2.4 644)) (src/LYSearch.c (Lynx/d/38_LYSearch.c 1.2.2.5 644)) - (src/LYReadCFG.c (Lynx/d/39_LYReadCFG. 1.1.1.1.3.2.3.1.1.2.1.5 644)) - (src/LYPrint.c (Lynx/d/40_LYPrint.c 1.1.1.1.1.1.1.1.1.1.1.3 644)) - (src/LYOptions.c (Lynx/d/41_LYOptions. 1.1.2.1.1.1.1.1.1.3.1.3 644)) - (src/LYNews.c (Lynx/d/42_LYNews.c 1.2.4.1.1.1.2.2 644)) - (src/LYMainLoop.c (Lynx/d/43_LYMainLoop 1.2.4.2.2.1.2.6.1.2.1.1.1.1.1.1.1.1.1.1.1.3.1.1.1.2 644)) - (src/LYMain.c (Lynx/d/44_LYMain.c 1.1.2.1.1.1.1.1.1.2.2.1.1.1.1.1.1.1.1.1.1.1.1.3.1.2 644)) - (src/LYMail.c (Lynx/d/45_LYMail.c 1.1.1.1.1.1.3.1.1.1.2.2 644)) - (src/LYLocal.c (Lynx/d/46_LYLocal.c 1.2.3.1.3.4 644)) + (src/LYReadCFG.c (Lynx/d/39_LYReadCFG. 1.1.1.1.3.2.3.1.1.2.1.7 644)) + (src/LYPrint.c (Lynx/d/40_LYPrint.c 1.1.1.1.1.1.1.1.1.1.1.6 644)) + (src/LYOptions.c (Lynx/d/41_LYOptions. 1.1.2.1.1.1.1.1.1.3.1.5 644)) + (src/LYNews.c (Lynx/d/42_LYNews.c 1.2.4.1.1.1.2.4 644)) + (src/LYMainLoop.c (Lynx/d/43_LYMainLoop 1.2.4.2.2.1.2.6.1.2.1.1.1.1.1.1.1.1.1.1.1.3.1.1.1.5 644)) + (src/LYMain.c (Lynx/d/44_LYMain.c 1.1.2.1.1.1.1.1.1.2.2.1.1.1.1.1.1.1.1.1.1.1.1.3.1.6 644)) + (src/LYMail.c (Lynx/d/45_LYMail.c 1.1.1.1.1.1.3.1.1.1.2.5 644)) + (src/LYLocal.c (Lynx/d/46_LYLocal.c 1.2.3.1.3.8 644)) (src/LYJump.c (Lynx/d/47_LYJump.c 1.3 644)) - (src/LYGetFile.c (Lynx/d/48_LYGetFile. 1.5.2.3.2.1.1.1.1.1.1.1.1.1.1.3 644)) - (src/LYForms.c (Lynx/d/49_LYForms.c 1.1.4.1.2.1.1.1.1.5 644)) + (src/LYGetFile.c (Lynx/d/48_LYGetFile. 1.5.2.3.2.1.1.1.1.1.1.1.1.1.1.2.1.2 644)) + (src/LYForms.c (Lynx/d/49_LYForms.c 1.1.4.1.2.1.1.1.1.7 644)) (src/LYEdit.c (Lynx/d/50_LYEdit.c 1.1.2.1.1.2 644)) (src/LYClean.c (Lynx/e/0_LYClean.c 1.1.4.1.1.4 644)) - (src/LYBookmark.c (Lynx/e/1_LYBookmark 1.1.2.1.1.6 644)) - (src/HTML.c (Lynx/e/2_HTML.c 1.1.4.1.1.1.1.2.1.4.1.2.1.3.1.2.1.2.2.2.1.2 644)) - (src/HTInit.c (Lynx/e/3_HTInit.c 1.1.4.1.3.3 644)) + (src/LYBookmark.c (Lynx/e/1_LYBookmark 1.1.2.1.1.8 644)) + (src/HTML.c (Lynx/e/2_HTML.c 1.1.4.1.1.1.1.2.1.4.1.2.1.3.1.2.1.2.2.2.1.4 644)) + (src/HTInit.c (Lynx/e/3_HTInit.c 1.1.4.1.3.1.1.4 644)) (src/HTAlert.c (Lynx/e/4_HTAlert.c 1.1.2.1.1.2 644)) - (src/GridText.c (Lynx/e/5_GridText.c 1.1.3.1.1.1.1.1.1.2.2.2.1.2.1.2.1.1.1.1.1.1.1.1.1.3.1.3 644)) + (src/GridText.c (Lynx/e/5_GridText.c 1.1.3.1.1.1.1.1.1.2.2.2.1.2.1.2.1.1.1.1.1.1.1.1.1.3.1.4 644)) (src/descrip.mms (Lynx/e/6_descrip.mm 1.2 644)) (samples/jumpsVMS.html (Lynx/e/7_jumpsVMS.h 1.1 644)) (samples/jumpsUnix.html (Lynx/e/8_jumpsUnix. 1.1 644)) (samples/mime.types (Lynx/e/9_mime.types 1.1 644)) (samples/lynx.com (Lynx/e/10_lynx.com 1.1 644)) (samples/mailcap (Lynx/e/11_mailcap 1.2 644)) - (samples/lynx.cfg (Lynx/e/12_lynx.cfg 1.2.1.2.1.1.2.1.1.1.1.1.1.3.1.3 644)) + (samples/lynx.cfg (Lynx/e/12_lynx.cfg 1.2.1.2.1.1.2.1.1.1.1.1.1.3.1.5 644)) (lynx_help/lynx_url_support.html (Lynx/e/13_lynx_url_s 1.2 644)) (lynx_help/Lynx_users_guide.html (Lynx/e/14_Lynx_users 1.8.1.1.1.1.1.1.1.2.1.2 644)) (lynx_help/keystroke_commands/cookie_help.html (Lynx/e/15_cookie_hel 1.1 644)) @@ -167,7 +165,7 @@ libraries (test-build on Linux, SunOS, Solaris). (lynx_help/lynx_help_main.html (Lynx/e/29_lynx_help_ 1.4 644)) (lynx.man (Lynx/e/30_lynx.man 1.5.2.6.1.2 644)) (lynx.hlp (Lynx/e/31_lynx.hlp 1.10.1.2 644)) - (lynx.cfg (Lynx/e/32_lynx.cfg 1.2.1.2.1.1.2.1.1.2.1.3.1.3 644)) + (lynx.cfg (Lynx/e/32_lynx.cfg 1.2.1.2.1.1.2.1.1.2.1.3.1.5 644)) (fixed512.com (Lynx/e/33_fixed512.c 1.1 644)) (docs/RFC-MAILCAP.txt (Lynx/e/34_RFC-MAILCA 1.1 644)) (docs/README.txt (Lynx/e/35_README.txt 1.1 644)) @@ -228,7 +226,7 @@ libraries (test-build on Linux, SunOS, Solaris). (WWW/Library/Implementation/crypt.c (Lynx/f/38_crypt.c 1.1 644)) (WWW/Library/Implementation/HTVMSUtils.h (Lynx/f/39_HTVMSUtils 1.1 644)) (WWW/Library/Implementation/Makefile (Lynx/f/40_Makefile 1.1 644)) - (WWW/Library/Implementation/CommonMakefile (Lynx/f/41_CommonMake 1.3 644)) + (WWW/Library/Implementation/CommonMakefile (Lynx/f/41_CommonMake 1.4 644)) (WWW/Library/Implementation/Version.make (Lynx/f/42_Version.ma 1.1 644)) (WWW/Library/Implementation/HTUU.h (Lynx/f/43_HTUU.h 1.1 644)) (WWW/Library/Implementation/HTLex.h (Lynx/f/44_HTLex.h 1.1 644)) @@ -251,7 +249,7 @@ libraries (test-build on Linux, SunOS, Solaris). (WWW/Library/Implementation/HTNews.h (Lynx/g/9_HTNews.h 1.1 644)) (WWW/Library/Implementation/HTHistory.h (Lynx/g/10_HTHistory. 1.1 644)) (WWW/Library/Implementation/HTMIME.h (Lynx/g/11_HTMIME.h 1.2 644)) - (WWW/Library/Implementation/HTInit.h (Lynx/g/12_HTInit.h 1.1 644)) + (WWW/Library/Implementation/HTInit.h (Lynx/g/12_HTInit.h 1.2 644)) (WWW/Library/Implementation/HTFormat.h (Lynx/g/13_HTFormat.h 1.3 644)) (WWW/Library/Implementation/HTRules.h (Lynx/g/14_HTRules.h 1.1 644)) (WWW/Library/Implementation/HTAlert.h (Lynx/g/15_HTAlert.h 1.3 644)) @@ -266,7 +264,7 @@ libraries (test-build on Linux, SunOS, Solaris). (WWW/Library/Implementation/HTWriter.h (Lynx/g/24_HTWriter.h 1.1 644)) (WWW/Library/Implementation/HTPlain.h (Lynx/g/25_HTPlain.h 1.1 644)) (WWW/Library/Implementation/HTChunk.h (Lynx/g/26_HTChunk.h 1.1 644)) - (WWW/Library/Implementation/HTMLDTD.h (Lynx/g/27_HTMLDTD.h 1.1.2.5 644)) + (WWW/Library/Implementation/HTMLDTD.h (Lynx/g/27_HTMLDTD.h 1.1.2.6 644)) (WWW/Library/Implementation/HTML.h (Lynx/g/28_HTML.h 1.1.2.2.1.1.1.1.1.1.1.3 644)) (WWW/Library/Implementation/SGML.h (Lynx/g/29_SGML.h 1.1.2.2 644)) (WWW/Library/Implementation/HTTCP.h (Lynx/g/30_HTTCP.h 1.3 644)) @@ -289,7 +287,7 @@ libraries (test-build on Linux, SunOS, Solaris). (WWW/Library/Implementation/HTAAUtil.c (Lynx/g/47_HTAAUtil.c 1.1 644)) (WWW/Library/Implementation/HTGopher.c (Lynx/g/48_HTGopher.c 1.3 644)) (WWW/Library/Implementation/HTHistory.c (Lynx/g/49_HTHistory. 1.1 644)) - (WWW/Library/Implementation/HTMIME.c (Lynx/g/50_HTMIME.c 1.1.2.2.1.1.1.1.1.2 644)) + (WWW/Library/Implementation/HTMIME.c (Lynx/g/50_HTMIME.c 1.1.2.2.1.1.1.1.1.4 644)) (WWW/Library/Implementation/HTInit.c (Lynx/g/51_HTInit.c 1.1 644)) (WWW/Library/Implementation/HTFormat.c (Lynx/h/0_HTFormat.c 1.1.1.3 644)) (WWW/Library/Implementation/HTRules.c (Lynx/h/1_HTRules.c 1.1 644)) @@ -297,28 +295,28 @@ libraries (test-build on Linux, SunOS, Solaris). (WWW/Library/Implementation/HTString.c (Lynx/h/3_HTString.c 1.1 644)) (WWW/Library/Implementation/HTList.c (Lynx/h/4_HTList.c 1.1 644)) (WWW/Library/Implementation/HTStyle.c (Lynx/h/5_HTStyle.c 1.3 644)) - (WWW/Library/Implementation/HTAnchor.c (Lynx/h/6_HTAnchor.c 1.1.4.2.1.2 644)) + (WWW/Library/Implementation/HTAnchor.c (Lynx/h/6_HTAnchor.c 1.1.4.2.1.4 644)) (WWW/Library/Implementation/HTAtom.c (Lynx/h/7_HTAtom.c 1.1.2.1 644)) (WWW/Library/Implementation/HTChunk.c (Lynx/h/8_HTChunk.c 1.1 644)) - (WWW/Library/Implementation/HTMLGen.c (Lynx/h/9_HTMLGen.c 1.1.2.2 644)) + (WWW/Library/Implementation/HTMLGen.c (Lynx/h/9_HTMLGen.c 1.1.2.4 644)) (WWW/Library/Implementation/HTFWriter.c (Lynx/h/10_HTFWriter. 1.1 644)) - (WWW/Library/Implementation/HTPlain.c (Lynx/h/11_HTPlain.c 1.1.2.2 644)) - (WWW/Library/Implementation/SGML.c (Lynx/h/12_SGML.c 1.1.1.1.1.1.2.4.1.4 644)) + (WWW/Library/Implementation/HTPlain.c (Lynx/h/11_HTPlain.c 1.1.2.3 644)) + (WWW/Library/Implementation/SGML.c (Lynx/h/12_SGML.c 1.1.1.1.1.1.2.4.1.7 644)) (WWW/Library/Implementation/HTTCP.c (Lynx/h/13_HTTCP.c 1.2.3.1.1.1.1.1.1.2 644)) (WWW/Library/Implementation/HTFTP.c (Lynx/h/14_HTFTP.c 1.6 644)) (WWW/Library/Implementation/HTBTree.c (Lynx/h/15_HTBTree.c 1.1 644)) (WWW/Library/Implementation/HTTP.c (Lynx/h/16_HTTP.c 1.1.1.1.1.1.1.1.1.2.1.1.1.5 644)) (WWW/Library/Implementation/HTAccess.c (Lynx/h/17_HTAccess.c 1.5.2.2 644)) (WWW/Library/Implementation/HTParse.c (Lynx/h/18_HTParse.c 1.3 644)) - (WWW/Library/Implementation/tcp.h (Lynx/h/19_tcp.h 1.8 644)) + (WWW/Library/Implementation/tcp.h (Lynx/h/19_tcp.h 1.1.1.1.3.3 644)) (WWW/Library/Implementation/HTWSRC.c (Lynx/h/20_HTWSRC.c 1.1.1.1 644)) (WWW/Library/Implementation/HTWriter.c (Lynx/h/21_HTWriter.c 1.1 644)) (WWW/Library/Implementation/HTWAIS.c (Lynx/h/22_HTWAIS.c 1.1.1.1 644)) (WWW/Library/Implementation/HTVMSUtils.c (Lynx/h/23_HTVMSUtils 1.2 644)) (WWW/Library/Implementation/HTTelnet.c (Lynx/h/24_HTTelnet.c 1.5 644)) (WWW/Library/Implementation/HTNews.c (Lynx/h/25_HTNews.c 1.1.2.1.1.3 644)) - (WWW/Library/Implementation/HTMLDTD.c (Lynx/h/26_HTMLDTD.c 1.1.2.7 644)) - (WWW/Library/Implementation/HTFile.c (Lynx/h/27_HTFile.c 1.1.3.1.1.6 644)) + (WWW/Library/Implementation/HTMLDTD.c (Lynx/h/26_HTMLDTD.c 1.1.2.8 644)) + (WWW/Library/Implementation/HTFile.c (Lynx/h/27_HTFile.c 1.1.3.1.1.8 644)) (WWW/Library/Implementation/HTAuth.c (Lynx/h/28_HTAuth.c 1.1 644)) (VMSWAIS.announce (Lynx/h/29_VMSWAIS.an 1.1 644)) (VMSPrint.com (Lynx/h/30_VMSPrint.c 1.1 644)) @@ -328,8 +326,8 @@ libraries (test-build on Linux, SunOS, Solaris). (README (Lynx/h/34_README 1.1 644)) (PROBLEMS (Lynx/h/35_PROBLEMS 1.3 644)) (Makefile.old (Lynx/h/36_Makefile 1.1.1.1.1.1.1.2.3.1.3.4 644)) - (LYMessages_en.h (Lynx/h/37_LYMessages 1.4.1.4.1.2.1.1.1.1.1.1.3.1.1.1.1.3 644)) - (INSTALLATION (Lynx/h/38_INSTALLATI 1.1 644)) + (LYMessages_en.h (Lynx/h/37_LYMessages 1.4.1.4.1.2.1.1.1.1.1.1.3.1.1.1.1.4 644)) + (INSTALLATION (Lynx/h/38_INSTALLATI 1.2 644)) (IBMPC-charsets.announce (Lynx/h/39_IBMPC-char 1.1 644)) (FM.announce (Lynx/h/40_FM.announc 1.1 644)) (DESC (Lynx/h/41_DESC 1.1 644)) @@ -345,11 +343,11 @@ libraries (test-build on Linux, SunOS, Solaris). - (newfiles.chartrans (Lynx/b/0_newfiles.chartrans 1.4 644)) - (CHANGES.chartrans (Lynx/c/0_CHANGES.chartrans 1.9.1.4.1.1.1.1.1.4 644)) + (newfiles.chartrans (Lynx/b/0_newfiles.chartrans 1.5 644)) + (CHANGES.chartrans (Lynx/c/0_CHANGES.chartrans 1.9.1.4.1.1.1.1.1.5 644)) (README.chartrans (Lynx/d/0_README.chartrans 1.6 644)) (src/UCdomap.h (Lynx/b/0_UCdomap.h 1.2 644)) - (src/UCAux.c (Lynx/b/15_UCAux.c 1.3.1.1 644)) + (src/UCAux.c (Lynx/b/15_UCAux.c 1.3.1.2 644)) (src/UCAuto.h (Lynx/b/16_UCAuto.h 1.1 644)) (src/UCAuto.c (Lynx/b/17_UCAuto.c 1.1 644)) (src/chrtrans/cp1250_uni.tbl (Lynx/h/48_cp1250_uni 1.1 644)) @@ -357,54 +355,54 @@ libraries (test-build on Linux, SunOS, Solaris). (src/chrtrans/mnem_suni.tbl (Lynx/h/50_mnem_suni. 1.1 644)) (src/chrtrans/cp1252_uni.tbl (Lynx/h/51_cp1252_uni 1.1 644)) (src/chrtrans/rfc_suni.tbl (Lynx/i/0_rfc_suni.tbl 1.2 644)) - (src/chrtrans/makeuctb.c (Lynx/b/19_makeuctb.c 1.2 644)) + (src/chrtrans/makeuctb.c (Lynx/b/19_makeuctb.c 1.1.1.1 644)) (src/chrtrans/UCkd.h (Lynx/b/20_UCkd.h 1.1 644)) - (src/chrtrans/Makefile (Lynx/i/3_Makefile 1.9 644)) + (src/chrtrans/Makefile (Lynx/b/18_Makefile 1.5 644)) (src/chrtrans/README.tables (Lynx/b/23_README.tab 1.1 644)) (src/chrtrans/README.format (Lynx/i/5_README.for 1.2 644)) (src/chrtrans/cp852_uni.tbl (Lynx/i/6_cp852_uni. 1.2 644)) - (src/chrtrans/utf8_uni.tbl (Lynx/i/7_utf8_uni.t 1.1 644)) + (src/chrtrans/utf8_uni.tbl (Lynx/i/7_utf8_uni.t 1.2 644)) (src/chrtrans/iso05_uni.tbl (Lynx/i/8_iso05_uni. 1.2 644)) (src/chrtrans/cp437_uni.tbl (Lynx/i/9_cp437_uni. 1.2 644)) (src/chrtrans/iso10_uni.tbl (Lynx/i/10_iso10_uni. 1.2 644)) (src/chrtrans/iso09_uni.tbl (Lynx/i/11_iso09_uni. 1.2 644)) - (src/chrtrans/iso08_uni.tbl (Lynx/i/12_iso08_uni. 1.1 644)) + (src/chrtrans/iso08_uni.tbl (Lynx/b/32_iso08_uni. 1.3 644)) (src/chrtrans/iso07_uni.tbl (Lynx/i/13_iso07_uni. 1.2 644)) - (src/chrtrans/iso06_uni.tbl (Lynx/i/14_iso06_uni. 1.1 644)) + (src/chrtrans/iso06_uni.tbl (Lynx/b/34_iso06_uni. 1.3 644)) (src/chrtrans/iso04_uni.tbl (Lynx/i/15_iso04_uni. 1.2 644)) (src/chrtrans/iso03_uni.tbl (Lynx/i/16_iso03_uni. 1.2 644)) (src/chrtrans/iso02_uni.tbl (Lynx/i/17_iso02_uni. 1.3 644)) (src/chrtrans/iso01_uni.tbl (Lynx/i/18_iso01_uni. 1.2 644)) (src/chrtrans/cp850_uni.tbl (Lynx/i/19_cp850_uni. 1.2 644)) - (src/UCdomap.c (Lynx/b/14_UCdomap.c 1.5 644)) - (WWW/Library/Implementation/UCDefs.h (Lynx/e/0_UCDefs.h 1.1 644)) + (src/UCdomap.c (Lynx/b/14_UCdomap.c 1.3.1.3 644)) + (WWW/Library/Implementation/UCDefs.h (Lynx/e/0_UCDefs.h 1.2 644)) (WWW/Library/Implementation/UCMap.h (Lynx/i/22_UCMap.h 1.4 644)) - (WWW/Library/Implementation/UCAux.h (Lynx/f/0_UCAux.h 1.1 644)) + (WWW/Library/Implementation/UCAux.h (Lynx/f/0_UCAux.h 1.2 644)) (WWW/Library/djgpp/makefile (Lynx/0_makefile 1.6 644)) (src/makefile.dos (Lynx/1_makefile.d 1.7 644)) (README.win-386 (Lynx/2_386-WIN.TX 1.2 644)) ;; Files added by populate at Mon, 03 Mar 1997 04:38:33 -0600: - (src/chrtrans/MAKEW32.BAT (Lynx/3_MAKEW32.BA 1.4 644)) + (src/chrtrans/MAKEW32.BAT (Lynx/3_MAKEW32.BA 1.5 644)) (src/chrtrans/MAKEFILE.W32 (Lynx/4_MAKEFILE.W 1.1 644)) (MAKEFILE.W32 (Lynx/5_MAKEFILE.W 1.2 644)) ;; Files added by populate at Mon, 03 Mar 1997 06:05:56 -0600: - (CHANGES.new (Lynx/6_CHANGES.ne 1.18.1.4.1.1.2.1.1.2.2.2.1.2.1.1.1.1.1.4.2.7.1.3.1.4.1.18 644)) + (CHANGES.new (Lynx/6_CHANGES.ne 1.18.1.4.1.1.2.1.1.2.2.2.1.2.1.1.1.1.1.4.2.7.1.3.1.4.1.24 644)) ;; Files added by populate at Tue, 11 Mar 1997 04:22:39 -0600: (newfiles.configure (Lynx/7_newfiles.c 1.4 644)) (makefile.in (Lynx/8_makefile.i 1.1.1.12 644)) (install.sh (Lynx/9_install.sh 1.1 755)) - (configure.in (Lynx/10_configure. 1.12 644)) - (config.hin (Lynx/11_config.hin 1.12 644)) - (aclocal.m4 (Lynx/12_aclocal.m4 1.15 644)) - (configure (Lynx/13_configure 1.15 755)) - (README.configure (Lynx/14_README.con 1.6 644)) - (CHANGES.configure (Lynx/15_CHANGES.co 1.1.1.9 644)) + (configure.in (Lynx/10_configure. 1.14 644)) + (config.hin (Lynx/11_config.hin 1.14 644)) + (aclocal.m4 (Lynx/12_aclocal.m4 1.18 644)) + (configure (Lynx/13_configure 1.18 755)) + (README.configure (Lynx/14_README.con 1.7 644)) + (CHANGES.configure (Lynx/15_CHANGES.co 1.1.1.12 644)) ;; Files added by populate at Wed, 09 Apr 1997 06:18:01 -0600: @@ -414,11 +412,11 @@ libraries (test-build on Linux, SunOS, Solaris). (WWW/Library/unix/makefile.in (Lynx/16_makefile.i 1.5 644)) - (src/makefile.in (Lynx/17_makefile.i 1.10 644)) - (src/chrtrans/makefile.in (Lynx/18_makefile.i 1.6 644)) + (src/makefile.in (Lynx/17_makefile.i 1.11 644)) + (src/chrtrans/makefile.in (Lynx/18_makefile.i 1.7 644)) (src/chrtrans/koi8r_uni.tbl (Lynx/b/29_koi8r_uni. 1.2.1.1 644)) - (src/chrtrans/def7_uni.tbl (Lynx/25_def7_uni.t 1.2 644)) + (src/chrtrans/def7_uni.tbl (Lynx/25_def7_uni.t 1.4 644)) ;; Files added by populate at Thu, 24 Apr 1997 21:51:47 -0600: (src/LYExtern.h (Lynx/38_LYExtern.h 1.1.1.1 644)) @@ -438,15 +436,15 @@ libraries (test-build on Linux, SunOS, Solaris). (src/LYStyle.h (Lynx/b/5_LYStyle.h 1.2 644)) ;; Files added by populate at Tue, 08 Jul 1997 20:40:02 -0600: - (src/LYCurses.c (Lynx/d/51_LYCurses.c 1.1.5.1.1.1.1.1.1.6 644)) - (src/LYCharUtils.c (Lynx/c/22_LYCharUtil 1.2.1.1.2.1.2.2.1.2.1.1.1.2.1.1.1.1.1.1.2.3.1.4 644)) + (src/LYCurses.c (Lynx/d/51_LYCurses.c 1.1.5.1.1.1.1.1.1.8 644)) + (src/LYCharUtils.c (Lynx/c/22_LYCharUtil 1.2.1.1.2.1.2.2.1.2.1.1.1.2.1.1.1.1.1.1.2.3.1.6 644)) ;; Files added by populate at Wed, 09 Jul 1997 05:12:01 -0600: - (src/LYUtils.c (Lynx/d/27_LYUtils.c 1.1.4.1.2.2.1.1.1.1.1.1.1.1.4.2.1.3 644)) + (src/LYUtils.c (Lynx/d/27_LYUtils.c 1.1.4.1.2.2.1.1.1.1.1.1.1.1.4.2.1.1.1.3 644)) - (src/chrtrans/build-chrtrans.com (Lynx/b/22_build-chrt 1.2.1.1 644)) + (src/chrtrans/build-chrtrans.com (Lynx/b/22_build-chrt 1.5 644)) (src/chrtrans/build-header.com (Lynx/c/0_build-head 1.1 644)) (src/chrtrans/cp1251_uni.tbl (Lynx/b/0_cp1251_uni 1.2 644)) @@ -457,6 +455,18 @@ libraries (test-build on Linux, SunOS, Solaris). ;; Files added by populate at Sat, 09 Aug 1997 09:42:43 -0600: (src/chrtrans/cp866_uni.tbl (Lynx/c/0_cp866_uni. 1.1 644)) + +;; Files added by populate at Fri, 05 Sep 1997 17:30:43 -0600: + + (src/chrtrans/viscii_uni.tbl (Lynx/b/0_viscii_uni 1.1 644)) +) +(Merge-Parents + (2.7.1fm-0.52 incomplete + (src/LYUtils.c src/LYUtils.c src/LYUtils.c m) + ) + (2.7.1fm-0.52 complete + (src/LYGetFile.c src/LYGetFile.c src/LYGetFile.c n) (WWW/Library/Implementation/tcp.h WWW/Library/Implementation/tcp.h WWW/Library/Implementation/tcp.h m) + (() Makefile Makefile n) (() FOTEMODS FOTEMODS n) + (() 00README 00README n) (src/chrtrans/makeuctb.c src/chrtrans/makeuctb.c src/chrtrans/makeuctb.c m)) ) -(Merge-Parents) (New-Merge-Parents) diff --git a/WWW/Library/Implementation/CommonMakefile b/WWW/Library/Implementation/CommonMakefile index dea974b0..95a0c3a4 100644 --- a/WWW/Library/Implementation/CommonMakefile +++ b/WWW/Library/Implementation/CommonMakefile @@ -264,7 +264,7 @@ $(LOB)/HTRules.o : $(OE) $(CMN)HTRules.c $(CMN)HTUtils.h $(CMN)Version.make \ $(CMN)HTAAServ.h $(CMN)HTAAProt.h $(CC) -c -o $@ $(CFLAGS2) -DVC=\"$(VC)\" $(CMN)HTRules.c -$(LOB)/SGML.o : $(OE) $(CMN)SGML.c $(CMN)HTUtils.h +$(LOB)/SGML.o : $(OE) $(CMN)SGML.c $(CMN)HTUtils.h $(CMN)UCAux.h $(CC) -c -o $@ $(CFLAGS2) $(CMN)SGML.c $(LOB)/HTMLGen.o : $(OE) $(CMN)HTMLGen.c $(CMN)HTUtils.h $(CMN)HTMLDTD.h @@ -273,7 +273,7 @@ $(LOB)/HTMLGen.o : $(OE) $(CMN)HTMLGen.c $(CMN)HTUtils.h $(CMN)HTMLDTD.h $(LOB)/HTMLDTD.o : $(OE) $(CMN)HTMLDTD.c $(CMN)SGML.h $(CC) -c -o $@ $(CFLAGS2) $(CMN)HTMLDTD.c -$(LOB)/HTPlain.o : $(OE) $(CMN)HTPlain.c $(CMN)HTPlain.h $(CMN)HTStream.h +$(LOB)/HTPlain.o : $(OE) $(CMN)HTPlain.c $(CMN)HTPlain.h $(CMN)HTStream.h $(CMN)UCAux.h $(CC) -c -o $@ $(CFLAGS2) $(CMN)HTPlain.c $(LOB)/HTWAIS.o : $(OE) $(CMN)HTWAIS.c $(CMN)HTUtils.h $(CMN)HTList.h diff --git a/WWW/Library/Implementation/HTAnchor.c b/WWW/Library/Implementation/HTAnchor.c index 8c91f3fb..6db5f974 100644 --- a/WWW/Library/Implementation/HTAnchor.c +++ b/WWW/Library/Implementation/HTAnchor.c @@ -1313,8 +1313,8 @@ PUBLIC LYUCcharset * HTAnchor_copyUCInfoStage ARGS4( me->UCStages->s[to_stage].LYhndl = me->UCStages->s[from_stage].LYhndl; - memcpy(p_to, p_from, - sizeof(LYUCcharset)); + if (p_to != p_from) + memcpy(p_to, p_from, sizeof(LYUCcharset)); return p_to; } diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index 9e9a31a6..c9fdfe9b 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -865,7 +865,7 @@ PUBLIC HTFormat HTCharsetFormat ARGS3( UCT_STAGE_HTEXT, UCT_SETBY_DEFAULT); } - if (!(p_in->enc & UCT_ENC_CJK) && + if (p_in->enc != UCT_ENC_CJK && (p_in->codepoints & UCT_CP_SUBSETOF_LAT1)) { HTCJK = NOCJK; } else if (chndl == current_char_set) { diff --git a/WWW/Library/Implementation/HTInit.h b/WWW/Library/Implementation/HTInit.h index b11e7238..61c7d776 100644 --- a/WWW/Library/Implementation/HTInit.h +++ b/WWW/Library/Implementation/HTInit.h @@ -15,6 +15,7 @@ #endif /* HTUTILS_H */ extern void HTFormatInit NOPARAMS; +extern void HTPreparsedFormatInit NOPARAMS; extern void HTFileInit NOPARAMS; /* diff --git a/WWW/Library/Implementation/HTMIME.c b/WWW/Library/Implementation/HTMIME.c index 3b887b8c..129cc846 100644 --- a/WWW/Library/Implementation/HTMIME.c +++ b/WWW/Library/Implementation/HTMIME.c @@ -442,7 +442,7 @@ PRIVATE void HTMIME_put_character ARGS2( UCT_STAGE_MIME), UCT_STAGE_HTEXT, UCT_SETBY_DEFAULT); } - if (!(p_in->enc & UCT_ENC_CJK) && + if (p_in->enc != UCT_ENC_CJK && (p_in->codepoints & UCT_CP_SUBSETOF_LAT1)){ HTCJK = NOCJK; } else if (chndl == current_char_set) { @@ -1610,7 +1610,8 @@ PRIVATE void HTMIME_put_character ARGS2( fprintf(stderr, "HTMIME: PICKED UP Content-Encoding: '%s'\n", me->value); - if (!(me->value && *me->value)) + if (!(me->value && *me->value) || + !strcasecomp(me->value, "identity")) break; /* ** Convert to lowercase and indicate in anchor. - FM diff --git a/WWW/Library/Implementation/HTMLDTD.c b/WWW/Library/Implementation/HTMLDTD.c index 0466e8ba..7b5c0279 100644 --- a/WWW/Library/Implementation/HTMLDTD.c +++ b/WWW/Library/Implementation/HTMLDTD.c @@ -1659,7 +1659,7 @@ static HTTag tags_new[HTML_ELEMENTS] = { { "H4" , h_attr, HTML_H_ATTRIBUTES, SGML_MIXED,T_H4}, { "H5" , h_attr, HTML_H_ATTRIBUTES, SGML_MIXED,T_H5}, { "H6" , h_attr, HTML_H_ATTRIBUTES, SGML_MIXED,T_H6}, - { "HEAD" , gen_attr, HTML_GEN_ATTRIBUTES, SGML_MIXED,T_HEAD}, + { "HEAD" , gen_attr, HTML_GEN_ATTRIBUTES, SGML_ELEMENT,T_HEAD}, { "HR" , hr_attr, HTML_HR_ATTRIBUTES, SGML_EMPTY,T_HR}, { "HTML" , gen_attr, HTML_GEN_ATTRIBUTES, SGML_MIXED,T_HTML}, { "HY" , gen_attr, HTML_GEN_ATTRIBUTES, SGML_EMPTY,T_HY}, @@ -1677,7 +1677,7 @@ static HTTag tags_new[HTML_ELEMENTS] = { { "LI" , list_attr, HTML_LI_ATTRIBUTES, SGML_MIXED,T_LI}, { "LINK" , link_attr, HTML_LINK_ATTRIBUTES, SGML_EMPTY,T_LINK}, { "LISTING" , gen_attr, HTML_GEN_ATTRIBUTES, SGML_LITTERAL,T_LISTING}, - { "MAP" , map_attr, HTML_MAP_ATTRIBUTES, SGML_MIXED,T_MAP}, + { "MAP" , map_attr, HTML_MAP_ATTRIBUTES, SGML_ELEMENT,T_MAP}, { "MARQUEE" , gen_attr, HTML_GEN_ATTRIBUTES, SGML_MIXED,T_MARQUEE}, { "MATH" , math_attr, HTML_MATH_ATTRIBUTES, SGML_LITTERAL,T_MATH}, { "MENU" , ulist_attr, HTML_UL_ATTRIBUTES, SGML_MIXED,T_MENU}, diff --git a/WWW/Library/Implementation/HTMLDTD.h b/WWW/Library/Implementation/HTMLDTD.h index 8c273d0d..f1688ffc 100644 --- a/WWW/Library/Implementation/HTMLDTD.h +++ b/WWW/Library/Implementation/HTMLDTD.h @@ -9,6 +9,11 @@ Tant pis. */ + +#define HT_NON_BREAK_SPACE ((char)1) /* For now */ +#define HT_EM_SPACE ((char)2) +#define LY_SOFT_HYPHEN '\007' + #ifndef HTMLDTD_H #define HTMLDTD_H diff --git a/WWW/Library/Implementation/HTMLGen.c b/WWW/Library/Implementation/HTMLGen.c index 55679ef3..9a1efaf5 100644 --- a/WWW/Library/Implementation/HTMLGen.c +++ b/WWW/Library/Implementation/HTMLGen.c @@ -15,7 +15,8 @@ #include "HTUtils.h" #include "tcp.h" -#define BUFFER_SIZE 80 /* Line buffer attempts to make neat breaks */ +#define BUFFER_SIZE 200 /* Line buffer attempts to make neat breaks */ +#define MAX_CLEANNESS 20 /* Implements: */ @@ -50,16 +51,29 @@ struct _HTStructured { HTStreamClass targetClass; /* COPY for speed */ char buffer[BUFFER_SIZE+1]; /* 1for NL */ + int buffer_maxchars; char * write_pointer; - char * line_break; + char * line_break [MAX_CLEANNESS+1]; int cleanness; - BOOL delete_line_break_char; + BOOL overflowed; + BOOL delete_line_break_char[MAX_CLEANNESS+1]; BOOL preformatted; + BOOL escape_specials; + BOOL in_attrval; }; /* Flush Buffer ** ------------ */ + +PRIVATE void flush_breaks (HTStructured * me) +{ + int i; + for (i=0; i<= MAX_CLEANNESS; i++) { + me->line_break[i] = NULL; + } +} + PRIVATE void HTMLGen_flush ARGS1( HTStructured *, me) { @@ -67,9 +81,26 @@ PRIVATE void HTMLGen_flush ARGS1( me->buffer, me->write_pointer - me->buffer); me->write_pointer = me->buffer; - me->line_break = me->buffer; + flush_breaks(me); me->cleanness = 0; - me->delete_line_break_char = NO; + me->delete_line_break_char[0] = NO; +} + +/* Weighted optional line break +** +** We keep track of all the breaks for when we chop the line +*/ + +PRIVATE void allow_break (HTStructured * me, int new_cleanness, BOOL dlbc) +{ + if (dlbc && me->write_pointer == me->buffer) dlbc = NO; + me->line_break[new_cleanness] = + dlbc ? me->write_pointer - 1 /* Point to space */ + : me->write_pointer ; /* point to gap */ + me->delete_line_break_char[new_cleanness] = dlbc; + if (new_cleanness >= me->cleanness && + (me->overflowed || me->line_break[new_cleanness] > me->buffer)) + me->cleanness = new_cleanness; } /* Character handling @@ -83,12 +114,38 @@ PRIVATE void HTMLGen_flush ARGS1( ** file. We give extra "cleanness" to spaces appearing directly ** after periods (full stops), [semi]colons and commas. ** This should make the source files easier to read and modify -** by hand, too, though this is not a primary design consideration. +** by hand, too, though this is not a primary design consideration. TBL */ PRIVATE void HTMLGen_put_character ARGS2( HTStructured *, me, char, c) { + if (me->escape_specials && (unsigned char)c < 32) { + if (c == HT_NON_BREAK_SPACE || c == HT_EM_SPACE || + c == LY_SOFT_HYPHEN) { /* recursion... */ + HTMLGen_put_character(me, '&'); + HTMLGen_put_character(me, '#'); + HTMLGen_put_character(me, 'x'); + switch(c) { + case HT_NON_BREAK_SPACE: /*   */ + HTMLGen_put_character(me, 'A'); + HTMLGen_put_character(me, '0'); + break; + case HT_EM_SPACE: /*   */ + HTMLGen_put_character(me, '2'); + HTMLGen_put_character(me, '0'); + HTMLGen_put_character(me, '0'); + HTMLGen_put_character(me, '3'); + break; + case LY_SOFT_HYPHEN: /* ­ */ + HTMLGen_put_character(me, 'A'); + HTMLGen_put_character(me, 'D'); + break; + } + c = ';'; + } + } + *me->write_pointer++ = c; if (c == '\n') { @@ -96,36 +153,37 @@ PRIVATE void HTMLGen_put_character ARGS2( return; } - if ((!me->preformatted && c == ' ')) { - int new_cleanness = 1; + /* Figure our whether we can break at this point + */ + if ((!me->preformatted && (c == ' ' || c == '\t'))) { + int new_cleanness = 3; if (me->write_pointer > (me->buffer + 1)) { char delims[5]; char * p; strcpy(delims, ",;:."); /* @@ english bias */ p = strchr(delims, me->write_pointer[-2]); - if (p) new_cleanness = p - delims + 2; - } - if (new_cleanness >= me->cleanness) { - me->line_break = me->write_pointer - 1; /* Point to space */ - me->cleanness = new_cleanness; - me->delete_line_break_char = YES; + if (p) new_cleanness = p - delims + 6; + if (!me->in_attrval) new_cleanness += 10; } + allow_break(me, new_cleanness, YES); } /* - * Flush buffer out when full. + * Flush buffer out when full, or whenever the line is over + * the nominal maximum and we can break at all */ - if (me->write_pointer == me->buffer + BUFFER_SIZE) { + if (me->write_pointer >= me->buffer + me->buffer_maxchars || + (me->overflowed && me->cleanness)) { if (me->cleanness) { - char line_break_char = me->line_break[0]; - char * saved = me->line_break; + char line_break_char = me->line_break[me->cleanness][0]; + char * saved = me->line_break[me->cleanness]; - if (me->delete_line_break_char) saved++; - me->line_break[0] = '\n'; + if (me->delete_line_break_char[me->cleanness]) saved++; + me->line_break[me->cleanness][0] = '\n'; (*me->targetClass.put_block)(me->target, me->buffer, - me->line_break - me->buffer + 1); - me->line_break[0] = line_break_char; + me->line_break[me->cleanness] - me->buffer + 1); + me->line_break[me->cleanness][0] = line_break_char; { /* move next line in */ char * p = saved; char *q; @@ -133,16 +191,36 @@ PRIVATE void HTMLGen_put_character ARGS2( *q++ = *p++; } me->cleanness = 0; - me->delete_line_break_char = 0; + /* Now we have to check whether ther are any perfectly good breaks + ** which weren't good enough for the last line but may be + ** good enough for the next + */ + { + int i; + for(i=0; i <= MAX_CLEANNESS; i++) { + if (me->line_break[i] != NULL && + me->line_break[i] > saved) { + me->line_break[i] = me->line_break[i] - + (saved-me->buffer); + me->cleanness = i; + } else { + me->line_break[i] = NULL; + } + } + } + + me->delete_line_break_char[0] = 0; me->write_pointer = me->write_pointer - (saved-me->buffer); + me->overflowed = NO; } else { (*me->targetClass.put_block)(me->target, me->buffer, - BUFFER_SIZE); + me->buffer_maxchars); me->write_pointer = me->buffer; + flush_breaks(me); + me->overflowed = YES; } - me->line_break = me->buffer; } } @@ -187,21 +265,47 @@ PRIVATE void HTMLGen_start_element ARGS5( BOOL was_preformatted = me->preformatted; HTTag * tag = &HTML_dtd.tags[element_number]; - me->preformatted = NO; /* free text within tags */ + me->preformatted = YES; /* free text within tags */ HTMLGen_put_character(me, '<'); HTMLGen_put_string(me, tag->name); if (present) { + BOOL had_attr = NO; for (i = 0; i < tag->number_of_attributes; i++) { if (present[i]) { + had_attr = YES; HTMLGen_put_character(me, ' '); + allow_break(me, 11, YES); HTMLGen_put_string(me, tag->attributes[i].name); if (value[i]) { - HTMLGen_put_string(me, "=\""); - HTMLGen_put_string(me, value[i]); - HTMLGen_put_character(me, '"'); + me->preformatted = was_preformatted; + me->in_attrval = YES; + if (strchr(value[i], '"') == NULL) { + HTMLGen_put_string(me, "=\""); + HTMLGen_put_string(me, value[i]); + HTMLGen_put_character(me, '"'); + } else if (strchr(value[i], '\'') == NULL) { + HTMLGen_put_string(me, "='"); + HTMLGen_put_string(me, value[i]); + HTMLGen_put_character(me, '\''); + } else { /* attribute value has both kinds of quotes */ + CONST char *p; + HTMLGen_put_string(me, "=\""); + for (p = value[i]; *p; p++) { + if (*p != '"') { + HTMLGen_put_character(me, *p); + } else { + HTMLGen_put_string(me, """); + } + } + HTMLGen_put_character(me, '"'); + } + me->preformatted = YES; + me->in_attrval = NO; } } } + if (had_attr) + allow_break(me, 12, NO); } HTMLGen_put_string(me, ">"); /* got rid of \n LJM */ @@ -214,9 +318,10 @@ PRIVATE void HTMLGen_start_element ARGS5( * Can break after element start. */ if (!me->preformatted && tag->contents != SGML_EMPTY) { - me->line_break = me->write_pointer; /* Don't you hate SGML? */ - me->cleanness = 1; - me->delete_line_break_char = NO; + if (HTML_dtd.tags[element_number].contents == SGML_ELEMENT) + allow_break(me, 15, NO); + else + allow_break(me, 2, NO); } } @@ -241,9 +346,10 @@ PRIVATE void HTMLGen_end_element ARGS3( /* * Can break before element end. */ - me->line_break = me->write_pointer; /* Don't you hate SGML? */ - me->cleanness = 1; - me->delete_line_break_char = NO; + if (HTML_dtd.tags[element_number].contents == SGML_ELEMENT) + allow_break(me, 14, NO); + else + allow_break(me, 1, NO); } HTMLGen_put_string(me, "</"); HTMLGen_put_string(me, HTML_dtd.tags[element_number].name); @@ -325,6 +431,10 @@ PRIVATE CONST HTStructuredClass HTMLGeneration = /* As opposed to print etc */ /* Subclass-specific Methods ** ------------------------- */ +extern int LYcols; /* LYCurses.h, set in LYMain.c */ +extern BOOL dump_output_immediately; /* TRUE if no interactive user */ +extern BOOLEAN LYPreparsedSource; /* Show source as preparsed? */ + PUBLIC HTStructured * HTMLGenerator ARGS1( HTStream *, output) { @@ -337,10 +447,41 @@ PUBLIC HTStructured * HTMLGenerator ARGS1( me->targetClass = *me->target->isa; /* Copy pointers to routines for speed*/ me->write_pointer = me->buffer; - me->line_break = me->buffer; + flush_breaks(me); + me->line_break[0] = me->buffer; me->cleanness = 0; - me->delete_line_break_char = NO; + me->overflowed = NO; + me->delete_line_break_char[0] = NO; me->preformatted = NO; + me->in_attrval = NO; + + /* + * For what line length should we attempt to wrap ? - kw + */ + if (!LYPreparsedSource) { + me->buffer_maxchars = 80; /* work as before - kw */ + } else if (dump_output_immediately) { + me->buffer_maxchars = 80; /* work as before - kw */ + } else { + me->buffer_maxchars = LYcols - 2; + if (me->buffer_maxchars < 38) /* too narrow, let GridText deal */ + me->buffer_maxchars = 40; + if (me->buffer_maxchars > 900) /* likely not true - kw */ + me->buffer_maxchars = 78; + if (me->buffer_maxchars > BUFFER_SIZE) /* must not be larger! */ + me->buffer_maxchars = BUFFER_SIZE - 2; + } + + /* + * If dump_output_immediately is set, there likely isn't anything + * after this stream to interpret the Lynx special chars. Also + * if they get displayed via HTPlain, that will probably make + * non-breaking space chars etc. invisible. So let's translate + * them to numerical character references. For debugging + * purposes we'll use the new hex format. + */ + me->escape_specials = LYPreparsedSource; + return me; } @@ -382,8 +523,16 @@ PUBLIC HTStream* HTPlainToHTML ARGS3( */ me->target = sink; me->targetClass = *me->target->isa; + me->write_pointer = me->buffer; + flush_breaks(me); + me->cleanness = 0; + me->overflowed = NO; + me->delete_line_break_char[0] = NO; + me->buffer_maxchars = 80; HTMLGen_put_string(me, "<HTML>\n<BODY>\n<PRE>\n"); me->preformatted = YES; + me->escape_specials = NO; + me->in_attrval = NO; return (HTStream*) me; } diff --git a/WWW/Library/Implementation/HTPlain.c b/WWW/Library/Implementation/HTPlain.c index 58f81e62..8c177625 100644 --- a/WWW/Library/Implementation/HTPlain.c +++ b/WWW/Library/Implementation/HTPlain.c @@ -299,7 +299,9 @@ PRIVATE void HTPlain_write ARGS3(HTStream *, me, CONST char*, s, int, l) } } - if (me->T.trans_to_uni && unsign_c >= 127) { + if (me->T.trans_to_uni && (unsign_c >= 127 || + (unsign_c < 32 && unsign_c != 0 && + me->T.trans_C0_to_uni))) { unsign_c = UCTransToUni(c_p, me->in_char_set); if (unsign_c > 0) { if (unsign_c < 256) { @@ -395,7 +397,9 @@ PRIVATE void HTPlain_write ARGS3(HTStream *, me, CONST char*, s, int, l) uck, (char)uck); } HText_appendCharacter(me->text, (char)(uck & 0xff)); - } else if (chk && (uck == -4) && + } else if (chk && (uck == -4 || + (me->T.repl_translated_C0 && + uck > 0 && uck <32)) && /* ** Not found; look for replacement string. */ diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index 9c607da3..5cd5d871 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -44,7 +44,7 @@ PUBLIC BOOL HTPassEightBitNum = FALSE; /* Pass ^ numeric entities raw. */ PUBLIC BOOL HTPassHighCtrlRaw = FALSE; /* Pass 127-160,173, raw. */ PUBLIC BOOL HTPassHighCtrlNum = FALSE; /* Pass €-Ÿ raw. */ -extern BOOLEAN LYCheckForCSI PARAMS((HTStructured *target, char **url)); +extern BOOLEAN LYCheckForCSI PARAMS((HTParentAnchor *anchor, char **url)); extern void LYDoCSI PARAMS((char *url, CONST char *comment, char **csi)); /* The State (context) of the parser @@ -457,7 +457,7 @@ PRIVATE void handle_comment ARGS1( if (context->csi == NULL && strncmp(s, "!--#", 4) == 0 && - LYCheckForCSI(context->target, (char **)&context->url) == TRUE) { + LYCheckForCSI(context->node_anchor, (char **)&context->url) == TRUE) { LYDoCSI(context->url, s, (char **)&context->csi); } @@ -1072,7 +1072,10 @@ PUBLIC void SGML_character ARGS2( if (context->T.strip_raw_char_in) saved_char_in = c; - if (context->T.trans_to_uni && unsign_c >= 127) { + if (context->T.trans_to_uni && + (unsign_c >= 127 || + (unsign_c < 32 && unsign_c != 0 && + context->T.trans_C0_to_uni))) { clong = UCTransToUni(c, context->in_char_set); if (clong > 0) { saved_char_in = c; @@ -1081,6 +1084,46 @@ PUBLIC void SGML_character ARGS2( } } goto top1; + } else if (unsign_c < 32 && unsign_c != 0 && + context->T.trans_C0_to_uni) { + /* This else if may be too ugly to keep... - kw */ + if (context->T.trans_from_uni && + (((clong = UCTransToUni(c, context->in_char_set)) >= 32) || + (context->T.transp && + (clong = UCTransToUni(c, context->in_char_set)) > 0))) { + saved_char_in = c; + if (clong < 256) { + c = (char)clong; + } + goto top1; + } else { + uck = -1; + if (context->T.transp) { + uck = UCTransCharStr(replace_buf, 60, c, + context->in_char_set, + context->in_char_set, NO); + } + if (!context->T.transp || uck < 0) { + uck = UCTransCharStr(replace_buf, 60, c, + context->in_char_set, + context->html_char_set, YES); + } + if (uck == 0) { + return; + } else if (uck < 0) { + goto top0a; + } + c = replace_buf[0]; + if (c && replace_buf[1]) { + if (context->state == S_text) { + for (p=replace_buf; *p; p++) + PUTC(*p); + return; + } + StrAllocCat(context->recover, replace_buf + 1); + } + goto top0a; + } /* next line end of ugly stuff for C0 - kw */ } else { goto top0a; } @@ -1221,7 +1264,9 @@ top1: } c = (char)(uck & 0xff); PUTC(c); - } else if (chk && (uck == -4) && + } else if (chk && ((uck == -4 || + (context->T.repl_translated_C0 && + uck > 0 && uck <32))) && /* ** Not found; look for replacement string. */ @@ -1443,13 +1488,16 @@ top1: if ((context->isHex ? sscanf(string->data, "%x", &value) : sscanf(string->data, "%d", &value)) == 1) { #ifdef EXP_CHARTRANS - if (value == 160) { + if (value == 160 || value == 173) { /* ** We *always* should interpret this as Latin1 here! ** Output the Lynx special character for nbsp and ** then recycle the terminator or break. - FM */ - PUTC(1); + if (value == 160) + PUTC(1); + else /* 173 */ + PUTC(7); string->size = 0; context->isHex = FALSE; context->state = S_text; @@ -1474,7 +1522,9 @@ top1: else { PUTC(FROMASCII((char)uck)); } - } else if ((uck == -4) && + } else if ((uck == -4 || + (context->T.repl_translated_C0 && + uck > 0 && uck <32)) && /* ** Not found; look for replacement string. */ diff --git a/WWW/Library/Implementation/UCAux.h b/WWW/Library/Implementation/UCAux.h index fd4b4618..ac7a5439 100644 --- a/WWW/Library/Implementation/UCAux.h +++ b/WWW/Library/Implementation/UCAux.h @@ -16,6 +16,8 @@ struct _UCTransParams BOOL pass_160_173_raw; BOOL do_8bitraw; BOOL trans_to_uni; + BOOL trans_C0_to_uni; + BOOL repl_translated_C0; BOOL trans_from_uni; }; typedef struct _UCTransParams UCTransParams; diff --git a/WWW/Library/Implementation/UCDefs.h b/WWW/Library/Implementation/UCDefs.h index a43088b7..53d56439 100644 --- a/WWW/Library/Implementation/UCDefs.h +++ b/WWW/Library/Implementation/UCDefs.h @@ -16,8 +16,8 @@ typedef struct _LYUCcharset { #define UCT_ENC_7BIT 0 #define UCT_ENC_8BIT 1 -#define UCT_ENC_8859 2 /* ??? */ -#define UCT_ENC_2022 3 +#define UCT_ENC_8859 2 +#define UCT_ENC_8BIT_C0 3 /* 8-bit some chars in C0 control area */ #define UCT_ENC_MAYBE2022 4 #define UCT_ENC_CJK 5 #define UCT_ENC_16BIT 6 diff --git a/WWW/Library/Implementation/tcp.h b/WWW/Library/Implementation/tcp.h index 0533c9c1..e94bc0eb 100644 --- a/WWW/Library/Implementation/tcp.h +++ b/WWW/Library/Implementation/tcp.h @@ -291,8 +291,8 @@ extern int bzero(); extern int multinet_connect(); extern int multinet_gethostname(); extern int multinet_getsockname(); -extern unsigned short multinet_htons(); -extern unsigned short multinet_ntohs(); +extern unsigned short multinet_htons(unsigned short __val); +extern unsigned short multinet_ntohs(unsigned short __val); extern int multinet_listen(); extern int multinet_select(); extern int multinet_socket(); @@ -387,6 +387,14 @@ test "$prefix" != /usr/local && $1="[$]$1 /usr/local/include /usr/local/incl test "$prefix" != /usr && $1="[$]$1 /usr/include /usr/include/$2" ])dnl dnl --------------------------------------------------------------------------- +dnl Insert text into the help-message, for readability, from AC_ARG_WITH. +AC_DEFUN([CF_HELP_MESSAGE], +[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl +ac_help="$ac_help +[$1]" +AC_DIVERT_POP()dnl +])dnl +dnl --------------------------------------------------------------------------- dnl Construct a search-list for a nonstandard library-file AC_DEFUN([CF_LIBRARY_PATH], [$1="" @@ -999,6 +1007,26 @@ $1=`echo $2 | tr '[a-z]' '[A-Z]'` changequote([,])dnl ])dnl dnl --------------------------------------------------------------------------- +AC_DEFUN([CF_UNION_WAIT], +[ +AC_MSG_CHECKING([for union wait]) +AC_CACHE_VAL(cf_cv_type_unionwait,[ + AC_TRY_COMPILE([ +#include <sys/types.h> +#if HAVE_SYS_WAIT_H +#include <sys/wait.h> +#endif +#if HAVE_WAITSTATUS_H +#include <waitstatus.h> +#endif +], + [union wait x], + [cf_cv_type_unionwait=yes], + [cf_cv_type_unionwait=no])]) +AC_MSG_RESULT($cf_cv_type_unionwait) +test $cf_cv_type_unionwait = yes && AC_DEFINE(HAVE_TYPE_UNIONWAIT) +])dnl +dnl --------------------------------------------------------------------------- AC_DEFUN([CF_UTMP], [ AC_MSG_CHECKING(if struct utmp is declared) @@ -1021,17 +1049,31 @@ test $cf_cv_have_utmp = utmpx && AC_DEFINE(UTMPX_FOR_UTMP) dnl --------------------------------------------------------------------------- dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just dnl defaulting to yes/no. +dnl +dnl $1 = option name +dnl $2 = help-text +dnl $3 = environment variable to set +dnl $4 = default value, shown in the help-message, must be a constant +dnl $5 = default value, if it's an expression & cannot be in the help-message +dnl AC_DEFUN([CF_WITH_PATH], [AC_ARG_WITH($1,[$2 ](default: ifelse($4,,empty,$4)),, -ifelse($4,,[withval="${$3}"],[withval="${$3-$4}"]))dnl +ifelse($4,,[withval="${$3}"],[withval="${$3-ifelse($5,,$4,$5)}"]))dnl case ".$withval" in #(vi -./*) +./*) #(vi + ;; +.\${*) #(vi + eval withval="$withval" + case ".$withval" in #(vi + .NONE/*) + withval=`echo $withval | sed -e s@NONE@$ac_default_prefix@` + ;; + esac ;; #(vi *) - echo 'configure: error: expected a pathname for $3' 1>&2 - exit 1 + AC_ERROR(expected a pathname for $1) ;; esac -$3="$withval" +eval $3="$withval" AC_SUBST($3)dnl ])dnl @@ -1,4 +1,7 @@ /* The configure script translates "config.hin" into "lynx_cfg.h" */ +#ifndef LYNX_CFG_H +#define LYNX_CFG_H 1 + #undef USE_COLOR_STYLE /* FIXME: was 'CS' */ #undef USEHASH /* FIXME: rename to USE_HASHING */ #undef UNPAINT_CACHE /* FIXME: for RP's code */ @@ -81,7 +84,6 @@ #undef ZIP_PATH /* CF_PATH_PROG(zip) */ #undef const /* defined by AC_C_CONST */ #undef vfork /* defined by AC_FUNC_FORK */ -/* FIXME:AIX4 */ /* FIXME:ALLOW_USERS_TO_CHANGE_EXEC_WITHIN_OPTIONS */ /* FIXME:BSDI */ /* FIXME:DECLARE_WAIS_LOGFILES */ @@ -101,3 +103,5 @@ /* FIXME:SOCKS */ /* FIXME:SVR4_BSDSELECT */ /* FIXME:SYSLOG_REQUESTED_URLS */ + +#endif /* LYNX_CFG_H */ @@ -13,12 +13,26 @@ ac_default_prefix=/usr/local # Any additions from configure.in: ac_default_prefix=/usr/local ac_help="$ac_help +Development Options:" +ac_help="$ac_help + --disable-echo display \"compiling\" commands (default: on)" +ac_help="$ac_help + --enable-find-leaks logic for testing memory leaks (default: off)" +ac_help="$ac_help + --enable-debug logic for traces/debugging (default: off)" +ac_help="$ac_help + --enable-warnings GCC compiler warnings (default: off)" +ac_help="$ac_help +Basic Configuration Options:" +ac_help="$ac_help --disable-full-paths control whether full utility pathnames are used (default: on)" ac_help="$ac_help --with-screen=XXX select screen type (XXX is curses (default), ncurses or slang)" ac_help="$ac_help - --with-cfg-file=XXXX specify config-pathname (default: $ac_default_prefix/lib/lynx.cfg)" + --with-cfg-file=XXXX specify config-pathname (default: LIBDIR/lynx.cfg)" +ac_help="$ac_help +Miscellaneous Options:" ac_help="$ac_help --disable-char-trans enable optional character-translations (default: on)" ac_help="$ac_help @@ -26,36 +40,30 @@ ac_help="$ac_help ac_help="$ac_help --with-zlib use zlib for decompression of some gzip files" ac_help="$ac_help +Directory Editor Options:" +ac_help="$ac_help --disable-dired enable optional directory-editor, DirEd (default: on)" ac_help="$ac_help - --disable-dired-archive DirEd: disable dearchiving commands (default: on)" + --disable-dired-archive disable dearchiving commands (default: on)" ac_help="$ac_help - --disable-dired-override DirEd: disable private keymaps (default: on)" + --disable-dired-override disable private keymaps (default: on)" ac_help="$ac_help - --disable-dired-permit DirEd: disable chmod/attrib commands (default: on)" + --disable-dired-permit disable chmod/attrib commands (default: on)" ac_help="$ac_help - --disable-dired-xpermit DirEd: disable chmod/attrib commands (default: on)" + --disable-dired-xpermit disable chmod/attrib commands (default: on)" ac_help="$ac_help - --disable-dired-tar DirEd: disable \"tar\" command (default: on)" + --disable-dired-tar disable \"tar\" command (default: on)" ac_help="$ac_help - --disable-dired-uudecode DirEd: disable \"uudecode\" command (default: on)" + --disable-dired-uudecode disable \"uudecode\" command (default: on)" ac_help="$ac_help - --disable-dired-zip DirEd: disable \"zip\", \"unzip\" commands (default: on)" + --disable-dired-zip disable \"zip\", \"unzip\" commands (default: on)" ac_help="$ac_help - --disable-dired-gzip DirEd: disable \"gzip\", \"gunzip\" commands (default: on)" + --disable-dired-gzip disable \"gzip\", \"gunzip\" commands (default: on)" ac_help="$ac_help --disable-long-list disable long \"ls -l\" directory listings (default: on)" ac_help="$ac_help --disable-parent-dir-refs disable \"Up-to\" links in directory listings (default: on)" -ac_help="$ac_help - --disable-echo develop: display \"compiling\" commands (default: on)" -ac_help="$ac_help - --enable-find-leaks develop: logic for testing memory leaks (default: off)" -ac_help="$ac_help - --enable-debug develop: logic for traces/debugging (default: off)" -ac_help="$ac_help - --enable-warnings develop: GCC compiler warnings (default: off)" # Initialize some variables set by options. # The variables have the same names as the options, with @@ -592,7 +600,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:596: checking host system type" >&5 +echo "configure:604: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -617,7 +625,7 @@ echo "$ac_t""$host" 1>&6 # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:621: checking for $ac_word" >&5 +echo "configure:629: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -646,7 +654,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:650: checking for $ac_word" >&5 +echo "configure:658: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -694,7 +702,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:698: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -704,11 +712,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <<EOF -#line 708 "configure" +#line 716 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -728,12 +736,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:737: checking whether we are using GNU C" >&5 +echo "configure:745: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -742,7 +750,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -757,7 +765,7 @@ if test $ac_cv_prog_gcc = yes; then ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:761: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:769: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -785,7 +793,7 @@ else fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:789: checking how to run the C preprocessor" >&5 +echo "configure:797: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -800,13 +808,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 804 "configure" +#line 812 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -817,13 +825,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 821 "configure" +#line 829 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -848,7 +856,7 @@ echo "$ac_t""$CPP" 1>&6 # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:852: checking for $ac_word" >&5 +echo "configure:860: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -875,7 +883,7 @@ else fi echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:879: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:887: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -903,7 +911,7 @@ fi echo $ac_n "checking for style of include in makefiles""... $ac_c" 1>&6 -echo "configure:907: checking for style of include in makefiles" >&5 +echo "configure:915: checking for style of include in makefiles" >&5 make_include_left="" make_include_right="" make_include_quote="unknown" @@ -953,7 +961,7 @@ echo "$ac_t""${make_include_left}file${make_include_right}" 1>&6 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:957: checking for a BSD compatible install" >&5 +echo "configure:965: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1007,7 +1015,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1011: checking for $ac_word" >&5 +echo "configure:1019: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LINT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1036,8 +1044,160 @@ test -n "$LINT" && break done + + + +echo $ac_n "checking if you want to see long compiling messages""... $ac_c" 1>&6 +echo "configure:1052: checking if you want to see long compiling messages" >&5 +# Check whether --enable-echo or --disable-echo was given. +if test "${enable_echo+set}" = set; then + enableval="$enable_echo" + test "$enableval" != no && enableval=yes + if test "$enableval" != "yes" ; then + SHOW_CC=' @echo compiling $@' + ECHO_CC='@' + else + SHOW_CC='# compiling' + ECHO_CC='' + fi +else + enableval=yes + SHOW_CC='# compiling' + ECHO_CC='' + +fi + +echo "$ac_t""$enableval" 1>&6 + + + +echo $ac_n "checking if you want to check memory-leaks""... $ac_c" 1>&6 +echo "configure:1076: checking if you want to check memory-leaks" >&5 +# Check whether --enable-find-leaks or --disable-find-leaks was given. +if test "${enable_find_leaks+set}" = set; then + enableval="$enable_find_leaks" + test "$enableval" != yes && enableval=no + if test "$enableval" != "no" ; then + with_leak_checks=yes + else + with_leak_checks=no + fi +else + enableval=no + with_leak_checks=no + +fi + +echo "$ac_t""$with_leak_checks" 1>&6 +test "$with_leak_checks" = "yes" && cat >> confdefs.h <<\EOF +#define LY_FIND_LEAKS 1 +EOF + + +echo $ac_n "checking if you want to enable debug-code""... $ac_c" 1>&6 +echo "configure:1099: checking if you want to enable debug-code" >&5 +# Check whether --enable-debug or --disable-debug was given. +if test "${enable_debug+set}" = set; then + enableval="$enable_debug" + test "$enableval" != yes && enableval=no + if test "$enableval" != "no" ; then + with_debug=yes + else + with_debug=no + fi +else + enableval=no + with_debug=no + +fi + +echo "$ac_t""$with_debug" 1>&6 +if test "$with_debug" = "yes" ; then + case $host_os in + ultrix*) + +CFLAGS=`echo ${CFLAGS} | sed -e 's/-O[1-9]\? //' -e 's/-O[1-9]\?$//'` + + if test -z "$GCC" ; then + CFLAGS="$CFLAGS -g3" + fi + ;; + esac +else + case $host_os in + ultrix*) #(vi + CFLAGS=`echo ${CFLAGS} | sed -e 's/-g //' -e 's/-g$//'` + ;; + *) + if test -n "$GCC" ; then + CFLAGS=`echo ${CFLAGS} | sed -e 's/-g //' -e 's/-g$//'` + fi + ;; + esac +fi + +if test -n "$GCC" +then +echo $ac_n "checking if you want to turn on gcc warnings""... $ac_c" 1>&6 +echo "configure:1143: checking if you want to turn on gcc warnings" >&5 +# Check whether --enable-warnings or --disable-warnings was given. +if test "${enable_warnings+set}" = set; then + enableval="$enable_warnings" + test "$enableval" != yes && enableval=no + if test "$enableval" != "no" ; then + with_warnings=yes + else + with_warnings=no + fi +else + enableval=no + with_warnings=no + +fi + +echo "$ac_t""$with_warnings" 1>&6 +if test "$with_warnings" = "yes" +then + EXTRA_CFLAGS="" +if test -n "$GCC" +then + cat > conftest.$ac_ext <<EOF +#line 1166 "configure" +int main(int argc, char *argv[]) { return argv[argc-1] == 0; } +EOF + echo "checking for gcc warning options" 1>&6 +echo "configure:1170: checking for gcc warning options" >&5 + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="-W -Wall" + for cf_opt in \ + Wbad-function-cast \ + Wcast-align \ + Winline \ + Wmissing-declarations \ + Wmissing-prototypes \ + Wnested-externs \ + Wpointer-arith \ + Wshadow \ + Wstrict-prototypes + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" + if { (eval echo configure:1185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + test -n "$verbose" && echo "$ac_t""... -$cf_opt" 1>&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi + done + rm -f conftest* + CFLAGS="$cf_save_CFLAGS" +fi + +fi +fi + + + + echo $ac_n "checking if you want full utility pathnames""... $ac_c" 1>&6 -echo "configure:1041: checking if you want full utility pathnames" >&5 +echo "configure:1201: checking if you want full utility pathnames" >&5 # Check whether --enable-full-paths or --disable-full-paths was given. if test "${enable_full_paths+set}" = set; then enableval="$enable_full_paths" @@ -1057,7 +1217,7 @@ echo "$ac_t""$with_full_paths" 1>&6 echo $ac_n "checking for system mailer""... $ac_c" 1>&6 -echo "configure:1061: checking for system mailer" >&5 +echo "configure:1221: checking for system mailer" >&5 if eval "test \"`echo '$''{'cf_cv_SYSTEM_MAIL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1084,7 +1244,7 @@ EOF echo $ac_n "checking system mail flags""... $ac_c" 1>&6 -echo "configure:1088: checking system mail flags" >&5 +echo "configure:1248: checking system mail flags" >&5 if eval "test \"`echo '$''{'cf_cv_system_mail_flags'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1112,7 +1272,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1116: checking for $ac_word" >&5 +echo "configure:1276: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1143,7 +1303,7 @@ fi else echo $ac_n "checking for chmod""... $ac_c" 1>&6 -echo "configure:1147: checking for chmod" >&5 +echo "configure:1307: checking for chmod" >&5 echo "$ac_t""$CHMOD" 1>&6 fi @@ -1177,7 +1337,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "compress", so it can be a program name with args. set dummy compress; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1181: checking for $ac_word" >&5 +echo "configure:1341: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_COMPRESS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1208,7 +1368,7 @@ fi else echo $ac_n "checking for compress""... $ac_c" 1>&6 -echo "configure:1212: checking for compress" >&5 +echo "configure:1372: checking for compress" >&5 echo "$ac_t""$COMPRESS" 1>&6 fi @@ -1242,7 +1402,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1246: checking for $ac_word" >&5 +echo "configure:1406: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_COPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1273,7 +1433,7 @@ fi else echo $ac_n "checking for cp""... $ac_c" 1>&6 -echo "configure:1277: checking for cp" >&5 +echo "configure:1437: checking for cp" >&5 echo "$ac_t""$COPY" 1>&6 fi @@ -1307,7 +1467,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "gzip", so it can be a program name with args. set dummy gzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1311: checking for $ac_word" >&5 +echo "configure:1471: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GZIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1338,7 +1498,7 @@ fi else echo $ac_n "checking for gzip""... $ac_c" 1>&6 -echo "configure:1342: checking for gzip" >&5 +echo "configure:1502: checking for gzip" >&5 echo "$ac_t""$GZIP" 1>&6 fi @@ -1372,7 +1532,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "install", so it can be a program name with args. set dummy install; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1376: checking for $ac_word" >&5 +echo "configure:1536: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_INSTALL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1403,7 +1563,7 @@ fi else echo $ac_n "checking for install""... $ac_c" 1>&6 -echo "configure:1407: checking for install" >&5 +echo "configure:1567: checking for install" >&5 echo "$ac_t""$INSTALL" 1>&6 fi @@ -1437,7 +1597,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1441: checking for $ac_word" >&5 +echo "configure:1601: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1468,7 +1628,7 @@ fi else echo $ac_n "checking for mkdir""... $ac_c" 1>&6 -echo "configure:1472: checking for mkdir" >&5 +echo "configure:1632: checking for mkdir" >&5 echo "$ac_t""$MKDIR" 1>&6 fi @@ -1502,7 +1662,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "mv", so it can be a program name with args. set dummy mv; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1506: checking for $ac_word" >&5 +echo "configure:1666: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1533,7 +1693,7 @@ fi else echo $ac_n "checking for mv""... $ac_c" 1>&6 -echo "configure:1537: checking for mv" >&5 +echo "configure:1697: checking for mv" >&5 echo "$ac_t""$MV" 1>&6 fi @@ -1567,7 +1727,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1571: checking for $ac_word" >&5 +echo "configure:1731: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1598,7 +1758,7 @@ fi else echo $ac_n "checking for rm""... $ac_c" 1>&6 -echo "configure:1602: checking for rm" >&5 +echo "configure:1762: checking for rm" >&5 echo "$ac_t""$RM" 1>&6 fi @@ -1632,7 +1792,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "tar", so it can be a program name with args. set dummy tar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1636: checking for $ac_word" >&5 +echo "configure:1796: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1663,7 +1823,7 @@ fi else echo $ac_n "checking for tar""... $ac_c" 1>&6 -echo "configure:1667: checking for tar" >&5 +echo "configure:1827: checking for tar" >&5 echo "$ac_t""$TAR" 1>&6 fi @@ -1697,7 +1857,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "touch", so it can be a program name with args. set dummy touch; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1701: checking for $ac_word" >&5 +echo "configure:1861: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_TOUCH'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1728,7 +1888,7 @@ fi else echo $ac_n "checking for touch""... $ac_c" 1>&6 -echo "configure:1732: checking for touch" >&5 +echo "configure:1892: checking for touch" >&5 echo "$ac_t""$TOUCH" 1>&6 fi @@ -1762,7 +1922,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "gunzip", so it can be a program name with args. set dummy gunzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1766: checking for $ac_word" >&5 +echo "configure:1926: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_UNCOMPRESS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1793,7 +1953,7 @@ fi else echo $ac_n "checking for gunzip""... $ac_c" 1>&6 -echo "configure:1797: checking for gunzip" >&5 +echo "configure:1957: checking for gunzip" >&5 echo "$ac_t""$UNCOMPRESS" 1>&6 fi @@ -1827,7 +1987,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "unzip", so it can be a program name with args. set dummy unzip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1831: checking for $ac_word" >&5 +echo "configure:1991: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_UNZIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1858,7 +2018,7 @@ fi else echo $ac_n "checking for unzip""... $ac_c" 1>&6 -echo "configure:1862: checking for unzip" >&5 +echo "configure:2022: checking for unzip" >&5 echo "$ac_t""$UNZIP" 1>&6 fi @@ -1892,7 +2052,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "uudecode", so it can be a program name with args. set dummy uudecode; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1896: checking for $ac_word" >&5 +echo "configure:2056: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_UUDECODE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1923,7 +2083,7 @@ fi else echo $ac_n "checking for uudecode""... $ac_c" 1>&6 -echo "configure:1927: checking for uudecode" >&5 +echo "configure:2087: checking for uudecode" >&5 echo "$ac_t""$UUDECODE" 1>&6 fi @@ -1957,7 +2117,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "zcat", so it can be a program name with args. set dummy zcat; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1961: checking for $ac_word" >&5 +echo "configure:2121: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ZCAT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1988,7 +2148,7 @@ fi else echo $ac_n "checking for zcat""... $ac_c" 1>&6 -echo "configure:1992: checking for zcat" >&5 +echo "configure:2152: checking for zcat" >&5 echo "$ac_t""$ZCAT" 1>&6 fi @@ -2022,7 +2182,7 @@ if test "$with_full_paths" = yes ; then # Extract the first word of "zip", so it can be a program name with args. set dummy zip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2026: checking for $ac_word" >&5 +echo "configure:2186: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_ZIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2053,7 +2213,7 @@ fi else echo $ac_n "checking for zip""... $ac_c" 1>&6 -echo "configure:2057: checking for zip" >&5 +echo "configure:2217: checking for zip" >&5 echo "$ac_t""$ZIP" 1>&6 fi @@ -2091,7 +2251,7 @@ EOF if test -z "$GCC" ; then echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 -echo "configure:2095: checking for ${CC-cc} option to accept ANSI C" >&5 +echo "configure:2255: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"`echo '$''{'cf_cv_ansi_cc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2109,7 +2269,7 @@ for cf_arg in "-DCC_HAS_PROTOS" "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc do CFLAGS="$cf_save_CFLAGS $cf_arg" cat > conftest.$ac_ext <<EOF -#line 2113 "configure" +#line 2273 "configure" #include "confdefs.h" #ifndef CC_HAS_PROTOS @@ -2125,7 +2285,7 @@ int main() { struct s2 {int (*f) (double a);}; ; return 0; } EOF -if { (eval echo configure:2129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_ansi_cc="$cf_arg"; break else @@ -2147,12 +2307,12 @@ fi fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:2151: checking for working const" >&5 +echo "configure:2311: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2156 "configure" +#line 2316 "configure" #include "confdefs.h" int main() { @@ -2201,7 +2361,7 @@ ccp = (char const *const *) p; ; return 0; } EOF -if { (eval echo configure:2205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -2241,7 +2401,7 @@ clix*) # contributed by Alex Matulich (matuli_a@marlin.navsea.navy.mil) also # references -lmalloc and -lbsd. echo $ac_n "checking for strcmp in -lc_s""... $ac_c" 1>&6 -echo "configure:2245: checking for strcmp in -lc_s" >&5 +echo "configure:2405: checking for strcmp in -lc_s" >&5 ac_lib_var=`echo c_s'_'strcmp | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2249,7 +2409,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lc_s $LIBS" cat > conftest.$ac_ext <<EOF -#line 2253 "configure" +#line 2413 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2260,7 +2420,7 @@ int main() { strcmp() ; return 0; } EOF -if { (eval echo configure:2264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2338,7 +2498,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2342: checking for $ac_word" >&5 +echo "configure:2502: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2376,6 +2536,49 @@ sequent-ptx) sequent-ptx2) CFLAGS="$CFLAGS -DSVR4_BSDSELECT" ;; +sony-newsos*) + CFLAGS="$CFLAGS -I/usr/sony/include" + for ac_hdr in jcurses.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2546: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <<EOF +#line 2551 "configure" +#include "confdefs.h" +#include <$ac_hdr> +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:2556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <<EOF +#define $ac_tr_hdr 1 +EOF + +else + echo "$ac_t""no" 1>&6 +fi +done + + ;; svr4) CFLAGS="$CFLAGS -DSVR4_BSDSELECT -DSVR4" ;; @@ -2389,6 +2592,46 @@ ultrix*) # Increase the maximum size of functions that will be optimized. test -z "$GCC" && CFLAGS="$CFLAGS -O -Olimit 600 -G 7" CFLAGS="$CFLAGS -DULTRIX" + for ac_hdr in cursesX.h +do +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +echo "configure:2600: checking for $ac_hdr" >&5 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <<EOF +#line 2605 "configure" +#include "confdefs.h" +#include <$ac_hdr> +EOF +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +{ (eval echo configure:2610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +ac_err=`grep -v '^ *+' conftest.out` +if test -z "$ac_err"; then + rm -rf conftest* + eval "ac_cv_header_$ac_safe=yes" +else + echo "$ac_err" >&5 + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + eval "ac_cv_header_$ac_safe=no" +fi +rm -f conftest* +fi +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` + cat >> confdefs.h <<EOF +#define $ac_tr_hdr 1 +EOF + cf_cv_ncurses_header=cursesX.h +else + echo "$ac_t""no" 1>&6 +fi +done + ;; esac @@ -2399,12 +2642,12 @@ NETLIBS="" for ac_func in gethostname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2403: checking for $ac_func" >&5 +echo "configure:2646: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2408 "configure" +#line 2651 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2427,7 +2670,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2450,7 +2693,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6 -echo "configure:2454: checking for gethostname in -lnsl" >&5 +echo "configure:2697: checking for gethostname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2458,7 +2701,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $NETLIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 2462 "configure" +#line 2705 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2469,7 +2712,7 @@ int main() { gethostname() ; return 0; } EOF -if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2502,7 +2745,7 @@ else echo $ac_n "checking for gethostname in -lsocket""... $ac_c" 1>&6 -echo "configure:2506: checking for gethostname in -lsocket" >&5 +echo "configure:2749: checking for gethostname in -lsocket" >&5 ac_lib_var=`echo socket'_'gethostname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2510,7 +2753,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $NETLIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 2514 "configure" +#line 2757 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2521,7 +2764,7 @@ int main() { gethostname() ; return 0; } EOF -if { (eval echo configure:2525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2565,21 +2808,21 @@ done # FIXME: sequent needs this library (i.e., -lsocket -linet -lnsl), but # I don't know the entrypoints - 97/7/22 TD echo $ac_n "checking for -linet""... $ac_c" 1>&6 -echo "configure:2569: checking for -linet" >&5 +echo "configure:2812: checking for -linet" >&5 if eval "test \"`echo '$''{'ac_cv_lib_inet'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-linet $LIBS" cat > conftest.$ac_ext <<EOF -#line 2576 "configure" +#line 2819 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_lib_inet=yes else @@ -2602,12 +2845,12 @@ if test "$ac_cv_func_lsocket" != no ; then for ac_func in socket do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2606: checking for $ac_func" >&5 +echo "configure:2849: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2611 "configure" +#line 2854 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2630,7 +2873,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2653,7 +2896,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:2657: checking for socket in -lsocket" >&5 +echo "configure:2900: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2661,7 +2904,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $NETLIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 2665 "configure" +#line 2908 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2672,7 +2915,7 @@ int main() { socket() ; return 0; } EOF -if { (eval echo configure:2676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2705,7 +2948,7 @@ else echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 -echo "configure:2709: checking for socket in -lbsd" >&5 +echo "configure:2952: checking for socket in -lbsd" >&5 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2713,7 +2956,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lbsd $NETLIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 2717 "configure" +#line 2960 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2724,7 +2967,7 @@ int main() { socket() ; return 0; } EOF -if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2769,12 +3012,12 @@ fi for ac_func in gethostbyname do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2773: checking for $ac_func" >&5 +echo "configure:3016: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2778 "configure" +#line 3021 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2797,7 +3040,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2820,7 +3063,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 -echo "configure:2824: checking for gethostbyname in -lnsl" >&5 +echo "configure:3067: checking for gethostbyname in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2828,7 +3071,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl $NETLIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 2832 "configure" +#line 3075 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2839,7 +3082,7 @@ int main() { gethostbyname() ; return 0; } EOF -if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2880,12 +3123,12 @@ done for ac_func in strcasecmp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2884: checking for $ac_func" >&5 +echo "configure:3127: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2889 "configure" +#line 3132 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2908,7 +3151,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2931,7 +3174,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for strcasecmp in -lresolv""... $ac_c" 1>&6 -echo "configure:2935: checking for strcasecmp in -lresolv" >&5 +echo "configure:3178: checking for strcasecmp in -lresolv" >&5 ac_lib_var=`echo resolv'_'strcasecmp | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2939,7 +3182,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lresolv $NETLIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 2943 "configure" +#line 3186 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -2950,7 +3193,7 @@ int main() { strcasecmp() ; return 0; } EOF -if { (eval echo configure:2954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2991,7 +3234,7 @@ LIBS="$LIBS $NETLIBS" echo $ac_n "checking for screen type""... $ac_c" 1>&6 -echo "configure:2995: checking for screen type" >&5 +echo "configure:3238: checking for screen type" >&5 if eval "test \"`echo '$''{'cf_cv_screen'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3017,14 +3260,17 @@ echo "$ac_t""$cf_cv_screen" 1>&6 case $cf_cv_screen in curses) + if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" != set"; then + cf_cv_ncurses_header=curses.h + fi echo $ac_n "checking for initscr""... $ac_c" 1>&6 -echo "configure:3023: checking for initscr" >&5 +echo "configure:3269: checking for initscr" >&5 if eval "test \"`echo '$''{'ac_cv_func_initscr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3028 "configure" +#line 3274 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char initscr(); below. */ @@ -3047,7 +3293,7 @@ initscr(); ; return 0; } EOF -if { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_initscr=yes" else @@ -3068,7 +3314,7 @@ else case $host_os in #(vi freebsd*) #(vi echo $ac_n "checking for tgoto in -lmytinfo""... $ac_c" 1>&6 -echo "configure:3072: checking for tgoto in -lmytinfo" >&5 +echo "configure:3318: checking for tgoto in -lmytinfo" >&5 ac_lib_var=`echo mytinfo'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3076,7 +3322,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lmytinfo $LIBS" cat > conftest.$ac_ext <<EOF -#line 3080 "configure" +#line 3326 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3087,7 +3333,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:3091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3110,7 +3356,7 @@ fi ;; *hp-hpux10.*) echo $ac_n "checking for initscr in -lcur_color""... $ac_c" 1>&6 -echo "configure:3114: checking for initscr in -lcur_color" >&5 +echo "configure:3360: checking for initscr in -lcur_color" >&5 ac_lib_var=`echo cur_color'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3118,7 +3364,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcur_color $LIBS" cat > conftest.$ac_ext <<EOF -#line 3122 "configure" +#line 3368 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3129,7 +3375,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3166,12 +3412,12 @@ fi cf_save_LIBS="$LIBS" echo $ac_n "checking for tgoto""... $ac_c" 1>&6 -echo "configure:3170: checking for tgoto" >&5 +echo "configure:3416: checking for tgoto" >&5 if eval "test \"`echo '$''{'ac_cv_func_tgoto'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3175 "configure" +#line 3421 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char tgoto(); below. */ @@ -3194,7 +3440,7 @@ tgoto(); ; return 0; } EOF -if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_tgoto=yes" else @@ -3210,7 +3456,7 @@ if eval "test \"`echo '$ac_cv_func_'tgoto`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 -echo "configure:3214: checking for initscr in -lcurses" >&5 +echo "configure:3460: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3218,7 +3464,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 3222 "configure" +#line 3468 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3229,7 +3475,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3263,7 +3509,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for tgoto in -ltermcap""... $ac_c" 1>&6 -echo "configure:3267: checking for tgoto in -ltermcap" >&5 +echo "configure:3513: checking for tgoto in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3271,7 +3517,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <<EOF -#line 3275 "configure" +#line 3521 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3282,7 +3528,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3300,7 +3546,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then LIBS="-ltermcap $cf_save_LIBS" echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 -echo "configure:3304: checking for initscr in -lcurses" >&5 +echo "configure:3550: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3308,7 +3554,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 3312 "configure" +#line 3558 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3319,7 +3565,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3346,7 +3592,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for initscr in -lcursesX""... $ac_c" 1>&6 -echo "configure:3350: checking for initscr in -lcursesX" >&5 +echo "configure:3596: checking for initscr in -lcursesX" >&5 ac_lib_var=`echo cursesX'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3354,7 +3600,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcursesX $LIBS" cat > conftest.$ac_ext <<EOF -#line 3358 "configure" +#line 3604 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3365,7 +3611,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3392,7 +3638,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for initscr in -ljcurses""... $ac_c" 1>&6 -echo "configure:3396: checking for initscr in -ljcurses" >&5 +echo "configure:3642: checking for initscr in -ljcurses" >&5 ac_lib_var=`echo jcurses'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3400,7 +3646,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ljcurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 3404 "configure" +#line 3650 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3411,7 +3657,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3449,7 +3695,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 -echo "configure:3453: checking for initscr in -lcurses" >&5 +echo "configure:3699: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3457,7 +3703,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 3461 "configure" +#line 3707 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3468,7 +3714,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3507,14 +3753,14 @@ fi echo $ac_n "checking for curses performance tradeoff""... $ac_c" 1>&6 -echo "configure:3511: checking for curses performance tradeoff" >&5 +echo "configure:3757: checking for curses performance tradeoff" >&5 if eval "test \"`echo '$''{'cf_cv_curs_performance'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cf_cv_curs_performance=no cat > conftest.$ac_ext <<EOF -#line 3518 "configure" +#line 3764 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> @@ -3528,11 +3774,11 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cat > conftest.$ac_ext <<EOF -#line 3536 "configure" +#line 3782 "configure" #include "confdefs.h" #define CURS_PERFORMANCE @@ -3547,7 +3793,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_curs_performance=yes else @@ -3568,25 +3814,24 @@ test $cf_cv_curs_performance = yes && cat >> confdefs.h <<\EOF EOF - cf_cv_ncurses_header=curses.h ;; ncurses) echo $ac_n "checking for ncurses header file""... $ac_c" 1>&6 -echo "configure:3577: checking for ncurses header file" >&5 +echo "configure:3822: checking for ncurses header file" >&5 if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3583 "configure" +#line 3828 "configure" #include "confdefs.h" #include <curses.h> int main() { printf("%s\n", NCURSES_VERSION) ; return 0; } EOF -if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_ncurses_header=predefined else @@ -3679,7 +3924,7 @@ esac cf_ncurses_LIBS="" echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 -echo "configure:3683: checking for Gpm_Open in -lgpm" >&5 +echo "configure:3928: checking for Gpm_Open in -lgpm" >&5 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3687,7 +3932,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lgpm $LIBS" cat > conftest.$ac_ext <<EOF -#line 3691 "configure" +#line 3936 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3698,7 +3943,7 @@ int main() { Gpm_Open() ; return 0; } EOF -if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3714,7 +3959,7 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for initscr in -lgpm""... $ac_c" 1>&6 -echo "configure:3718: checking for initscr in -lgpm" >&5 +echo "configure:3963: checking for initscr in -lgpm" >&5 ac_lib_var=`echo gpm'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3722,7 +3967,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lgpm $LIBS" cat > conftest.$ac_ext <<EOF -#line 3726 "configure" +#line 3971 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3733,7 +3978,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:3982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3771,7 +4016,7 @@ freebsd*) # This is only necessary if you are linking against an obsolete # version of ncurses (but it should do no harm, since it's static). echo $ac_n "checking for tgoto in -lmytinfo""... $ac_c" 1>&6 -echo "configure:3775: checking for tgoto in -lmytinfo" >&5 +echo "configure:4020: checking for tgoto in -lmytinfo" >&5 ac_lib_var=`echo mytinfo'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3779,7 +4024,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lmytinfo $LIBS" cat > conftest.$ac_ext <<EOF -#line 3783 "configure" +#line 4028 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3790,7 +4035,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:3794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3817,12 +4062,12 @@ LIBS="$cf_ncurses_LIBS $LIBS" cf_cv_have_lib_ncurses=no echo $ac_n "checking for initscr""... $ac_c" 1>&6 -echo "configure:3821: checking for initscr" >&5 +echo "configure:4066: checking for initscr" >&5 if eval "test \"`echo '$''{'ac_cv_func_initscr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3826 "configure" +#line 4071 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char initscr(); below. */ @@ -3845,7 +4090,7 @@ initscr(); ; return 0; } EOF -if { (eval echo configure:3849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_initscr=yes" else @@ -3865,17 +4110,17 @@ else cf_save_LIBS="$LIBS" echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6 -echo "configure:3869: checking for initscr in -lncurses" >&5 +echo "configure:4114: checking for initscr in -lncurses" >&5 LIBS="-lncurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 3872 "configure" +#line 4117 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cf_cv_have_lib_ncurses=yes @@ -3902,17 +4147,17 @@ test "$prefix" != /usr && cf_search="$cf_search /usr/lib /usr/lib/ncur for cf_libdir in $cf_search do echo $ac_n "checking for -lncurses in $cf_libdir""... $ac_c" 1>&6 -echo "configure:3906: checking for -lncurses in $cf_libdir" >&5 +echo "configure:4151: checking for -lncurses in $cf_libdir" >&5 LIBS="-L$cf_libdir -lncurses $cf_save_LIBS" cat > conftest.$ac_ext <<EOF -#line 3909 "configure" +#line 4154 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> int main() { initscr() ; return 0; } EOF -if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cf_cv_have_lib_ncurses=yes @@ -3939,7 +4184,7 @@ fi if test -n "$cf_ncurses_LIBS" ; then echo $ac_n "checking if we can link ncurses without $cf_ncurses_LIBS""... $ac_c" 1>&6 -echo "configure:3943: checking if we can link ncurses without $cf_ncurses_LIBS" >&5 +echo "configure:4188: checking if we can link ncurses without $cf_ncurses_LIBS" >&5 cf_ncurses_SAVE="$LIBS" for p in $cf_ncurses_LIBS ; do q=`echo $LIBS | sed -e 's/'$p' //' -e 's/'$p'$//'` @@ -3948,14 +4193,14 @@ echo "configure:3943: checking if we can link ncurses without $cf_ncurses_LIBS" fi done cat > conftest.$ac_ext <<EOF -#line 3952 "configure" +#line 4197 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> int main() { initscr(); tgoto((char *)0, 0, 0); ; return 0; } EOF -if { (eval echo configure:3959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else @@ -3979,7 +4224,7 @@ cf_cv_lib_termcap=none # HP-UX 9.x terminfo has setupterm, but no tigetstr. if test "$termlib" = none; then echo $ac_n "checking for tigetstr in -ltermlib""... $ac_c" 1>&6 -echo "configure:3983: checking for tigetstr in -ltermlib" >&5 +echo "configure:4228: checking for tigetstr in -ltermlib" >&5 ac_lib_var=`echo termlib'_'tigetstr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3987,7 +4232,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ltermlib $LIBS" cat > conftest.$ac_ext <<EOF -#line 3991 "configure" +#line 4236 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3998,7 +4243,7 @@ int main() { tigetstr() ; return 0; } EOF -if { (eval echo configure:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4021,7 +4266,7 @@ fi fi if test "$cf_cv_lib_termcap" = none; then echo $ac_n "checking for tgoto in -ltermlib""... $ac_c" 1>&6 -echo "configure:4025: checking for tgoto in -ltermlib" >&5 +echo "configure:4270: checking for tgoto in -ltermlib" >&5 ac_lib_var=`echo termlib'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4029,7 +4274,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ltermlib $LIBS" cat > conftest.$ac_ext <<EOF -#line 4033 "configure" +#line 4278 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4040,7 +4285,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4064,7 +4309,7 @@ fi if test "$cf_cv_lib_termcap" = none; then # allow curses library for broken AIX system. echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6 -echo "configure:4068: checking for initscr in -lcurses" >&5 +echo "configure:4313: checking for initscr in -lcurses" >&5 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4072,7 +4317,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lcurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 4076 "configure" +#line 4321 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4083,7 +4328,7 @@ int main() { initscr() ; return 0; } EOF -if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4104,7 +4349,7 @@ else fi echo $ac_n "checking for tgoto in -ltermcap""... $ac_c" 1>&6 -echo "configure:4108: checking for tgoto in -ltermcap" >&5 +echo "configure:4353: checking for tgoto in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4112,7 +4357,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <<EOF -#line 4116 "configure" +#line 4361 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4123,7 +4368,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:4127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4146,7 +4391,7 @@ fi fi if test "$cf_cv_lib_termcap" = none; then echo $ac_n "checking for tgoto in -ltermcap""... $ac_c" 1>&6 -echo "configure:4150: checking for tgoto in -ltermcap" >&5 +echo "configure:4395: checking for tgoto in -ltermcap" >&5 ac_lib_var=`echo termcap'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4154,7 +4399,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ltermcap $LIBS" cat > conftest.$ac_ext <<EOF -#line 4158 "configure" +#line 4403 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4165,7 +4410,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:4169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4188,7 +4433,7 @@ fi fi if test "$cf_cv_lib_termcap" = none; then echo $ac_n "checking for tgoto in -lncurses""... $ac_c" 1>&6 -echo "configure:4192: checking for tgoto in -lncurses" >&5 +echo "configure:4437: checking for tgoto in -lncurses" >&5 ac_lib_var=`echo ncurses'_'tgoto | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4196,7 +4441,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lncurses $LIBS" cat > conftest.$ac_ext <<EOF -#line 4200 "configure" +#line 4445 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4207,7 +4452,7 @@ int main() { tgoto() ; return 0; } EOF -if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4237,20 +4482,20 @@ fi echo $ac_n "checking for slang header file""... $ac_c" 1>&6 -echo "configure:4241: checking for slang header file" >&5 +echo "configure:4486: checking for slang header file" >&5 if eval "test \"`echo '$''{'cf_cv_slang_header'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4247 "configure" +#line 4492 "configure" #include "confdefs.h" #include <slang.h> int main() { printf("%s\n", SLANG_VERSION) ; return 0; } EOF -if { (eval echo configure:4254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_slang_header=predefined else @@ -4327,12 +4572,12 @@ esac echo $ac_n "checking for acos""... $ac_c" 1>&6 -echo "configure:4331: checking for acos" >&5 +echo "configure:4576: checking for acos" >&5 if eval "test \"`echo '$''{'ac_cv_func_acos'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4336 "configure" +#line 4581 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char acos(); below. */ @@ -4355,7 +4600,7 @@ acos(); ; return 0; } EOF -if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_acos=yes" else @@ -4374,7 +4619,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for acos in -lm""... $ac_c" 1>&6 -echo "configure:4378: checking for acos in -lm" >&5 +echo "configure:4623: checking for acos in -lm" >&5 ac_lib_var=`echo m'_'acos | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4382,7 +4627,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS $LIBS" cat > conftest.$ac_ext <<EOF -#line 4386 "configure" +#line 4631 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4393,7 +4638,7 @@ int main() { acos() ; return 0; } EOF -if { (eval echo configure:4397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4432,12 +4677,12 @@ fi cf_cv_have_lib_slang=no echo $ac_n "checking for SLtt_get_screen_size""... $ac_c" 1>&6 -echo "configure:4436: checking for SLtt_get_screen_size" >&5 +echo "configure:4681: checking for SLtt_get_screen_size" >&5 if eval "test \"`echo '$''{'ac_cv_func_SLtt_get_screen_size'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4441 "configure" +#line 4686 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char SLtt_get_screen_size(); below. */ @@ -4460,7 +4705,7 @@ SLtt_get_screen_size(); ; return 0; } EOF -if { (eval echo configure:4464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_SLtt_get_screen_size=yes" else @@ -4480,17 +4725,17 @@ else cf_save_LIBS="$LIBS" echo $ac_n "checking for SLtt_get_screen_size in -lslang""... $ac_c" 1>&6 -echo "configure:4484: checking for SLtt_get_screen_size in -lslang" >&5 +echo "configure:4729: checking for SLtt_get_screen_size in -lslang" >&5 LIBS="-lslang $LIBS" cat > conftest.$ac_ext <<EOF -#line 4487 "configure" +#line 4732 "configure" #include "confdefs.h" #include <slang.h> int main() { SLtt_get_screen_size() ; return 0; } EOF -if { (eval echo configure:4494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cf_cv_have_lib_slang=yes @@ -4517,17 +4762,17 @@ test "$prefix" != /usr && cf_search="$cf_search /usr/lib /usr/lib/slan for cf_libdir in $cf_search do echo $ac_n "checking for -lslang in $cf_libdir""... $ac_c" 1>&6 -echo "configure:4521: checking for -lslang in $cf_libdir" >&5 +echo "configure:4766: checking for -lslang in $cf_libdir" >&5 LIBS="-L$cf_libdir -lslang $cf_save_LIBS" cat > conftest.$ac_ext <<EOF -#line 4524 "configure" +#line 4769 "configure" #include "confdefs.h" #include <slang.h> int main() { SLtt_get_screen_size() ; return 0; } EOF -if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cf_cv_have_lib_slang=yes @@ -4560,17 +4805,24 @@ if test "${with_cfg_file+set}" = set; then withval="$with_cfg_file" : else - withval="${LYNX_CFG_FILE-$ac_default_prefix/lib/lynx.cfg}" + withval="${LYNX_CFG_FILE-$libdir/lynx.cfg}" fi case ".$withval" in #(vi -./*) +./*) #(vi + ;; +.\${*) #(vi + eval withval="$withval" + case ".$withval" in #(vi + .NONE/*) + withval=`echo $withval | sed -e s@NONE@$ac_default_prefix@` + ;; + esac ;; #(vi *) - echo 'configure: error: expected a pathname for LYNX_CFG_FILE' 1>&2 - exit 1 + { echo "configure: error: expected a pathname for cfg-file" 1>&2; exit 1; } ;; esac -LYNX_CFG_FILE="$withval" +eval LYNX_CFG_FILE="$withval" cat >> confdefs.h <<EOF #define LYNX_CFG_FILE "$LYNX_CFG_FILE" @@ -4579,12 +4831,12 @@ EOF echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:4583: checking for ANSI C header files" >&5 +echo "configure:4835: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4588 "configure" +#line 4840 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -4592,7 +4844,7 @@ else #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -4609,7 +4861,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 4613 "configure" +#line 4865 "configure" #include "confdefs.h" #include <string.h> EOF @@ -4627,7 +4879,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 4631 "configure" +#line 4883 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -4648,7 +4900,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <<EOF -#line 4652 "configure" +#line 4904 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -4659,7 +4911,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then : else @@ -4683,12 +4935,12 @@ EOF fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:4687: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:4939: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4692 "configure" +#line 4944 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/time.h> @@ -4697,7 +4949,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:4701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -4722,12 +4974,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:4726: checking for $ac_hdr that defines DIR" >&5 +echo "configure:4978: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4731 "configure" +#line 4983 "configure" #include "confdefs.h" #include <sys/types.h> #include <$ac_hdr> @@ -4735,7 +4987,7 @@ int main() { DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:4739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -4760,7 +5012,7 @@ done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:4764: checking for opendir in -ldir" >&5 +echo "configure:5016: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4768,7 +5020,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <<EOF -#line 4772 "configure" +#line 5024 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4779,7 +5031,7 @@ int main() { opendir() ; return 0; } EOF -if { (eval echo configure:4783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4801,7 +5053,7 @@ fi else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:4805: checking for opendir in -lx" >&5 +echo "configure:5057: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4809,7 +5061,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <<EOF -#line 4813 "configure" +#line 5065 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4820,7 +5072,7 @@ int main() { opendir() ; return 0; } EOF -if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4851,24 +5103,26 @@ for ac_hdr in \ sys/ioctl.h \ sys/param.h \ sys/time.h \ + sys/wait.h \ termio.h \ termios.h \ unistd.h \ + waitstatus.h \ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4862: checking for $ac_hdr" >&5 +echo "configure:5116: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4867 "configure" +#line 5121 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -4896,13 +5150,13 @@ done echo $ac_n "checking termio.h and termios.h""... $ac_c" 1>&6 -echo "configure:4900: checking termio.h and termios.h" >&5 +echo "configure:5154: checking termio.h and termios.h" >&5 if eval "test \"`echo '$''{'cf_cv_termio_and_termios'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4906 "configure" +#line 5160 "configure" #include "confdefs.h" #if HAVE_TERMIO_H @@ -4915,7 +5169,7 @@ int main() { putchar (0x0a) ; return 0; } EOF -if { (eval echo configure:4919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_termio_and_termios=yes else @@ -4934,14 +5188,55 @@ EOF +echo $ac_n "checking for union wait""... $ac_c" 1>&6 +echo "configure:5193: checking for union wait" >&5 +if eval "test \"`echo '$''{'cf_cv_type_unionwait'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + + cat > conftest.$ac_ext <<EOF +#line 5199 "configure" +#include "confdefs.h" + +#include <sys/types.h> +#if HAVE_SYS_WAIT_H +#include <sys/wait.h> +#endif +#if HAVE_WAITSTATUS_H +#include <waitstatus.h> +#endif + +int main() { +union wait x +; return 0; } +EOF +if { (eval echo configure:5214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + cf_cv_type_unionwait=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + cf_cv_type_unionwait=no +fi +rm -f conftest* +fi + +echo "$ac_t""$cf_cv_type_unionwait" 1>&6 +test $cf_cv_type_unionwait = yes && cat >> confdefs.h <<\EOF +#define HAVE_TYPE_UNIONWAIT 1 +EOF + + + echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:4940: checking for pid_t" >&5 +echo "configure:5235: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4945 "configure" +#line 5240 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -4970,17 +5265,17 @@ fi ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 -echo "configure:4974: checking for vfork.h" >&5 +echo "configure:5269: checking for vfork.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4979 "configure" +#line 5274 "configure" #include "confdefs.h" #include <vfork.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -5005,18 +5300,18 @@ else fi echo $ac_n "checking for working vfork""... $ac_c" 1>&6 -echo "configure:5009: checking for working vfork" >&5 +echo "configure:5304: checking for working vfork" >&5 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$cross_compiling" = yes; then echo $ac_n "checking for vfork""... $ac_c" 1>&6 -echo "configure:5015: checking for vfork" >&5 +echo "configure:5310: checking for vfork" >&5 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5020 "configure" +#line 5315 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char vfork(); below. */ @@ -5039,7 +5334,7 @@ vfork(); ; return 0; } EOF -if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_vfork=yes" else @@ -5060,7 +5355,7 @@ fi else cat > conftest.$ac_ext <<EOF -#line 5064 "configure" +#line 5359 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include <stdio.h> @@ -5155,7 +5450,7 @@ main() { } } EOF -if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_vfork_works=yes else @@ -5179,20 +5474,20 @@ fi echo $ac_n "checking for broken/missing definition of remove""... $ac_c" 1>&6 -echo "configure:5183: checking for broken/missing definition of remove" >&5 +echo "configure:5478: checking for broken/missing definition of remove" >&5 if eval "test \"`echo '$''{'cf_cv_baddef_remove'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5189 "configure" +#line 5484 "configure" #include "confdefs.h" #include <stdio.h> int main() { remove("dummy") ; return 0; } EOF -if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_baddef_remove=no else @@ -5200,7 +5495,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext <<EOF -#line 5204 "configure" +#line 5499 "configure" #include "confdefs.h" #include <stdio.h> int __unlink(name) { return unlink(name); } @@ -5208,7 +5503,7 @@ int main() { remove("dummy") ; return 0; } EOF -if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_baddef_remove=yes else @@ -5235,15 +5530,16 @@ for ac_func in \ getcwd \ putenv \ readdir \ + waitpid \ do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5242: checking for $ac_func" >&5 +echo "configure:5538: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5247 "configure" +#line 5543 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5266,7 +5562,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5294,13 +5590,13 @@ done echo $ac_n "checking if TRUE/FALSE are defined""... $ac_c" 1>&6 -echo "configure:5298: checking if TRUE/FALSE are defined" >&5 +echo "configure:5594: checking if TRUE/FALSE are defined" >&5 if eval "test \"`echo '$''{'cf_cv_bool_defs'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5304 "configure" +#line 5600 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> @@ -5309,7 +5605,7 @@ int main() { int x = TRUE, y = FALSE ; return 0; } EOF -if { (eval echo configure:5313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_bool_defs=yes else @@ -5335,13 +5631,13 @@ fi echo $ac_n "checking for errno external decl""... $ac_c" 1>&6 -echo "configure:5339: checking for errno external decl" >&5 +echo "configure:5635: checking for errno external decl" >&5 if eval "test \"`echo '$''{'cf_cv_extern_errno'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5345 "configure" +#line 5641 "configure" #include "confdefs.h" #include <errno.h> @@ -5349,7 +5645,7 @@ int main() { int x = errno ; return 0; } EOF -if { (eval echo configure:5353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_extern_errno=yes else @@ -5369,20 +5665,20 @@ EOF echo $ac_n "checking for setlocale()""... $ac_c" 1>&6 -echo "configure:5373: checking for setlocale()" >&5 +echo "configure:5669: checking for setlocale()" >&5 if eval "test \"`echo '$''{'cf_cv_locale'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5379 "configure" +#line 5675 "configure" #include "confdefs.h" #include <locale.h> int main() { setlocale(LC_ALL, "") ; return 0; } EOF -if { (eval echo configure:5386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_locale=yes else @@ -5403,13 +5699,13 @@ EOF echo $ac_n "checking if NGROUPS is defined""... $ac_c" 1>&6 -echo "configure:5407: checking if NGROUPS is defined" >&5 +echo "configure:5703: checking if NGROUPS is defined" >&5 if eval "test \"`echo '$''{'cf_cv_ngroups'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5413 "configure" +#line 5709 "configure" #include "confdefs.h" #if HAVE_SYS_PARAM_H @@ -5423,7 +5719,7 @@ int main() { int x = NGROUPS ; return 0; } EOF -if { (eval echo configure:5427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_ngroups=yes else @@ -5431,7 +5727,7 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext <<EOF -#line 5435 "configure" +#line 5731 "configure" #include "confdefs.h" #if HAVE_SYS_PARAM_H @@ -5445,7 +5741,7 @@ int main() { int x = NGROUPS_MAX ; return 0; } EOF -if { (eval echo configure:5449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_ngroups=NGROUPS_MAX else @@ -5476,13 +5772,13 @@ fi echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6 -echo "configure:5480: checking declaration of sys_errlist" >&5 +echo "configure:5776: checking declaration of sys_errlist" >&5 if eval "test \"`echo '$''{'cf_cv_dcl_sys_errlist'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5486 "configure" +#line 5782 "configure" #include "confdefs.h" #include <stdio.h> @@ -5492,7 +5788,7 @@ int main() { char *c = (char *) *sys_errlist ; return 0; } EOF -if { (eval echo configure:5496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_dcl_sys_errlist=yes else @@ -5512,13 +5808,13 @@ EOF echo $ac_n "checking if struct utmp is declared""... $ac_c" 1>&6 -echo "configure:5516: checking if struct utmp is declared" >&5 +echo "configure:5812: checking if struct utmp is declared" >&5 if eval "test \"`echo '$''{'cf_cv_have_utmp'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5522 "configure" +#line 5818 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5527,7 +5823,7 @@ int main() { struct utmp x; char *y = &x.ut_host[0] ; return 0; } EOF -if { (eval echo configure:5531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_have_utmp=yes else @@ -5535,14 +5831,14 @@ else cat conftest.$ac_ext >&5 rm -rf conftest* cat > conftest.$ac_ext <<EOF -#line 5539 "configure" +#line 5835 "configure" #include "confdefs.h" #include <utmpx.h> int main() { struct utmpx x; char *y = &x.ut_host[0] ; return 0; } EOF -if { (eval echo configure:5546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_have_utmp=utmpx else @@ -5573,13 +5869,13 @@ EOF if test $cf_cv_screen != slang ; then echo $ac_n "checking if curses supports alternate-character set""... $ac_c" 1>&6 -echo "configure:5577: checking if curses supports alternate-character set" >&5 +echo "configure:5873: checking if curses supports alternate-character set" >&5 if eval "test \"`echo '$''{'cf_cv_alt_char_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5583 "configure" +#line 5879 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> @@ -5588,7 +5884,7 @@ int main() { chtype x = acs_map['l']; acs_map['m'] = 0 ; return 0; } EOF -if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_alt_char_set=yes else @@ -5608,13 +5904,13 @@ EOF echo $ac_n "checking if curses supports fancy attributes""... $ac_c" 1>&6 -echo "configure:5612: checking if curses supports fancy attributes" >&5 +echo "configure:5908: checking if curses supports fancy attributes" >&5 if eval "test \"`echo '$''{'cf_cv_fancy_curses'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5618 "configure" +#line 5914 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> @@ -5627,7 +5923,7 @@ attrset(A_UNDERLINE|A_BOLD|A_REVERSE); ; return 0; } EOF -if { (eval echo configure:5631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:5927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_fancy_curses=yes else @@ -5647,7 +5943,7 @@ EOF echo $ac_n "checking for ncurses version""... $ac_c" 1>&6 -echo "configure:5651: checking for ncurses version" >&5 +echo "configure:5947: checking for ncurses version" >&5 if eval "test \"`echo '$''{'cf_cv_ncurses_version'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5664,7 +5960,7 @@ Autoconf "old" #endif EOF cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" - { (eval echo configure:5668: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; } + { (eval echo configure:5964: \"$cf_try\") 1>&5; (eval $cf_try) 2>&5; } if test -f conftest.out ; then cf_out=`cat conftest.out | sed -e 's@^[^\"]*\"@@' -e 's@\".*@@'` test -n "$cf_out" && cf_cv_ncurses_version="$cf_out" @@ -5681,7 +5977,7 @@ if eval "test \"`echo '$''{'cf_cv_ncurses_broken'+set}'`\" = set"; then else cat > conftest.$ac_ext <<EOF -#line 5685 "configure" +#line 5981 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> @@ -5695,7 +5991,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:5699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_ncurses_broken=no else @@ -5719,13 +6015,13 @@ fi echo $ac_n "checking if curses supports color attributes""... $ac_c" 1>&6 -echo "configure:5723: checking if curses supports color attributes" >&5 +echo "configure:6019: checking if curses supports color attributes" >&5 if eval "test \"`echo '$''{'cf_cv_color_curses'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5729 "configure" +#line 6025 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> @@ -5740,7 +6036,7 @@ chtype x = COLOR_BLUE; ; return 0; } EOF -if { (eval echo configure:5744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_color_curses=yes else @@ -5767,7 +6063,7 @@ fi echo $ac_n "checking declaration of size-change""... $ac_c" 1>&6 -echo "configure:5771: checking declaration of size-change" >&5 +echo "configure:6067: checking declaration of size-change" >&5 if eval "test \"`echo '$''{'cf_cv_sizechange'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5781,7 +6077,7 @@ do CFLAGS="$cf_save_CFLAGS" test -n "$cf_opts" && CFLAGS="$CFLAGS -D$cf_opts" cat > conftest.$ac_ext <<EOF -#line 5785 "configure" +#line 6081 "configure" #include "confdefs.h" #include <sys/types.h> #if HAVE_TERMIOS_H @@ -5816,7 +6112,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:5820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* cf_cv_sizechange=yes else @@ -5847,20 +6143,20 @@ EOF echo $ac_n "checking if ttytype is declared in curses library""... $ac_c" 1>&6 -echo "configure:5851: checking if ttytype is declared in curses library" >&5 +echo "configure:6147: checking if ttytype is declared in curses library" >&5 if eval "test \"`echo '$''{'cf_cv_have_ttytype'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5857 "configure" +#line 6153 "configure" #include "confdefs.h" #include <$cf_cv_ncurses_header> int main() { char *x = &ttytype[1]; *x = 1 ; return 0; } EOF -if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* cf_cv_have_ttytype=yes else @@ -5885,12 +6181,12 @@ EOF do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5889: checking for $ac_func" >&5 +echo "configure:6185: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5894 "configure" +#line 6190 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5913,7 +6209,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5942,8 +6238,11 @@ fi + + + echo $ac_n "checking if character-translation code should be used""... $ac_c" 1>&6 -echo "configure:5947: checking if character-translation code should be used" >&5 +echo "configure:6246: checking if character-translation code should be used" >&5 # Check whether --enable-char-trans or --disable-char-trans was given. if test "${enable_char_trans+set}" = set; then enableval="$enable_char_trans" @@ -5971,7 +6270,7 @@ EOF fi echo $ac_n "checking if color-style code should be used""... $ac_c" 1>&6 -echo "configure:5975: checking if color-style code should be used" >&5 +echo "configure:6274: checking if color-style code should be used" >&5 # Check whether --enable-color-style or --disable-color-style was given. if test "${enable_color_style+set}" = set; then enableval="$enable_color_style" @@ -6023,7 +6322,7 @@ EOF esac echo $ac_n "checking if you want to use zlib for decompression of some gzip files""... $ac_c" 1>&6 -echo "configure:6027: checking if you want to use zlib for decompression of some gzip files" >&5 +echo "configure:6326: checking if you want to use zlib for decompression of some gzip files" >&5 # Check whether --with-zlib or --without-zlib was given. if test "${with_zlib+set}" = set; then withval="$with_zlib" @@ -6038,12 +6337,12 @@ if test ".$use_zlib" != ".no" ; then cf_cv_have_lib_z=no echo $ac_n "checking for gzopen""... $ac_c" 1>&6 -echo "configure:6042: checking for gzopen" >&5 +echo "configure:6341: checking for gzopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_gzopen'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6047 "configure" +#line 6346 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gzopen(); below. */ @@ -6066,7 +6365,7 @@ gzopen(); ; return 0; } EOF -if { (eval echo configure:6070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_gzopen=yes" else @@ -6086,17 +6385,17 @@ else cf_save_LIBS="$LIBS" echo $ac_n "checking for gzopen in -lz""... $ac_c" 1>&6 -echo "configure:6090: checking for gzopen in -lz" >&5 +echo "configure:6389: checking for gzopen in -lz" >&5 LIBS="-lz $LIBS" cat > conftest.$ac_ext <<EOF -#line 6093 "configure" +#line 6392 "configure" #include "confdefs.h" #include <zlib.h> int main() { gzopen("name","mode") ; return 0; } EOF -if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cf_cv_have_lib_z=yes @@ -6123,17 +6422,17 @@ test "$prefix" != /usr && cf_search="$cf_search /usr/lib /usr/lib/z" for cf_libdir in $cf_search do echo $ac_n "checking for -lz in $cf_libdir""... $ac_c" 1>&6 -echo "configure:6127: checking for -lz in $cf_libdir" >&5 +echo "configure:6426: checking for -lz in $cf_libdir" >&5 LIBS="-L$cf_libdir -lz $cf_save_LIBS" cat > conftest.$ac_ext <<EOF -#line 6130 "configure" +#line 6429 "configure" #include "confdefs.h" #include <zlib.h> int main() { gzopen("name","mode") ; return 0; } EOF -if { (eval echo configure:6137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* echo "$ac_t""yes" 1>&6 cf_cv_have_lib_z=yes @@ -6163,10 +6462,13 @@ EOF fi + + + # All DirEd functions that were enabled on compilation can be disabled # or modified at run time via DIRED_MENU symbols in lynx.cfg. echo $ac_n "checking if directory-editor code should be used""... $ac_c" 1>&6 -echo "configure:6170: checking if directory-editor code should be used" >&5 +echo "configure:6472: checking if directory-editor code should be used" >&5 # Check whether --enable-dired or --disable-dired was given. if test "${enable_dired+set}" = set; then enableval="$enable_dired" @@ -6191,7 +6493,7 @@ EOF echo $ac_n "checking if you wish to allow extracting from archives via DirEd""... $ac_c" 1>&6 -echo "configure:6195: checking if you wish to allow extracting from archives via DirEd" >&5 +echo "configure:6497: checking if you wish to allow extracting from archives via DirEd" >&5 # Check whether --enable-dired-archive or --disable-dired-archive was given. if test "${enable_dired_archive+set}" = set; then enableval="$enable_dired_archive" @@ -6209,7 +6511,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow users to redefine DirEd keys""... $ac_c" 1>&6 -echo "configure:6213: checking if you wish to allow users to redefine DirEd keys" >&5 +echo "configure:6515: checking if you wish to allow users to redefine DirEd keys" >&5 # Check whether --enable-dired-override or --disable-dired-override was given. if test "${enable_dired_override+set}" = set; then enableval="$enable_dired_override" @@ -6234,7 +6536,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow permissions commands via DirEd""... $ac_c" 1>&6 -echo "configure:6238: checking if you wish to allow permissions commands via DirEd" >&5 +echo "configure:6540: checking if you wish to allow permissions commands via DirEd" >&5 # Check whether --enable-dired-permit or --disable-dired-permit was given. if test "${enable_dired_permit+set}" = set; then enableval="$enable_dired_permit" @@ -6259,7 +6561,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow executable-permission commands via DirEd""... $ac_c" 1>&6 -echo "configure:6263: checking if you wish to allow executable-permission commands via DirEd" >&5 +echo "configure:6565: checking if you wish to allow executable-permission commands via DirEd" >&5 # Check whether --enable-dired-xpermit or --disable-dired-xpermit was given. if test "${enable_dired_xpermit+set}" = set; then enableval="$enable_dired_xpermit" @@ -6277,7 +6579,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow \"tar\" commands from DirEd""... $ac_c" 1>&6 -echo "configure:6281: checking if you wish to allow \"tar\" commands from DirEd" >&5 +echo "configure:6583: checking if you wish to allow \"tar\" commands from DirEd" >&5 # Check whether --enable-dired-tar or --disable-dired-tar was given. if test "${enable_dired_tar+set}" = set; then enableval="$enable_dired_tar" @@ -6302,7 +6604,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow \"uudecode\" commands from DirEd""... $ac_c" 1>&6 -echo "configure:6306: checking if you wish to allow \"uudecode\" commands from DirEd" >&5 +echo "configure:6608: checking if you wish to allow \"uudecode\" commands from DirEd" >&5 # Check whether --enable-dired-uudecode or --disable-dired-uudecode was given. if test "${enable_dired_uudecode+set}" = set; then enableval="$enable_dired_uudecode" @@ -6327,7 +6629,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow \"zip\" and \"unzip\" commands from DirEd""... $ac_c" 1>&6 -echo "configure:6331: checking if you wish to allow \"zip\" and \"unzip\" commands from DirEd" >&5 +echo "configure:6633: checking if you wish to allow \"zip\" and \"unzip\" commands from DirEd" >&5 # Check whether --enable-dired-zip or --disable-dired-zip was given. if test "${enable_dired_zip+set}" = set; then enableval="$enable_dired_zip" @@ -6352,7 +6654,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd""... $ac_c" 1>&6 -echo "configure:6356: checking if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd" >&5 +echo "configure:6658: checking if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd" >&5 # Check whether --enable-dired-gzip or --disable-dired-gzip was given. if test "${enable_dired_gzip+set}" = set; then enableval="$enable_dired_gzip" @@ -6378,7 +6680,7 @@ fi fi echo $ac_n "checking if you want long-directory listings""... $ac_c" 1>&6 -echo "configure:6382: checking if you want long-directory listings" >&5 +echo "configure:6684: checking if you want long-directory listings" >&5 # Check whether --enable-long-list or --disable-long-list was given. if test "${enable_long_list+set}" = set; then enableval="$enable_long_list" @@ -6403,7 +6705,7 @@ fi echo "$ac_t""$enableval" 1>&6 echo $ac_n "checking if parent-directory references are permitted""... $ac_c" 1>&6 -echo "configure:6407: checking if parent-directory references are permitted" >&5 +echo "configure:6709: checking if parent-directory references are permitted" >&5 # Check whether --enable-parent-dir-refs or --disable-parent-dir-refs was given. if test "${enable_parent_dir_refs+set}" = set; then enableval="$enable_parent_dir_refs" @@ -6420,153 +6722,6 @@ fi echo "$ac_t""$enableval" 1>&6 - -echo $ac_n "checking if you want to see long compiling messages""... $ac_c" 1>&6 -echo "configure:6426: checking if you want to see long compiling messages" >&5 -# Check whether --enable-echo or --disable-echo was given. -if test "${enable_echo+set}" = set; then - enableval="$enable_echo" - test "$enableval" != no && enableval=yes - if test "$enableval" != "yes" ; then - SHOW_CC=' @echo compiling $@' - ECHO_CC='@' - else - SHOW_CC='# compiling' - ECHO_CC='' - fi -else - enableval=yes - SHOW_CC='# compiling' - ECHO_CC='' - -fi - -echo "$ac_t""$enableval" 1>&6 - - - -echo $ac_n "checking if you want to check memory-leaks""... $ac_c" 1>&6 -echo "configure:6450: checking if you want to check memory-leaks" >&5 -# Check whether --enable-find-leaks or --disable-find-leaks was given. -if test "${enable_find_leaks+set}" = set; then - enableval="$enable_find_leaks" - test "$enableval" != yes && enableval=no - if test "$enableval" != "no" ; then - with_leak_checks=yes - else - with_leak_checks=no - fi -else - enableval=no - with_leak_checks=no - -fi - -echo "$ac_t""$with_leak_checks" 1>&6 -test "$with_leak_checks" = "yes" && cat >> confdefs.h <<\EOF -#define LY_FIND_LEAKS 1 -EOF - - -echo $ac_n "checking if you want to enable debug-code""... $ac_c" 1>&6 -echo "configure:6473: checking if you want to enable debug-code" >&5 -# Check whether --enable-debug or --disable-debug was given. -if test "${enable_debug+set}" = set; then - enableval="$enable_debug" - test "$enableval" != yes && enableval=no - if test "$enableval" != "no" ; then - with_debug=yes - else - with_debug=no - fi -else - enableval=no - with_debug=no - -fi - -echo "$ac_t""$with_debug" 1>&6 -if test "$with_debug" = "yes" ; then - case $host_os in - ultrix*) - -CFLAGS=`echo ${CFLAGS} | sed -e 's/-O[1-9]\? //' -e 's/-O[1-9]\?$//'` - - if test -z "$GCC" ; then - CFLAGS="$CFLAGS -g3" - fi - ;; - esac -else - case $host_os in - ultrix*) #(vi - CFLAGS=`echo ${CFLAGS} | sed -e 's/-g //' -e 's/-g$//'` - ;; - *) - if test -n "$GCC" ; then - CFLAGS=`echo ${CFLAGS} | sed -e 's/-g //' -e 's/-g$//'` - fi - ;; - esac -fi - -if test -n "$GCC" -then -echo $ac_n "checking if you want to turn on gcc warnings""... $ac_c" 1>&6 -echo "configure:6517: checking if you want to turn on gcc warnings" >&5 -# Check whether --enable-warnings or --disable-warnings was given. -if test "${enable_warnings+set}" = set; then - enableval="$enable_warnings" - test "$enableval" != yes && enableval=no - if test "$enableval" != "no" ; then - with_warnings=yes - else - with_warnings=no - fi -else - enableval=no - with_warnings=no - -fi - -echo "$ac_t""$with_warnings" 1>&6 -if test "$with_warnings" = "yes" -then - EXTRA_CFLAGS="" -if test -n "$GCC" -then - cat > conftest.$ac_ext <<EOF -#line 6540 "configure" -int main(int argc, char *argv[]) { return argv[argc-1] == 0; } -EOF - echo "checking for gcc warning options" 1>&6 -echo "configure:6544: checking for gcc warning options" >&5 - cf_save_CFLAGS="$CFLAGS" - EXTRA_CFLAGS="-W -Wall" - for cf_opt in \ - Wbad-function-cast \ - Wcast-align \ - Winline \ - Wmissing-declarations \ - Wmissing-prototypes \ - Wnested-externs \ - Wpointer-arith \ - Wshadow \ - Wstrict-prototypes - do - CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo configure:6559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then - test -n "$verbose" && echo "$ac_t""... -$cf_opt" 1>&6 - EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" - fi - done - rm -f conftest* - CFLAGS="$cf_save_CFLAGS" -fi - -fi -fi - ### Finally, build config.h and the makefiles CFLAGS="$CFLAGS $EXTRA_CFLAGS" trap '' 1 2 15 @@ -6718,6 +6873,8 @@ s%@make_include_right@%$make_include_right%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@LINT@%$LINT%g +s%@SHOW_CC@%$SHOW_CC%g +s%@ECHO_CC@%$ECHO_CC%g s%@CHMOD@%$CHMOD%g s%@COMPRESS@%$COMPRESS%g s%@COPY@%$COPY%g @@ -6736,8 +6893,6 @@ s%@ZIP@%$ZIP%g s%@LYNX_CFG_FILE@%$LYNX_CFG_FILE%g s%@EXTRA_OBJS@%$EXTRA_OBJS%g s%@EXTRA_DEPS@%$EXTRA_DEPS%g -s%@SHOW_CC@%$SHOW_CC%g -s%@ECHO_CC@%$ECHO_CC%g CEOF EOF diff --git a/configure.in b/configure.in index 4e78a02c..bd56accd 100644 --- a/configure.in +++ b/configure.in @@ -22,6 +22,80 @@ CF_MAKE_INCLUDE AC_PROG_INSTALL AC_CHECK_PROGS(LINT, lint alint lclint tdlint, []) +dnl -------------------------------------------------------------------------- +dnl Debug/development/test +dnl -------------------------------------------------------------------------- + +CF_HELP_MESSAGE( +Development Options:) + +AC_MSG_CHECKING(if you want to see long compiling messages) +CF_ARG_DISABLE(echo, + [ --disable-echo display \"compiling\" commands], + [SHOW_CC=' @echo compiling $@' + ECHO_CC='@'], + [SHOW_CC='# compiling' + ECHO_CC='']) +AC_MSG_RESULT($enableval) +AC_SUBST(SHOW_CC) +AC_SUBST(ECHO_CC) + +AC_MSG_CHECKING(if you want to check memory-leaks) +CF_ARG_ENABLE(find-leaks, + [ --enable-find-leaks logic for testing memory leaks], + [with_leak_checks=yes], + [with_leak_checks=no]) +AC_MSG_RESULT($with_leak_checks) +test "$with_leak_checks" = "yes" && AC_DEFINE(LY_FIND_LEAKS) + +AC_MSG_CHECKING(if you want to enable debug-code) +CF_ARG_ENABLE(debug, + [ --enable-debug logic for traces/debugging], + [with_debug=yes], + [with_debug=no]) +AC_MSG_RESULT($with_debug) +if test "$with_debug" = "yes" ; then + case $host_os in + ultrix*) + CF_STRIP_O_OPT(CFLAGS) + if test -z "$GCC" ; then + CFLAGS="$CFLAGS -g3" + fi + ;; + esac +else + case $host_os in + ultrix*) #(vi + CF_STRIP_G_OPT(CFLAGS) + ;; + *) + if test -n "$GCC" ; then + CF_STRIP_G_OPT(CFLAGS) + fi + ;; + esac +fi + +if test -n "$GCC" +then +AC_MSG_CHECKING(if you want to turn on gcc warnings) +CF_ARG_ENABLE(warnings, + [ --enable-warnings GCC compiler warnings], + [with_warnings=yes], + [with_warnings=no]) +AC_MSG_RESULT($with_warnings) +if test "$with_warnings" = "yes" +then + CF_GCC_WARNINGS +fi +fi + +dnl -------------------------------------------------------------------------- +dnl -------------------------------------------------------------------------- + +CF_HELP_MESSAGE( +Basic Configuration Options:) + AC_MSG_CHECKING(if you want full utility pathnames) CF_ARG_DISABLE(full-paths, [ --disable-full-paths control whether full utility pathnames are used], @@ -140,6 +214,10 @@ sequent-ptx) sequent-ptx2) CFLAGS="$CFLAGS -DSVR4_BSDSELECT" ;; +sony-newsos*) + CFLAGS="$CFLAGS -I/usr/sony/include" + AC_CHECK_HEADERS(jcurses.h) + ;; svr4) CFLAGS="$CFLAGS -DSVR4_BSDSELECT -DSVR4" ;; @@ -153,6 +231,7 @@ ultrix*) # Increase the maximum size of functions that will be optimized. test -z "$GCC" && CFLAGS="$CFLAGS -O -Olimit 600 -G 7" CFLAGS="$CFLAGS -DULTRIX" + AC_CHECK_HEADERS(cursesX.h, cf_cv_ncurses_header=cursesX.h) ;; esac @@ -181,9 +260,11 @@ AC_MSG_RESULT($cf_cv_screen) case $cf_cv_screen in curses) + if eval "test \"`echo '$''{'cf_cv_ncurses_header'+set}'`\" != set"; then + cf_cv_ncurses_header=curses.h + fi CF_CURSES_LIBS CF_CURS_PERFORMANCE - cf_cv_ncurses_header=curses.h ;; ncurses) CF_NCURSES_CPPFLAGS @@ -198,7 +279,7 @@ esac CF_WITH_PATH(cfg-file, [ --with-cfg-file=XXXX specify config-pathname], -LYNX_CFG_FILE,[$]ac_default_prefix/lib/lynx.cfg) +LYNX_CFG_FILE,LIBDIR/lynx.cfg,[$]libdir/lynx.cfg) AC_DEFINE_UNQUOTED(LYNX_CFG_FILE,"$LYNX_CFG_FILE") dnl -------------------------------------------------------------------------- @@ -217,11 +298,14 @@ AC_CHECK_HEADERS( \ sys/ioctl.h \ sys/param.h \ sys/time.h \ + sys/wait.h \ termio.h \ termios.h \ unistd.h \ + waitstatus.h \ ) CF_TERMIO_AND_TERMIOS +CF_UNION_WAIT dnl -------------------------------------------------------------------------- dnl Checks for library units @@ -234,6 +318,7 @@ AC_CHECK_FUNCS( \ getcwd \ putenv \ readdir \ + waitpid \ ) dnl -------------------------------------------------------------------------- @@ -265,6 +350,10 @@ fi dnl -------------------------------------------------------------------------- dnl Miscellaneous options that don't need to test system features dnl -------------------------------------------------------------------------- + +CF_HELP_MESSAGE( +Miscellaneous Options:) + AC_SUBST(EXTRA_OBJS) AC_SUBST(EXTRA_DEPS) @@ -324,6 +413,13 @@ if test ".$use_zlib" != ".no" ; then AC_DEFINE(USE_ZLIB) fi +dnl -------------------------------------------------------------------------- +dnl DirEd (directory-editor) options +dnl -------------------------------------------------------------------------- + +CF_HELP_MESSAGE( +Directory Editor Options:) + # All DirEd functions that were enabled on compilation can be disabled # or modified at run time via DIRED_MENU symbols in lynx.cfg. AC_MSG_CHECKING(if directory-editor code should be used) @@ -338,42 +434,42 @@ if test ".$use_dired" != ".no" ; then AC_MSG_CHECKING(if you wish to allow extracting from archives via DirEd) CF_ARG_DISABLE(dired-archive, - [ --disable-dired-archive DirEd: disable dearchiving commands],[AC_DEFINE(ARCHIVE_ONLY)]) + [ --disable-dired-archive disable dearchiving commands],[AC_DEFINE(ARCHIVE_ONLY)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow users to redefine DirEd keys) CF_ARG_DISABLE(dired-override, - [ --disable-dired-override DirEd: disable private keymaps],,[AC_DEFINE(OK_OVERRIDE)]) + [ --disable-dired-override disable private keymaps],,[AC_DEFINE(OK_OVERRIDE)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow permissions commands via DirEd) CF_ARG_DISABLE(dired-permit, - [ --disable-dired-permit DirEd: disable chmod/attrib commands],,[AC_DEFINE(OK_PERMIT)]) + [ --disable-dired-permit disable chmod/attrib commands],,[AC_DEFINE(OK_PERMIT)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow executable-permission commands via DirEd) CF_ARG_DISABLE(dired-xpermit, - [ --disable-dired-xpermit DirEd: disable chmod/attrib commands],[AC_DEFINE(NO_CHANGE_EXECUTE_PERMS)]) + [ --disable-dired-xpermit disable chmod/attrib commands],[AC_DEFINE(NO_CHANGE_EXECUTE_PERMS)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow \"tar\" commands from DirEd) CF_ARG_DISABLE(dired-tar, - [ --disable-dired-tar DirEd: disable \"tar\" command],,[AC_DEFINE(OK_TAR)]) + [ --disable-dired-tar disable \"tar\" command],,[AC_DEFINE(OK_TAR)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow \"uudecode\" commands from DirEd) CF_ARG_DISABLE(dired-uudecode, - [ --disable-dired-uudecode DirEd: disable \"uudecode\" command],,[AC_DEFINE(OK_UUDECODE)]) + [ --disable-dired-uudecode disable \"uudecode\" command],,[AC_DEFINE(OK_UUDECODE)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow \"zip\" and \"unzip\" commands from DirEd) CF_ARG_DISABLE(dired-zip, - [ --disable-dired-zip DirEd: disable \"zip\", \"unzip\" commands],,[AC_DEFINE(OK_ZIP)]) + [ --disable-dired-zip disable \"zip\", \"unzip\" commands],,[AC_DEFINE(OK_ZIP)]) AC_MSG_RESULT($enableval) AC_MSG_CHECKING(if you wish to allow \"gzip\" and \"gunzip\" commands from DirEd) CF_ARG_DISABLE(dired-gzip, - [ --disable-dired-gzip DirEd: disable \"gzip\", \"gunzip\" commands],,[AC_DEFINE(OK_GZIP)]) + [ --disable-dired-gzip disable \"gzip\", \"gunzip\" commands],,[AC_DEFINE(OK_GZIP)]) AC_MSG_RESULT($enableval) fi @@ -390,71 +486,6 @@ CF_ARG_DISABLE(parent-dir-refs, [AC_DEFINE(NO_PARENT_DIR_REFERENCE)]) AC_MSG_RESULT($enableval) -dnl -------------------------------------------------------------------------- -dnl Debug/development/test -dnl -------------------------------------------------------------------------- - -AC_MSG_CHECKING(if you want to see long compiling messages) -CF_ARG_DISABLE(echo, - [ --disable-echo develop: display \"compiling\" commands], - [SHOW_CC=' @echo compiling $@' - ECHO_CC='@'], - [SHOW_CC='# compiling' - ECHO_CC='']) -AC_MSG_RESULT($enableval) -AC_SUBST(SHOW_CC) -AC_SUBST(ECHO_CC) - -AC_MSG_CHECKING(if you want to check memory-leaks) -CF_ARG_ENABLE(find-leaks, - [ --enable-find-leaks develop: logic for testing memory leaks], - [with_leak_checks=yes], - [with_leak_checks=no]) -AC_MSG_RESULT($with_leak_checks) -test "$with_leak_checks" = "yes" && AC_DEFINE(LY_FIND_LEAKS) - -AC_MSG_CHECKING(if you want to enable debug-code) -CF_ARG_ENABLE(debug, - [ --enable-debug develop: logic for traces/debugging], - [with_debug=yes], - [with_debug=no]) -AC_MSG_RESULT($with_debug) -if test "$with_debug" = "yes" ; then - case $host_os in - ultrix*) - CF_STRIP_O_OPT(CFLAGS) - if test -z "$GCC" ; then - CFLAGS="$CFLAGS -g3" - fi - ;; - esac -else - case $host_os in - ultrix*) #(vi - CF_STRIP_G_OPT(CFLAGS) - ;; - *) - if test -n "$GCC" ; then - CF_STRIP_G_OPT(CFLAGS) - fi - ;; - esac -fi - -if test -n "$GCC" -then -AC_MSG_CHECKING(if you want to turn on gcc warnings) -CF_ARG_ENABLE(warnings, - [ --enable-warnings develop: GCC compiler warnings], - [with_warnings=yes], - [with_warnings=no]) -AC_MSG_RESULT($with_warnings) -if test "$with_warnings" = "yes" -then - CF_GCC_WARNINGS -fi -fi - ### Finally, build config.h and the makefiles CFLAGS="$CFLAGS $EXTRA_CFLAGS" AC_OUTPUT( @@ -218,19 +218,22 @@ DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html # ISO Latin 3 iso-8859-3 # ISO Latin 4 iso-8859-4 # ISO Latin 5 Cyrillic iso-8859-5 +# ISO Latin 6 Arabic iso-8859-6 # ISO Latin 7 Greek iso-8859-7 +# ISO Latin 8 Hebrew iso-8859-8 # ISO Latin 9 (Latin 5) iso-8859-9 # ISO Latin 10 iso-8859-10 # PC Latin2 CP 852 cp852 -# DOSCyrillic (cp866) cp866 +# DosCyrillic (cp866) cp866 # MS Windows CP 1250 windows-1250 # WinCyrillic (cp1251) windows-1251 # MS Windows CP 1252 iso-8859-1-windows-3.1-latin-1 +# Vietnamese (VISCII) viscii # UNICODE UTF 8 unicode-1-1-utf-8 # RFC 1345 w/o Intro mnemonic+ascii+0 # RFC 1345 Mnemonic mnemonic # -CHARACTER_SET:ISO Latin 1 +#CHARACTER_SET:ISO Latin 1 # IF compiled with -DEXP_CHARTRANS: # ASSUME_CHARSET changes the handling of documents which do not diff --git a/newfiles.chartrans b/newfiles.chartrans index 033d5514..2c464d30 100644 --- a/newfiles.chartrans +++ b/newfiles.chartrans @@ -35,3 +35,6 @@ lynx2-7-1/src/UCAuto.h lynx2-7-1/src/UCAux.c lynx2-7-1/src/UCdomap.c lynx2-7-1/src/UCdomap.h +lynx2-7-1/src/chrtrans/cp1251_uni.tbl +lynx2-7-1/src/chrtrans/cp866_uni.tbl +lynx2-7-1/src/chrtrans/viscii_uni.tbl diff --git a/samples/lynx.cfg b/samples/lynx.cfg index 8be0c629..58f6a189 100644 --- a/samples/lynx.cfg +++ b/samples/lynx.cfg @@ -218,19 +218,22 @@ DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html # ISO Latin 3 iso-8859-3 # ISO Latin 4 iso-8859-4 # ISO Latin 5 Cyrillic iso-8859-5 +# ISO Latin 6 Arabic iso-8859-6 # ISO Latin 7 Greek iso-8859-7 +# ISO Latin 8 Hebrew iso-8859-8 # ISO Latin 9 (Latin 5) iso-8859-9 # ISO Latin 10 iso-8859-10 # PC Latin2 CP 852 cp852 -# DOSCyrillic (cp866) cp866 +# DosCyrillic (cp866) cp866 # MS Windows CP 1250 windows-1250 # WinCyrillic (cp1251) windows-1251 # MS Windows CP 1252 iso-8859-1-windows-3.1-latin-1 +# Vietnamese (VISCII) viscii # UNICODE UTF 8 unicode-1-1-utf-8 # RFC 1345 w/o Intro mnemonic+ascii+0 # RFC 1345 Mnemonic mnemonic # -CHARACTER_SET:ISO Latin 1 +#CHARACTER_SET:ISO Latin 1 # IF compiled with -DEXP_CHARTRANS: # ASSUME_CHARSET changes the handling of documents which do not diff --git a/src/GridText.c b/src/GridText.c index e1c414d6..301d2a18 100644 --- a/src/GridText.c +++ b/src/GridText.c @@ -12,8 +12,6 @@ #include "HTTP.h" #include "HTAlert.h" #include "HTCJK.h" -#include "UCDefs.h" -#include "UCAux.h" #include <assert.h> #include <ctype.h> @@ -4487,6 +4485,7 @@ PUBLIC void print_wwwfile_to_fd ARGS2( fputc(line->data[i],fp); } else if (line->data[i] == LY_SOFT_HYPHEN && line->data[i + 1] == '\0') { /* last char on line */ +#ifdef EXP_CHARTRANS if (dump_output_immediately && LYRawMode && LYlowest_eightbit[current_char_set] <= 173 && @@ -4497,6 +4496,9 @@ PUBLIC void print_wwwfile_to_fd ARGS2( } else { fputc('-', fp); } +#else /* EXP_CHARTRANS */ + fputc('-', fp); +#endif /* EXP_CHARTRANS */ } else if (dump_output_immediately && use_underscore) { switch (line->data[i]) { case LY_UNDERLINE_START_CHAR: @@ -4563,6 +4565,7 @@ PUBLIC void print_crawl_to_fd ARGS3( fputc(line->data[i],fp); } else if (line->data[i] == LY_SOFT_HYPHEN && line->data[i + 1] == '\0') { /* last char on line */ +#ifdef EXP_CHARTRANS if (dump_output_immediately && LYRawMode && LYlowest_eightbit[current_char_set] <= 173 && @@ -4573,6 +4576,9 @@ PUBLIC void print_crawl_to_fd ARGS3( } else { fputc('-', fp); } +#else /* EXP_CHARTRANS */ + fputc('-', fp); +#endif /* EXP_CHARTRANS */ } } /* diff --git a/src/HTFWriter.c b/src/HTFWriter.c index e869eb73..a5dd12a5 100644 --- a/src/HTFWriter.c +++ b/src/HTFWriter.c @@ -243,10 +243,17 @@ PRIVATE void HTFWriter_free ARGS1(HTStream *, me) * for local files. - KW */ if (!skip_loadfile) { + if (HTAnchor_getUCLYhndl(me->anchor, + UCT_STAGE_PARSER) < 0 ) { + /* If not yet set - kw */ + HTAnchor_copyUCInfoStage(me->anchor, + UCT_STAGE_PARSER, + UCT_STAGE_MIME, + UCT_SETBY_DEFAULT+1); + } HTAnchor_copyUCInfoStage(me->anchor, UCT_STAGE_PARSER, - UCT_STAGE_MIME, - UCT_SETBY_PARSER); + UCT_STAGE_MIME, -1); } #endif /* diff --git a/src/HTInit.c b/src/HTInit.c index db3a9225..9de4f24a 100644 --- a/src/HTInit.c +++ b/src/HTInit.c @@ -50,7 +50,8 @@ PUBLIC void HTFormatInit NOARGS #ifdef NeXT HTSetPresentation("application/postscript", "open %s", 1.0, 2.0, 0.0, 0); - HTSetPresentation("image/x-tiff", "open %s", 1.0, 2.0, 0.0, 0); + HTSetPresentation("image/x-tiff", "open %s", 2.0, 2.0, 0.0, 0); + HTSetPresentation("image/tiff", "open %s", 1.0, 2.0, 0.0, 0); HTSetPresentation("audio/basic", "open %s", 1.0, 2.0, 0.0, 0); HTSetPresentation("*", "open %s", 1.0, 0.0, 0.0, 0); #else @@ -118,7 +119,7 @@ PUBLIC void HTFormatInit NOARGS HTSetConversion("application/x-wais-source", "www/source", HTPlainPresent, 1.0, 0.0, 0.0, 0); HTSetConversion("application/x-wais-source", "www/present", - HTWSRCConvert, 1.0, 0.0, 0.0, 0); + HTWSRCConvert, 2.0, 0.0, 0.0, 0); HTSetConversion("application/x-wais-source", "www/download", HTWSRCConvert, 1.0, 0.0, 0.0, 0); HTSetConversion("application/x-wais-source", "www/dump", @@ -181,6 +182,14 @@ PUBLIC void HTFormatInit NOARGS } +PUBLIC void HTPreparsedFormatInit NOARGS +{ + if (LYPreparsedSource) { + HTSetConversion("text/html", "www/source", HTMLParsedPresent, 1.0, 0.0, 0.0, 0); + HTSetConversion("text/html", "www/dump", HTMLParsedPresent, 1.0, 0.0, 0.0, 0); + } +} + /* Some of the following is taken from: */ /* @@ -281,8 +290,7 @@ PRIVATE char *Cleanse ARGS1(char *,s) PRIVATE int ProcessMailcapEntry ARGS2(FILE *,fp, struct MailcapEntry *,mc) { int i, j; - size_t rawentryalloc = 2000; - size_t len; + size_t rawentryalloc = 2000, len; char *rawentry, *s, *t, *LineBuf; LineBuf = malloc(LINE_BUF_SIZE); @@ -409,46 +409,65 @@ PUBLIC void HTML_put_string ARGS2(HTStructured *, me, CONST char *, s) HTChunkPuts(&me->math, s); break; - default: /* Free format text */ - { + default: /* Free format text? */ + if (!me->sp->style->freeFormat) { + /* + * If we are within a preformatted text style not caught + * by the cases above (HTML_PRE or similar may not be the + * last element pushed on the style stack). - kw + */ + HText_appendText(me->text, s); + break; + } else { CONST char *p = s; + char c; if (me->style_change) { - for (; *p && - ((*p == '\n') || (*p == ' ') || (*p == '\t')); p++) + for (; *p && ((*p == '\n') || (*p == '\r') || + (*p == ' ') || (*p == '\t')); p++) ; /* Ignore leaders */ if (!*p) return; UPDATE_STYLE; } for (; *p; p++) { + if (*p == 13 && p[1] != 10) { + /* + * Treat any '\r' which is not followed by '\n' + * as '\n', to account for macintosh lineend in + * ALT attributes etc. - kw + */ + c = '\n'; + } else { + c = *p; + } if (me->style_change) { - if ((*p == '\n') || (*p == ' ') || (*p == '\t')) + if ((c == '\n') || (c == ' ') || (c == '\t')) continue; /* Ignore it */ UPDATE_STYLE; } - if (*p == '\n') { + if (c == '\n') { if (me->in_word) { if (HText_getLastChar(me->text) != ' ') HText_appendCharacter(me->text, ' '); me->in_word = NO; } - } else if (*p == ' ' || *p == '\t') { + } else if (c == ' ' || c == '\t') { if (HText_getLastChar(me->text) != ' ') HText_appendCharacter(me->text, ' '); - } else if (*p == '\r') { + } else if (c == '\r') { /* ignore */ } else { - HText_appendCharacter(me->text, *p); + HText_appendCharacter(me->text, c); me->in_word = YES; } /* set the Last Character */ - if (*p == '\n' || *p == '\t') { + if (c == '\n' || c == '\t') { /* set it to a generic seperater */ HText_setLastChar(me->text, ' '); - } else if (*p == '\r' && + } else if (c == '\r' && HText_getLastChar(me->text) == ' ') { /* * \r's are ignored. In order to keep collapsing @@ -458,7 +477,7 @@ PUBLIC void HTML_put_string ARGS2(HTStructured *, me, CONST char *, s) */ HText_setLastChar(me->text, ' '); } else { - HText_setLastChar(me->text, *p); + HText_setLastChar(me->text, c); } } /* for */ @@ -7207,6 +7226,59 @@ PUBLIC HTStream* HTMLToPlain ARGS3( return SGML_new(&HTML_dtd, anchor, HTML_new(anchor, pres->rep_out, sink)); } +/* HTConverter for HTML source to plain text +** ----------------------------------------- +** +** This will preparse HTML and convert back to presentation or plain text. +*/ +PUBLIC HTStream* HTMLParsedPresent ARGS3( + HTPresentation *, pres, + HTParentAnchor *, anchor, + HTStream *, sink) +{ + HTStream * intermediate = sink; + if (!intermediate) { +#ifdef EXP_CHARTRANS + /* + * Trick to prevent HTPlainPresent from translating again. + * Temporarily change UCT_STAGE_PARSER setting in anchor + * while the HTPlain stream is initialized, so that HTPlain + * sees its input and output charsets as the same. - kw + */ + int old_parser_cset = HTAnchor_getUCLYhndl(anchor,UCT_STAGE_PARSER); + int structured_cset = HTAnchor_getUCLYhndl(anchor,UCT_STAGE_STRUCTURED); + if (structured_cset < 0) + structured_cset = HTAnchor_getUCLYhndl(anchor,UCT_STAGE_HTEXT); + if (structured_cset < 0) + structured_cset = current_char_set; + HTAnchor_setUCInfoStage(anchor, structured_cset, + UCT_STAGE_PARSER, UCT_SETBY_MIME); +#endif /* EXP_CHARTRANS */ + if (pres->rep_out == WWW_SOURCE) { +/* intermediate = HTPlainPresent(pres, anchor, NULL); */ + intermediate = HTStreamStack(WWW_PLAINTEXT, WWW_PRESENT, + NULL, anchor); + } else { + intermediate = HTStreamStack(WWW_PLAINTEXT, pres->rep_out, + NULL, anchor); + } +#ifdef EXP_CHARTRANS + if (old_parser_cset != structured_cset) { + HTAnchor_resetUCInfoStage(anchor, old_parser_cset, + UCT_STAGE_PARSER, UCT_SETBY_NONE); + if (old_parser_cset >= 0) { + HTAnchor_setUCInfoStage(anchor, old_parser_cset, + UCT_STAGE_PARSER, + UCT_SETBY_DEFAULT+1); + } + } +#endif /* EXP_CHARTRANS */ + } + if (!intermediate) + return NULL; + return SGML_new(&HTML_dtd, anchor, HTMLGenerator(intermediate)); +} + /* HTConverter for HTML to C code ** ------------------------------ ** @@ -178,6 +178,11 @@ extern HTStream* HTMLToPlain PARAMS(( HTParentAnchor * anchor, HTStream * sink)); +extern HTStream* HTMLParsedPresent PARAMS(( + HTPresentation * pres, + HTParentAnchor * anchor, + HTStream * sink)); + extern HTStream* HTMLToC PARAMS(( HTPresentation * pres, HTParentAnchor * anchor, diff --git a/src/LYCgi.c b/src/LYCgi.c index c3658cae..3e825502 100644 --- a/src/LYCgi.c +++ b/src/LYCgi.c @@ -289,11 +289,11 @@ PRIVATE int LYLoadCGI ARGS4( int fd1[2], fd2[2]; char buf[1024]; pid_t pid; -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID union wait wstatus; #else int wstatus; -#endif /* NeXT || AIX4 || sony_news */ +#endif /* Decode full HTTP response */ format_in = HTAtom_for("www/mime"); @@ -376,12 +376,12 @@ PRIVATE int LYLoadCGI ARGS4( (*target->isa->put_block)(target, buf, chars); } -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID while (wait(&wstatus) != pid) ; /* do nothing */ #else waitpid(pid, &wstatus, 0); /* wait for child */ -#endif /* NeXT || AIX4 || sony_news */ +#endif if (anAnchor->post_data) { close(fd1[1]); } diff --git a/src/LYCharUtils.c b/src/LYCharUtils.c index 14f2646c..678bbab8 100644 --- a/src/LYCharUtils.c +++ b/src/LYCharUtils.c @@ -1377,6 +1377,12 @@ PUBLIC char * LYUnEscapeEntities ARGS3( HTCJK != NOCJK)))) { *q++ = ' '; p++; + } else if (!hidden && *p == 10 && q != str && *(q-1) == 13) { + /* + * If this is not a hidden string, and the current char + * is the LF ('\n') of a CRLF pair, drop the CR ('\r'). - kw + */ + *(q-1) = *p++; } else { *q++ = *p++; } @@ -1999,7 +2005,7 @@ PUBLIC void LYHandleMETA ARGS4( UCT_STAGE_HTEXT, UCT_SETBY_DEFAULT); } - if (!(p_in->enc & UCT_ENC_CJK) && + if (p_in->enc != UCT_ENC_CJK && (p_in->codepoints & UCT_CP_SUBSETOF_LAT1)) { HTCJK = NOCJK; } else if (chndl == current_char_set) { @@ -2994,18 +3000,18 @@ PUBLIC void LYResetParagraphAlignment ARGS1( } PUBLIC BOOLEAN LYCheckForCSI ARGS2( - HTStructured *, me, + HTParentAnchor *, anchor, char **, url) { - if (!(me && me->node_anchor && me->node_anchor->address)) + if (!(anchor && anchor->address)) return FALSE; - if (strncasecomp(me->node_anchor->address, "file:", 5)) + if (strncasecomp(anchor->address, "file:", 5)) return FALSE; - if (!LYisLocalHost(me->node_anchor->address)) + if (!LYisLocalHost(anchor->address)) return FALSE; - StrAllocCopy(*url, me->node_anchor->address); + StrAllocCopy(*url, anchor->address); return TRUE; } diff --git a/src/LYCharUtils.h b/src/LYCharUtils.h index 55433d18..51c33962 100644 --- a/src/LYCharUtils.h +++ b/src/LYCharUtils.h @@ -85,7 +85,7 @@ extern void LYEnsureSingleSpace PARAMS(( extern void LYResetParagraphAlignment PARAMS(( HTStructured * me)); extern BOOLEAN LYCheckForCSI PARAMS(( - HTStructured * me, + HTParentAnchor * anchor, char ** url)); #endif /* Lynx_HTML_Handler */ diff --git a/src/LYCookie.c b/src/LYCookie.c index efed484c..67ddd131 100644 --- a/src/LYCookie.c +++ b/src/LYCookie.c @@ -521,7 +521,7 @@ PRIVATE char * scan_cookie_sublist ARGS6( if (TRACE && co) { fprintf(stderr, "Checking cookie %lx %s=%s\n", - (long) hl, + (long)hl, (co->name ? co->name : "(no name)"), (co->value ? co->value : "(no value)")); fprintf(stderr, "%s %s %i %s %s %i%s\n", @@ -1694,7 +1694,7 @@ PRIVATE void LYProcessSetCookies ARGS6( (co->value ? co->value : "[no value]")); if (co->expires > 0) { fprintf(stderr, " expires: %ld, %s\n", - (long) co->expires, + (long)co->expires, ctime(&co->expires)); } } diff --git a/src/LYCurses.c b/src/LYCurses.c index 808bb49d..e4a7718a 100644 --- a/src/LYCurses.c +++ b/src/LYCurses.c @@ -1599,8 +1599,9 @@ PUBLIC void lynx_start_link_color ARGS2( if (SLtt_Use_Ansi_Colors) start_underline (); #endif /* USE_SLANG */ -#if defined(FANCY_CURSES) - start_underline (); +#if defined(FANCY_CURSES) && defined(COLOR_CURSES) + if (lynx_uses_color && LYShowColor >= SHOW_COLOR_ON) + start_underline (); #endif /* USE_SLANG */ } else { start_bold(); @@ -1626,8 +1627,9 @@ PUBLIC void lynx_stop_link_color ARGS2( if (SLtt_Use_Ansi_Colors) stop_underline (); #endif /* USE_SLANG */ -#if defined(FANCY_CURSES) - stop_underline (); +#if defined(FANCY_CURSES) && defined(COLOR_CURSES) + if (lynx_uses_color && LYShowColor >= SHOW_COLOR_ON) + stop_underline (); #endif /* USE_SLANG */ } else { stop_bold(); diff --git a/src/LYCurses.h b/src/LYCurses.h index 1246bd2e..1478cade 100644 --- a/src/LYCurses.h +++ b/src/LYCurses.h @@ -43,51 +43,37 @@ #define REDEFINE_CR #endif /* CR */ -#ifdef DOSPATH -# include "curses.h" -#else -#ifdef NCURSES -# ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # ifdef HAVE_NCURSES_H # include <ncurses.h> # else -# include <curses.h> +# ifdef HAVE_CURSESX_H +# include <cursesX.h> /* Ultrix */ +# else +# ifdef HAVE_JCURSES_H +# include <jcurses.h> /* sony_news */ +# else +# include <curses.h> /* default */ +# endif +# endif # endif -# ifdef wgetbkgd +# if defined(wgetbkgd) && !defined(getbkgd) # define getbkgd(w) wgetbkgd(w) /* workaround pre-1.9.9g bug */ # endif +# ifdef NCURSES extern void LYsubwindow PARAMS((WINDOW * param)); - -# else /* FIXME: remove this after configure script is complete */ -# ifndef HAVE_NCURSES_H -# include <ncurses/curses.h> -# else -# ifdef __NetBSD__ -# include <ncurses/ncurses.h> -# else -# include <ncurses.h> -# endif /* __NetBSD__ */ -# endif /* HAVE_CONFIG_H */ -# endif /* HAVE_NCURSES_H */ +# endif /* NCURSES */ #else -# ifdef ULTRIX -# include <cursesX.h> /* ultrix */ +# if defined(VMS) && defined(__GNUC__) +# include "LYGCurses.h" # else -# if defined(VMS) && defined(__GNUC__) -# include "LYGCurses.h" -# else -# if defined(sony_news) -# include "/usr/sony/include/jcurses.h" /* sony_news */ -# else -# include <curses.h> /* everything else */ -# endif /* sony_news */ -# endif /* VMS && __GNUC__ */ -# endif /* ULTRIX */ -#endif /* NCURSES */ -#endif /* DOSPATH */ +# include <curses.h> /* everything else */ +# endif /* VMS && __GNUC__ */ +#endif /* HAVE_CONFIG_H */ + #endif /* USE_SLANG */ diff --git a/src/LYGetFile.c b/src/LYGetFile.c index 917bb037..bea7d19a 100644 --- a/src/LYGetFile.c +++ b/src/LYGetFile.c @@ -712,6 +712,8 @@ Try_Redirected_URL: * Check for redirection. */ if (use_this_url_instead != NULL) { + char *pound; + if (!is_url(use_this_url_instead)) { /* * The server did not return a complete @@ -803,6 +805,24 @@ Try_Redirected_URL: FREE(use_this_url_instead); return(NULLFILE); } + if ((pound = strchr(doc->address, '#')) != NULL && + strchr(use_this_url_instead, '#') == NULL) { + /* + * Our requested URL had a fragment + * associated with it, and the redirection + * URL doesn't, so we'll append the fragment + * associated with the original request. If + * it's bogus for the redirection URL, we'll + * be positioned at the top of that document, + * so there's no harm done. - FM + */ + if (TRACE) { + fprintf(stderr, + "getfile: Adding fragment '%s' to redirection URL.\n", + pound); + } + StrAllocCat(use_this_url_instead, pound); + } if (TRACE) sleep(MessageSecs); _user_message(WWW_USING_MESSAGE, @@ -846,7 +866,7 @@ Try_Redirected_URL: { char *pound; /* - * Check for #selector. + * Check for a #fragment selector. */ pound = (char *)strchr(doc->address, '#'); diff --git a/src/LYGlobalDefs.h b/src/LYGlobalDefs.h index 584fe9eb..6ecc9211 100644 --- a/src/LYGlobalDefs.h +++ b/src/LYGlobalDefs.h @@ -323,6 +323,7 @@ extern BOOLEAN LYSeekFragAREAinCur; extern BOOLEAN LYStripDotDotURLs; /* Try to fix ../ in some URLs? */ extern BOOLEAN LYForceSSLCookiesSecure; extern BOOLEAN LYNoCc; +extern BOOLEAN LYPreparsedSource; /* Show source as preparsed? */ #ifndef VMS extern BOOLEAN LYNoCore; diff --git a/src/LYLocal.c b/src/LYLocal.c index 6f4b44fa..2865603a 100644 --- a/src/LYLocal.c +++ b/src/LYLocal.c @@ -34,6 +34,7 @@ #include "HTParse.h" #include "LYCurses.h" #include "LYGlobalDefs.h" +#include "HTAlert.h" #include "LYUtils.h" #include "LYStrings.h" #include "LYCharUtils.h" @@ -1353,8 +1354,8 @@ form to permit %s %s.\n</Ol>\n</Form>\n", /* * Call chmod(). */ - sprintf(tmpbuf, "chmod %.4o %s", new_mode, destpath); - sprintf(amode, "%.4o", new_mode); + sprintf(tmpbuf, "chmod %.4o %s", (unsigned int)new_mode, destpath); + sprintf(amode, "%.4o", (unsigned int)new_mode); args[0] = "chmod"; args[1] = amode; args[2] = destpath; @@ -2204,11 +2205,11 @@ PUBLIC int LYExecv ARGS3( int rc; char tmpbuf[512]; pid_t pid; -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID union wait wstatus; #else int wstatus; -#endif /* NeXT || AIX4 || sony_news */ +#endif rc = 1; /* It will work */ tmpbuf[0] = '\0'; /* empty buffer for alert messages */ @@ -2223,12 +2224,12 @@ PUBLIC int LYExecv ARGS3( execv(path, argv); exit(-1); /* execv failed, give wait() something to look at */ default: /* parent */ -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID while (wait(&wstatus) != pid) ; /* do nothing */ #else waitpid(pid, &wstatus, 0); /* wait for child */ -#endif /* NeXT || AIX4 || sony_news */ +#endif if (WEXITSTATUS(wstatus) != 0 || WTERMSIG(wstatus) > 0) { /* error return */ sprintf(tmpbuf, "Probable failure to %s due to system error!", diff --git a/src/LYMail.c b/src/LYMail.c index dbf3b8a9..028c43bb 100644 --- a/src/LYMail.c +++ b/src/LYMail.c @@ -976,7 +976,12 @@ PUBLIC void reply_by_mail ARGS3( /* * Ask if the user wants to include the original message. */ - _statusline(INC_ORIG_MSG_PROMPT); + BOOLEAN is_preparsed = (LYPreparsedSource && + HTisDocumentSource()); + if (is_preparsed) + _statusline(INC_PREPARSED_MSG_PROMPT); + else + _statusline(INC_ORIG_MSG_PROMPT); c = 0; while (TOUPPER(c) != 'Y' && TOUPPER(c) != 'N' && !term_letter && c != 7 && c != 3) @@ -985,7 +990,10 @@ PUBLIC void reply_by_mail ARGS3( /* * The 1 will add the reply "> " in front of every line. */ - print_wwwfile_to_fd(fd, 1); + if (is_preparsed) + print_wwwfile_to_fd(fd, 0); + else + print_wwwfile_to_fd(fd, 1); } } fclose(fd); /* Close the tmpfile. */ diff --git a/src/LYMain.c b/src/LYMain.c index 10b143c0..39acab19 100644 --- a/src/LYMain.c +++ b/src/LYMain.c @@ -364,6 +364,7 @@ PUBLIC BOOLEAN LYSeekFragAREAinCur = TRUE; PUBLIC BOOLEAN LYStripDotDotURLs = TRUE; /* Try to fix ../ in some URLs? */ PUBLIC BOOLEAN LYForceSSLCookiesSecure = FALSE; PUBLIC BOOLEAN LYNoCc = FALSE; +PUBLIC BOOLEAN LYPreparsedSource = FALSE; /* Show source as preparsed? */ /* These are declared in cutil.h for current freeWAIS libraries. - FM */ #ifdef DECLARE_WAIS_LOGFILES @@ -1356,6 +1357,10 @@ PUBLIC int main ARGS2( } #endif /* USE_SLANG */ + if (LYPreparsedSource) { + HTPreparsedFormatInit(); + } + #if defined(EXEC_LINKS) || defined(EXEC_SCRIPTS) #ifdef NEVER_ALLOW_REMOTE_EXEC if (local_exec) { @@ -2329,6 +2334,9 @@ PRIVATE void parse_arg ARGS3( StrAllocCat(*post_data, buf); } + } else if (strncmp(argv[0], "-preparsed", 9) == 0) { + LYPreparsedSource = TRUE; + } else if (strncmp(argv[0], "-print", 6) == 0) { no_print=FALSE; @@ -2693,6 +2701,7 @@ Output_Help_List: printf(" popup windows or as lists of radio buttons\n"); printf(" -post_data user data for post forms, read from stdin,\n"); printf(" terminated by '---' on a line\n"); + printf(" -preparsed show parsed text/html with -source and in source view\n"); printf(" -print enable print functions (DEFAULT)\n"); printf(" -pseudo_inlines toggles pseudo-ALTs for inlines with no ALT string\n"); printf(" -raw toggles default setting of 8-bit character translations\n"); diff --git a/src/LYMainLoop.c b/src/LYMainLoop.c index 4a712098..d2215e02 100644 --- a/src/LYMainLoop.c +++ b/src/LYMainLoop.c @@ -430,19 +430,19 @@ try_again: } } if (try_internal) { - char *cp = strchr(newdoc.address,'#'); - if (cp) { - HTFindPoundSelector(cp+1); + char *hashp = strchr(newdoc.address,'#'); + if (hashp) { + HTFindPoundSelector(hashp+1); } getresult = (HTMainText != NULL) ? NORMAL : NOT_FOUND; try_internal = FALSE; /* done */ /* fix up newdoc.address which may have been fragment-only */ - if (getresult == NORMAL && (!cp || cp == newdoc.address)) { - if (!cp) { + if (getresult == NORMAL && (!hashp || hashp == newdoc.address)) { + if (!hashp) { StrAllocCopy(newdoc.address, HTLoadedDocumentURL()); } else { StrAllocCopy(temp, HTLoadedDocumentURL()); - StrAllocCat(temp, cp); /* append fragment */ + StrAllocCat(temp, hashp); /* append fragment */ StrAllocCopy(newdoc.address, temp); FREE(temp); } @@ -450,15 +450,15 @@ try_again: } else { if (newdoc.internal_link && newdoc.address && *newdoc.address == '#' && nhist > 0) { - char *cp; + char *cp0; if (0==strncmp(history[nhist-1].address, "LYNXIMGMAP:", 11)) - cp = history[nhist-1].address + 11; + cp0 = history[nhist-1].address + 11; else - cp = history[nhist-1].address; - StrAllocCopy(temp, cp); - cp = strchr(temp, '#'); - if (cp) - *cp = '\0'; + cp0 = history[nhist-1].address; + StrAllocCopy(temp, cp0); + cp0 = strchr(temp, '#'); + if (cp0) + *cp0 = '\0'; StrAllocCat(temp, newdoc.address); FREE(newdoc.address); newdoc.address = temp; @@ -1883,6 +1883,14 @@ new_cmd: /* _statusline(WILL_NOT_RELOAD_DOC); sleep(InfoSecs); } else { + /* + * If currently viewing preparsed source, switching + * to the other DTD parsing may show source differences, + * so stay in source view - kw + */ + if (HTisDocumentSource() && LYPreparsedSource) { + HTOutputFormat = WWW_SOURCE; + } HTuncache_current_document(); StrAllocCopy(newdoc.address, curdoc.address); FREE(curdoc.address); diff --git a/src/LYPrint.c b/src/LYPrint.c index 364cc2ca..d6f6e0a1 100644 --- a/src/LYPrint.c +++ b/src/LYPrint.c @@ -81,6 +81,7 @@ PUBLIC int printfile ARGS1( HTAtom *encoding; BOOL use_mime, use_cte, use_type; char *disp_charset; + static BOOLEAN first_mail_preparsed = TRUE; #ifdef VMS extern BOOLEAN HadVMSInterrupt; #else @@ -474,6 +475,32 @@ PUBLIC int printfile ARGS1( break; case MAIL: + if (LYPreparsedSource && first_mail_preparsed && + HTisDocumentSource()) { + _statusline(CONFIRM_MAIL_SOURCE_PREPARSED); + c = 0; + while (TOUPPER(c)!='Y' && TOUPPER(c)!='N' && + c != 7 && c != 3) + c = LYgetch(); +#ifdef VMS + if (HadVMSInterrupt) { + HadVMSInterrupt = FALSE; + _statusline(MAIL_REQUEST_CANCELLED); + sleep(InfoSecs); + break; + } +#endif /* VMS */ + if (c == RTARROW || c == 'y' || c== 'Y' + || c == '\n' || c == '\r') { + addstr(" Ok..."); + first_mail_preparsed = FALSE; + } else { + _statusline(MAIL_REQUEST_CANCELLED); + sleep(InfoSecs); + break; + } + } + _statusline(MAIL_ADDRESS_PROMPT); strcpy(user_response, (personal_mail_address ? personal_mail_address : "")); diff --git a/src/LYReadCFG.c b/src/LYReadCFG.c index 84c6b718..070fbcfc 100644 --- a/src/LYReadCFG.c +++ b/src/LYReadCFG.c @@ -627,7 +627,7 @@ PUBLIC void read_cfg ARGS1( keypad_mode = LINKS_ARE_NUMBERED; } else if (!strncasecomp(buffer, "DEFAULT_USER_MODE:", 18)) { - if (!strncasecomp(buffer+18, "NOVICE", 5)) + if (!strncasecomp(buffer+18, "NOVICE", 6)) user_mode = NOVICE_MODE; else if (!strncasecomp(buffer+18, "INTER", 5)) user_mode = INTERMEDIATE_MODE; diff --git a/src/LYStrings.c b/src/LYStrings.c index 547dfa82..03bef9af 100644 --- a/src/LYStrings.c +++ b/src/LYStrings.c @@ -61,13 +61,13 @@ PRIVATE int set_clicked_link ARGS2(int,x,int,y) /* Check the first line of the link */ if ( links[i].hightext != NULL && links[i].ly == y && - (x - links[i].lx) < strlen(links[i].hightext ) ) { + (x - links[i].lx) < (int)strlen(links[i].hightext ) ) { mouse_link=i; } /* Check the second line */ if (links[i].hightext2 != NULL && 1+links[i].ly == y && - (x - links[i].hightext2_offset) < strlen(links[i].hightext2) ) { + (x - links[i].hightext2_offset) < (int)strlen(links[i].hightext2) ) { mouse_link=i; } } diff --git a/src/LYStrings.h b/src/LYStrings.h index e789d0aa..7124a0b9 100644 --- a/src/LYStrings.h +++ b/src/LYStrings.h @@ -15,7 +15,6 @@ extern char * LYstrstr PARAMS((char *chptr, char *tarptr)); extern char * LYno_attr_char_strstr PARAMS((char *chptr, char *tarptr)); extern char * LYno_attr_char_case_strstr PARAMS((char *chptr, char *tarptr)); -#ifdef EXP_CHARTRANS extern char * LYno_attr_mbcs_strstr PARAMS(( char * chptr, char * tarptr, @@ -28,6 +27,7 @@ extern char * LYno_attr_mbcs_case_strstr PARAMS(( BOOL utf_flag, int * nstartp, int * nendp)); +#ifdef EXP_CHARTRANS extern int LYmbcsstrlen PARAMS(( char * str, BOOL utf_flag)); diff --git a/src/LYUtils.c b/src/LYUtils.c index 27898c31..d95a0635 100644 --- a/src/LYUtils.c +++ b/src/LYUtils.c @@ -5238,8 +5238,10 @@ extern int errno; #if defined(STDC_HEADERS) || defined(USG) #include <string.h> +#ifdef NOTDEFINED #define index strchr #define bcopy(s, d, n) memcpy((d), (s), (n)) +#endif /* NOTDEFINED */ #else /* Not (STDC_HEADERS or USG): */ #include <strings.h> #endif /* STDC_HEADERS or USG */ @@ -5260,7 +5262,7 @@ extern char **environ; PUBLIC int putenv ARGS1( CONST char *, string) { - char *name_end = index (string, '='); + char *name_end = strchr(string, '='); register size_t size; register char **ep; @@ -5291,10 +5293,10 @@ PUBLIC int putenv ARGS1( if (*ep == NULL) { static char **last_environ = NULL; - char **new_environ = (char **) malloc ((size + 2) * sizeof (char *)); + char **new_environ = (char **) malloc ((size + 2) * sizeof (char *)); if (new_environ == NULL) return -1; - (void) bcopy ((char *) environ, (char *) new_environ, size * sizeof (char *)); + (void) memcpy((char *)new_environ, (char *)environ, size * sizeof(char *)); new_environ[size] = (char *) string; new_environ[size + 1] = NULL; if (last_environ != NULL) diff --git a/src/Makefile b/src/Makefile index 30ad4f31..3b325018 100644 --- a/src/Makefile +++ b/src/Makefile @@ -62,7 +62,9 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)iso03_uni.h \ $(CHRTR)iso04_uni.h \ $(CHRTR)iso05_uni.h \ + $(CHRTR)iso06_uni.h \ $(CHRTR)iso07_uni.h \ + $(CHRTR)iso08_uni.h \ $(CHRTR)iso09_uni.h \ $(CHRTR)iso10_uni.h \ $(CHRTR)koi8r_uni.h \ @@ -73,6 +75,7 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)cp1250_uni.h \ $(CHRTR)cp1251_uni.h \ $(CHRTR)cp1252_uni.h \ + $(CHRTR)viscii_uni.h \ $(CHRTR)utf8_uni.h \ $(CHRTR)rfc_suni.h \ $(CHRTR)mnemonic_suni.h \ diff --git a/src/UCAux.c b/src/UCAux.c index 3eb5fcfe..401280a5 100644 --- a/src/UCAux.c +++ b/src/UCAux.c @@ -103,6 +103,7 @@ PUBLIC void UCSetTransParams ARGS5( int, cs_out, CONST LYUCcharset*, p_out) { + pT->trans_C0_to_uni = FALSE; pT->transp = (!strcmp(p_in->MIMEname, "x-transparent") || !strcmp(p_out->MIMEname, "x-transparent")); if (pT->transp) { @@ -113,6 +114,9 @@ PUBLIC void UCSetTransParams ARGS5( pT->use_raw_char_in = TRUE; pT->strip_raw_char_in = FALSE; pT->pass_160_173_raw = TRUE; + pT->repl_translated_C0 = (p_out->enc == UCT_ENC_8BIT_C0); + pT->trans_C0_to_uni = (p_in->enc == UCT_ENC_8BIT_C0 || + p_out->enc == UCT_ENC_8BIT_C0); } else { BOOL intm_ucs = FALSE; BOOL use_ucs = FALSE; @@ -126,6 +130,7 @@ PUBLIC void UCSetTransParams ARGS5( pT->do_8bitraw = FALSE; pT->pass_160_173_raw = TRUE; pT->use_raw_char_in = FALSE; /* not used for CJK */ + pT->repl_translated_C0 = FALSE; pT->trans_from_uni = FALSE; /* not used for CJK */ } else { intm_ucs = (cs_in == 0 || pT->decode_utf8 || @@ -133,6 +138,9 @@ PUBLIC void UCSetTransParams ARGS5( (UCT_CP_SUBSETOF_LAT1|UCT_CP_SUBSETOF_UCS2))); pT->trans_to_uni = (!intm_ucs && UCCanUniTranslateFrom(cs_in)); + pT->trans_C0_to_uni = (pT->trans_to_uni && + p_in->enc == UCT_ENC_8BIT_C0); + pT->repl_translated_C0 = (p_out->enc == UCT_ENC_8BIT_C0); pT->strip_raw_char_in = ((!intm_ucs || (p_out->enc == UCT_ENC_7BIT) || (p_out->repertoire & @@ -143,7 +151,8 @@ PUBLIC void UCSetTransParams ARGS5( pT->do_8bitraw = (!use_ucs); pT->pass_160_173_raw = (!use_ucs && !(p_in->like8859 & UCT_R_8859SPECL)); - pT->use_raw_char_in = (!pT->output_utf8 && cs_in == cs_out); + pT->use_raw_char_in = (!pT->output_utf8 && cs_in == cs_out && + !pT->trans_C0_to_uni); pT->trans_from_uni = (use_ucs && !pT->do_8bitraw && !pT->use_raw_char_in && UCCanTranslateUniTo(cs_out)); @@ -163,6 +172,8 @@ PUBLIC void UCTransParams_clear ARGS1( pT->strip_raw_char_in = FALSE; pT->pass_160_173_raw = FALSE; pT->trans_to_uni = FALSE; + pT->trans_C0_to_uni = FALSE; + pT->repl_translated_C0 = FALSE; pT->trans_from_uni = FALSE; } diff --git a/src/UCdomap.c b/src/UCdomap.c index 288b52aa..68b82403 100644 --- a/src/UCdomap.c +++ b/src/UCdomap.c @@ -39,7 +39,9 @@ #include "[.chrtrans]iso03_uni.h" #include "[.chrtrans]iso04_uni.h" #include "[.chrtrans]iso05_uni.h" +#include "[.chrtrans]iso06_uni.h" #include "[.chrtrans]iso07_uni.h" +#include "[.chrtrans]iso08_uni.h" #include "[.chrtrans]iso09_uni.h" #include "[.chrtrans]iso10_uni.h" #include "[.chrtrans]koi8r_uni.h" @@ -51,6 +53,7 @@ #include "[.chrtrans]cp1251_uni.h" #include "[.chrtrans]cp1252_uni.h" #include "[.chrtrans]utf8_uni.h" +#include "[.chrtrans]viscii_uni.h" #include "[.chrtrans]rfc_suni.h" #include "[.chrtrans]mnemonic_suni.h" #ifdef NOTDEFINED @@ -63,7 +66,9 @@ #include "chrtrans/iso03_uni.h" #include "chrtrans/iso04_uni.h" #include "chrtrans/iso05_uni.h" +#include "chrtrans/iso06_uni.h" #include "chrtrans/iso07_uni.h" +#include "chrtrans/iso08_uni.h" #include "chrtrans/iso09_uni.h" #include "chrtrans/iso10_uni.h" #include "chrtrans/koi8r_uni.h" @@ -74,6 +79,7 @@ #include "chrtrans/cp1250_uni.h" #include "chrtrans/cp1251_uni.h" #include "chrtrans/cp1252_uni.h" +#include "chrtrans/viscii_uni.h" #include "chrtrans/utf8_uni.h" #include "chrtrans/rfc_suni.h" #include "chrtrans/mnemonic_suni.h" @@ -1060,11 +1066,15 @@ PUBLIC long int UCTransToUni ARGS2( #ifndef UC_NO_SHORTCUTS if (charset_in == 0) return ch_iu; - if ((unsigned char)ch_in < 128) + if ((unsigned char)ch_in < 128 && (unsigned char)ch_in >= 32) return ch_iu; #endif /* UC_NO_SHORTCUTS */ if (charset_in < 0) return -11; + if ((unsigned char)ch_in < 32 && + LYCharSet_UC[charset_in].enc != UCT_ENC_8BIT_C0) + /* don't translate C0 chars except for specific charsets */ + return ch_iu; if ((UChndl_in = LYCharSet_UC[charset_in].UChndl) < 0) return -11; if (!UCInfo[UChndl_in].num_uni) @@ -1200,7 +1210,8 @@ if (buflen<2) if (rc >= 32) { outbuf[0] = rc; outbuf[1] = '\0'; return 1; - } else { + } else if (rc <= 0) { + outbuf[0] = '\0'; return rc; } } @@ -1261,12 +1272,12 @@ PUBLIC int UCGetLYhndl_byMIME ARGS1( } if (!strncmp(UC_MIMEcharset, "iso-2022-jp", 11)) { return UCGetLYhndl_byMIME("euc-jp"); - } else if (!strcmp(UC_MIMEcharset, "euc-kr")) { - return UCGetLYhndl_byMIME("iso-2022-kr"); + } else if (!strcmp(UC_MIMEcharset, "iso-2022-kr")) { + return UCGetLYhndl_byMIME("euc-kr"); } else if (!strcmp(UC_MIMEcharset, "gb2312")) { - return UCGetLYhndl_byMIME("iso-2022-cn"); - } else if (!strcmp(UC_MIMEcharset, "euc-cn")) { - return UCGetLYhndl_byMIME("iso-2022-cn"); + return UCGetLYhndl_byMIME("euc-cn"); + } else if (!strcmp(UC_MIMEcharset, "iso-2022-cn")) { + return UCGetLYhndl_byMIME("euc-cn"); } else if (!strcmp(UC_MIMEcharset, "windows-1252")) { /* * It's not my fault that Microsoft hasn't registered @@ -1664,7 +1675,9 @@ PUBLIC void UCInit NOARGS UC_CHARSET_SETUP_iso_8859_3; UC_CHARSET_SETUP_iso_8859_4; UC_CHARSET_SETUP_iso_8859_5; + UC_CHARSET_SETUP_iso_8859_6; UC_CHARSET_SETUP_iso_8859_7; + UC_CHARSET_SETUP_iso_8859_8; UC_CHARSET_SETUP_iso_8859_9; UC_CHARSET_SETUP_iso_8859_10; UC_CHARSET_SETUP_koi8_r; @@ -1676,6 +1689,7 @@ PUBLIC void UCInit NOARGS UC_CHARSET_SETUP_windows_1250; UC_CHARSET_SETUP_windows_1251; UC_CHARSET_SETUP_iso_8859_1_windows_; + UC_CHARSET_SETUP_viscii; UC_CHARSET_SETUP_unicode_1_1_utf_8; UC_CHARSET_SETUP_mnemonic_ascii_0; UC_CHARSET_SETUP_mnemonic; diff --git a/src/chrtrans/MAKEW32.BAT b/src/chrtrans/MAKEW32.BAT index 0c17aa1d..4a3afaf9 100644 --- a/src/chrtrans/MAKEW32.BAT +++ b/src/chrtrans/MAKEW32.BAT @@ -19,6 +19,7 @@ makeuctb cp852_uni.tbl > cp852_uni.h makeuctb cp1250_uni.tbl > cp1250_uni.h makeuctb cp1251_uni.tbl > cp1251_uni.h makeuctb cp1252_uni.tbl > cp1252_uni.h +makeuctb viscii_uni.tbl > viscii_uni.h makeuctb utf8_uni.tbl > utf8_uni.h makeuctb mnemonic_suni.tbl > mnemonic_suni.h makeuctb mnem_suni.tbl > mnem_suni.h diff --git a/src/chrtrans/Makefile b/src/chrtrans/Makefile index f5a44374..3b75ab08 100644 --- a/src/chrtrans/Makefile +++ b/src/chrtrans/Makefile @@ -28,7 +28,9 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)iso03_uni.h \ $(CHRTR)iso04_uni.h \ $(CHRTR)iso05_uni.h \ + $(CHRTR)iso06_uni.h \ $(CHRTR)iso07_uni.h \ + $(CHRTR)iso08_uni.h \ $(CHRTR)iso09_uni.h \ $(CHRTR)iso10_uni.h \ $(CHRTR)koi8r_uni.h \ @@ -39,6 +41,7 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)cp1250_uni.h \ $(CHRTR)cp1251_uni.h \ $(CHRTR)cp1252_uni.h \ + $(CHRTR)viscii_uni.h \ $(CHRTR)utf8_uni.h \ $(CHRTR)rfc_suni.h \ $(CHRTR)mnemonic_suni.h \ @@ -60,7 +63,9 @@ def7_uni.h: def7_uni.tbl makeuctb iso03_uni.h: iso03_uni.tbl makeuctb iso04_uni.h: iso04_uni.tbl makeuctb iso05_uni.h: iso05_uni.tbl makeuctb +iso06_uni.h: iso06_uni.tbl makeuctb iso07_uni.h: iso07_uni.tbl makeuctb +iso08_uni.h: iso08_uni.tbl makeuctb iso09_uni.h: iso09_uni.tbl makeuctb iso10_uni.h: iso10_uni.tbl makeuctb koi8r_uni.h: koi8r_uni.tbl makeuctb diff --git a/src/chrtrans/build-chrtrans.com b/src/chrtrans/build-chrtrans.com index f6f0609e..23c9a2ae 100644 --- a/src/chrtrans/build-chrtrans.com +++ b/src/chrtrans/build-chrtrans.com @@ -88,8 +88,12 @@ $ define/user sys$output 'CHRwhere'iso04_uni.h $ makeuctb iso04_uni.tbl $ define/user sys$output 'CHRwhere'iso05_uni.h $ makeuctb iso05_uni.tbl +$ define/user sys$output 'CHRwhere'iso06_uni.h +$ makeuctb iso06_uni.tbl $ define/user sys$output 'CHRwhere'iso07_uni.h $ makeuctb iso07_uni.tbl +$ define/user sys$output 'CHRwhere'iso08_uni.h +$ makeuctb iso08_uni.tbl $ define/user sys$output 'CHRwhere'iso09_uni.h $ makeuctb iso09_uni.tbl $ define/user sys$output 'CHRwhere'iso10_uni.h @@ -110,6 +114,8 @@ $ define/user sys$output 'CHRwhere'cp1251_uni.h $ makeuctb cp1251_uni.tbl $ define/user sys$output 'CHRwhere'cp1252_uni.h $ makeuctb cp1252_uni.tbl +$ define/user sys$output 'CHRwhere'viscii_uni.h +$ makeuctb viscii_uni.tbl $ define/user sys$output 'CHRwhere'utf8_uni.h $ makeuctb utf8_uni.tbl $ define/user sys$output 'CHRwhere'mnemonic_suni.h diff --git a/src/chrtrans/def7_uni.tbl b/src/chrtrans/def7_uni.tbl index 7978e73a..bba7cc12 100644 --- a/src/chrtrans/def7_uni.tbl +++ b/src/chrtrans/def7_uni.tbl @@ -497,7 +497,24 @@ U+0480:C3 U+0481:c3 U+0490:G3 U+0491:g3 -U+05d0:A+ + +# These may may Yiddish slightly more readable, until we have +# something better. + +0x69 U+05b4 # i +0x61 U+05b7 # a +0x6f U+05b8 # o +0x75 U+05bc # u +0x68 U+05bf # h +0x3a U+05c2 # : + +0x76 U+05f0 # v +U+05f1:oy +U+05f2:ey + +# U+05d0:A+ +0x23 U+05d0 # '#' + U+05d1:B+ U+05d2:G+ U+05d3:D+ @@ -524,6 +541,7 @@ U+05e7:Q+ U+05e8:R+ U+05e9:Sh U+05ea:T+ + U+060c:,+ U+061b:;+ U+061f:?+ @@ -920,7 +938,8 @@ U+1357:pWa U+1358:mYa U+1359:rYa U+135A:fYa -# ETHIOPIC SPACE U+1360 mapped to ASCII space above +# ETHIOPIC SPACE U+1360 mapped to ASCII space +0x20 U+1360 0x3a U+1361 #:: U+1362::: 0x2c U+1363 #:, @@ -1372,7 +1391,7 @@ U+2214:.+ U+2217:* U+2218:Ob U+2219:sb -U+221a:RT +U+221a: SQRT U+221d:0( U+221e:00 U+221f:-L diff --git a/src/chrtrans/iso06_uni.tbl b/src/chrtrans/iso06_uni.tbl index 61630521..46eb3709 100644 --- a/src/chrtrans/iso06_uni.tbl +++ b/src/chrtrans/iso06_uni.tbl @@ -2,45 +2,51 @@ # Unicode mapping table for ISO 8859-6 fonts iso06.* # [use: unicode_start iso06.f16 iso06] # +#The MIME name of this charset. +Miso-8859-6 + +#Name as a Display Charset (used on Options screen). +OISO 8859-6 Arabic + 0x20-0x7e idem -0x7f U+2302 +#0x7f U+2302 # -0x00 U+fffd -0x01 U+263A -0x02 U+263B -0x03 U+2665 -0x04 U+2666 -0x05 U+2663 -0x06 U+2660 -0x07 U+2022 -0x08 U+25D8 -0x09 U+25CB -0x0A U+25D9 -0x0B U+2642 -0x0C U+2640 -0x0D U+266A -0x0E U+266B -0x0E U+266C -0x0F U+263C -0x10 U+25B6 -0x10 U+25BA -0x11 U+25C0 -0x11 U+25C4 -0x12 U+2195 -0x13 U+203C -0x14 U+00B6 -0x15 U+00A7 -0x16 U+25AC -0x17 U+21A8 -0x18 U+2191 -0x19 U+2193 -0x1A U+2192 -0x1B U+2190 -0x1C U+221F -0x1C U+2319 -0x1D U+2194 -0x1E U+25B2 -0x1F U+25BC +#0x00 U+fffd +#0x01 U+263A +#0x02 U+263B +#0x03 U+2665 +#0x04 U+2666 +#0x05 U+2663 +#0x06 U+2660 +#0x07 U+2022 +#0x08 U+25D8 +#0x09 U+25CB +#0x0A U+25D9 +#0x0B U+2642 +#0x0C U+2640 +#0x0D U+266A +#0x0E U+266B +#0x0E U+266C +#0x0F U+263C +#0x10 U+25B6 +#0x10 U+25BA +#0x11 U+25C0 +#0x11 U+25C4 +#0x12 U+2195 +#0x13 U+203C +#0x14 U+00B6 +#0x15 U+00A7 +#0x16 U+25AC +#0x17 U+21A8 +#0x18 U+2191 +#0x19 U+2193 +#0x1A U+2192 +#0x1B U+2190 +#0x1C U+221F +#0x1C U+2319 +#0x1D U+2194 +#0x1E U+25B2 +#0x1F U+25BC # 0xa0 U+00a0 0xa4 U+00a4 @@ -96,3 +102,11 @@ # TRADE MARK SIGN: U+2122:(TM) + +0x60 U+2018 # left single quotation mark <`> +0x27 U+2019-U+201b # various single quotation marks <'> +0x22 U+201c-U+201f # various double quotation marks <"> + +# Let's try to show a question mark for character that cannot +# be shown. U+fffd is used for invalid characters. +U+fffd:? diff --git a/src/chrtrans/iso08_uni.tbl b/src/chrtrans/iso08_uni.tbl index 20ae4ac7..f11dff4a 100644 --- a/src/chrtrans/iso08_uni.tbl +++ b/src/chrtrans/iso08_uni.tbl @@ -2,45 +2,51 @@ # Unicode mapping table for ISO 8859-8 fonts iso08.* # [use: unicode_start iso08.f16 iso08] # +#The MIME name of this charset. +Miso-8859-8 + +#Name as a Display Charset (used on Options screen). +OISO 8859-8 Hebrew + 0x20-0x7e idem -0x7f U+2302 +#0x7f U+2302 # -0x00 U+fffd -0x01 U+263A -0x02 U+263B -0x03 U+2665 -0x04 U+2666 -0x05 U+2663 -0x06 U+2660 -0x07 U+2022 -0x08 U+25D8 -0x09 U+25CB -0x0A U+25D9 -0x0B U+2642 -0x0C U+2640 -0x0D U+266A -0x0E U+266B -0x0E U+266C -0x0F U+263C -0x10 U+25B6 -0x10 U+25BA -0x11 U+25C0 -0x11 U+25C4 -0x12 U+2195 -0x13 U+203C -0x14 U+00B6 -0x15 U+00A7 -0x16 U+25AC -0x17 U+21A8 -0x18 U+2191 -0x19 U+2193 -0x1A U+2192 -0x1B U+2190 -0x1C U+221F -0x1C U+2319 -0x1D U+2194 -0x1E U+25B2 -0x1F U+25BC +#0x00 U+fffd +#0x01 U+263A +#0x02 U+263B +#0x03 U+2665 +#0x04 U+2666 +#0x05 U+2663 +#0x06 U+2660 +#0x07 U+2022 +#0x08 U+25D8 +#0x09 U+25CB +#0x0A U+25D9 +#0x0B U+2642 +#0x0C U+2640 +#0x0D U+266A +#0x0E U+266B +#0x0E U+266C +#0x0F U+263C +#0x10 U+25B6 +#0x10 U+25BA +#0x11 U+25C0 +#0x11 U+25C4 +#0x12 U+2195 +#0x13 U+203C +#0x14 U+00B6 +#0x15 U+00A7 +#0x16 U+25AC +#0x17 U+21A8 +#0x18 U+2191 +#0x19 U+2193 +#0x1A U+2192 +#0x1B U+2190 +#0x1C U+221F +#0x1C U+2319 +#0x1D U+2194 +#0x1E U+25B2 +#0x1F U+25BC # 0xa0 U+00a0 0xa2-0xa9 idem @@ -80,5 +86,24 @@ 0xf9 U+05e9 0xfa U+05ea +#Hebrew points - map to empty string +U+05B0-U+05C2: + +#HEBREW LETTER DOUBLE VAV +U+05F0:åå +#HEBREW LETTER VAV YOD +U+05F1:éå +#HEBREW LETTER DOUBLE YOD +U+05F2:éé + + # TRADE MARK SIGN: U+2122:(TM) + +0x60 U+2018 # left single quotation mark <`> +0x27 U+2019-U+201b # various single quotation marks <'> +0x22 U+201c-U+201f # various double quotation marks <"> + +# Let's try to show a question mark for character that cannot +# be shown. U+fffd is used for invalid characters. +U+fffd:? diff --git a/src/chrtrans/makefile.in b/src/chrtrans/makefile.in index 924b6a77..a15d5da7 100644 --- a/src/chrtrans/makefile.in +++ b/src/chrtrans/makefile.in @@ -41,7 +41,9 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)iso03_uni.h \ $(CHRTR)iso04_uni.h \ $(CHRTR)iso05_uni.h \ + $(CHRTR)iso06_uni.h \ $(CHRTR)iso07_uni.h \ + $(CHRTR)iso08_uni.h \ $(CHRTR)iso09_uni.h \ $(CHRTR)iso10_uni.h \ $(CHRTR)koi8r_uni.h \ @@ -52,6 +54,7 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)cp1250_uni.h \ $(CHRTR)cp1251_uni.h \ $(CHRTR)cp1252_uni.h \ + $(CHRTR)viscii_uni.h \ $(CHRTR)utf8_uni.h \ $(CHRTR)rfc_suni.h \ $(CHRTR)mnemonic_suni.h \ @@ -77,22 +80,28 @@ makeuctb: makeuctb.c UCkd.h .tbl.h: ./makeuctb $*.tbl > $@ +# table files listed here once again to get the make dependencies +# right, in case makeuctb was recompiled. iso01_uni.h: iso01_uni.tbl makeuctb iso02_uni.h: iso02_uni.tbl makeuctb def7_uni.h: def7_uni.tbl makeuctb iso03_uni.h: iso03_uni.tbl makeuctb iso04_uni.h: iso04_uni.tbl makeuctb iso05_uni.h: iso05_uni.tbl makeuctb +iso06_uni.h: iso06_uni.tbl makeuctb iso07_uni.h: iso07_uni.tbl makeuctb +iso08_uni.h: iso08_uni.tbl makeuctb iso09_uni.h: iso09_uni.tbl makeuctb iso10_uni.h: iso10_uni.tbl makeuctb koi8r_uni.h: koi8r_uni.tbl makeuctb cp437_uni.h: cp437_uni.tbl makeuctb cp850_uni.h: cp850_uni.tbl makeuctb cp852_uni.h: cp852_uni.tbl makeuctb +cp852_uni.h: cp866_uni.tbl makeuctb cp1250_uni.h: cp1250_uni.tbl makeuctb cp1251_uni.h: cp1251_uni.tbl makeuctb cp1252_uni.h: cp1252_uni.tbl makeuctb +viscii_uni.h: viscii_uni.tbl makeuctb utf8_uni.h: utf8_uni.tbl makeuctb mnemonic_suni.h: mnemonic_suni.tbl makeuctb mnem_suni.h: mnem_suni.tbl makeuctb diff --git a/src/chrtrans/makeuctb.c b/src/chrtrans/makeuctb.c index 95ba076d..f981f777 100644 --- a/src/chrtrans/makeuctb.c +++ b/src/chrtrans/makeuctb.c @@ -488,7 +488,7 @@ PUBLIC int main ARGS2( if (argc >= 3) { strncpy(this_MIMEcharset,argv[2],UC_MAXLEN_MIMECSNAME); - } else if (!this_MIMEcharset || !(*this_MIMEcharset)) { + } else if (this_MIMEcharset[0] == '\0') { strncpy(this_MIMEcharset,tblname,UC_MAXLEN_MIMECSNAME); if ((p = strchr(this_MIMEcharset,'.')) != 0) { *p = '\0'; @@ -499,7 +499,7 @@ PUBLIC int main ARGS2( } if (argc >= 4) { strncpy(this_LYNXcharset,argv[3],UC_MAXLEN_LYNXCSNAME); - } else if (!this_LYNXcharset || !(*this_LYNXcharset)) { + } else if (this_LYNXcharset[0] == '\0') { strncpy(this_LYNXcharset,this_MIMEcharset,UC_MAXLEN_LYNXCSNAME); } if ((i = strlen(this_LYNXcharset)) < UC_LEN_LYNXCSNAME) { diff --git a/src/chrtrans/utf8_uni.tbl b/src/chrtrans/utf8_uni.tbl index 02e153a5..4cc4df97 100644 --- a/src/chrtrans/utf8_uni.tbl +++ b/src/chrtrans/utf8_uni.tbl @@ -21,8 +21,8 @@ O UNICODE UTF 8 # but for completeness (from UCDefs.h): # #define UCT_ENC_7BIT 0 # #define UCT_ENC_8BIT 1 -# #define UCT_ENC_8859 2 /* ??? */ -# #define UCT_ENC_2022 3 +# #define UCT_ENC_8859 2 +# #define UCT_ENC_8BIT_C0 3 # #define UCT_ENC_MAYBE2022 4 # #define UCT_ENC_CJK 5 # #define UCT_ENC_16BIT 6 diff --git a/src/chrtrans/viscii_uni.tbl b/src/chrtrans/viscii_uni.tbl new file mode 100644 index 00000000..006fa0ea --- /dev/null +++ b/src/chrtrans/viscii_uni.tbl @@ -0,0 +1,306 @@ +# +# Unicode mapping table for VISCII 1.1 fonts and charset=viscii, +# described in RFC 1456. +# See also <URL:http://www.trichlor.org/vietstd/report/rep92.htm>, +# also for testing. +# The 6 characters encoded in the C0 control region should not +# be passed through to the terminal but be mapped to VIQR strings. +# THe two changed mappings of MacVISCII are recognized in documents. + +# [convert with makeuctb] +# +#The MIME name of this charset. +Mviscii + +#Name as a Display Charset (used on Options screen). +OVietnamese (VISCII) + +# Special 'enc' flag to signal that some C0 characters are used. +# Tables with R3 should properly map the allowed C0 control chars! +# +# most of these codes currently don't make much sense in a *.uni file, +# but for completeness (from UCDefs.h): +# #define UCT_ENC_7BIT 0 +# #define UCT_ENC_8BIT 1 +# #define UCT_ENC_8859 2 +# #define UCT_ENC_8BIT_C0 3 +# #define UCT_ENC_MAYBE2022 4 +# #define UCT_ENC_CJK 5 +# #define UCT_ENC_16BIT 6 +# #define UCT_ENC_UTF8 7 + +R 3 + +#0x00 U+0000 +#0x01 U+0001 +#0x03 U+0003 +#0x04 U+0004 +#0x07 U+0007 +#0x08 U+0008 +0x09 U+0009 +0x0a U+000a +#0x0b U+000b +0x0c U+000c +U+000c: +0x0d U+000d +#0x0e U+000e +#0x0f U+000f +#0x10 U+0010 +#0x11 U+0011 +#0x12 U+0012 +#0x13 U+0013 +#0x15 U+0015 +#0x16 U+0016 +#0x17 U+0017 +#0x18 U+0018 +0x1a U+001a +U+001a:^Z +#0x1b U+001b +#0x1c U+001c +#0x1d U+001d +#0x1f U+001f +#0x20 U+0020 +#0x21 U+0021 +#0x22 U+0022 +#0x23 U+0023 +#0x24 U+0024 +#0x25 U+0025 +#0x26 U+0026 +#0x27 U+0027 +#0x28 U+0028 +#0x29 U+0029 +#0x2a U+002a +#0x2b U+002b +#0x2c U+002c +#0x2d U+002d +#0x2e U+002e +#0x2f U+002f +#0x30 U+0030 +#0x31 U+0031 +#0x32 U+0032 +#0x33 U+0033 +#0x34 U+0034 +#0x35 U+0035 +#0x36 U+0036 +#0x37 U+0037 +#0x38 U+0038 +#0x39 U+0039 +#0x3a U+003a +#0x3b U+003b +#0x3c U+003c +#0x3d U+003d +#0x3e U+003e +#0x3f U+003f +#0x40 U+0040 +#0x41 U+0041 +#0x42 U+0042 +#0x43 U+0043 +#0x44 U+0044 +#0x45 U+0045 +#0x46 U+0046 +#0x47 U+0047 +#0x48 U+0048 +#0x49 U+0049 +#0x4a U+004a +#0x4b U+004b +#0x4c U+004c +#0x4d U+004d +#0x4e U+004e +#0x4f U+004f +#0x50 U+0050 +#0x51 U+0051 +#0x52 U+0052 +#0x53 U+0053 +#0x54 U+0054 +#0x55 U+0055 +#0x56 U+0056 +#0x57 U+0057 +#0x58 U+0058 +#0x59 U+0059 +#0x5a U+005a +#0x5b U+005b +#0x5c U+005c +#0x5d U+005d +#0x5e U+005e +#0x5f U+005f +#0x60 U+0060 +#0x61 U+0061 +#0x62 U+0062 +#0x63 U+0063 +#0x64 U+0064 +#0x65 U+0065 +#0x66 U+0066 +#0x67 U+0067 +#0x68 U+0068 +#0x69 U+0069 +#0x6a U+006a +#0x6b U+006b +#0x6c U+006c +#0x6d U+006d +#0x6e U+006e +#0x6f U+006f +#0x70 U+0070 +#0x71 U+0071 +#0x72 U+0072 +#0x73 U+0073 +#0x74 U+0074 +#0x75 U+0075 +#0x76 U+0076 +#0x77 U+0077 +#0x78 U+0078 +#0x79 U+0079 +#0x7a U+007a +#0x7b U+007b +#0x7c U+007c +#0x7d U+007d +#0x7e U+007e +#0x7f U+007f +0xc0 U+00c0 +0xc1 U+00c1 +0xc2 U+00c2 +0xc3 U+00c3 +0xc8 U+00c8 +0xc9 U+00c9 +0xca U+00ca +0xcc U+00cc +0xcd U+00cd +0xd2 U+00d2 +0xd3 U+00d3 +0xd4 U+00d4 +0xa0 U+00d5 +0xd9 U+00d9 +0xda U+00da +0xdd U+00dd +0xe0 U+00e0 +0xe1 U+00e1 +0xe2 U+00e2 +0xe3 U+00e3 +0xe8 U+00e8 +0xe9 U+00e9 +0xea U+00ea +0xec U+00ec +0xed U+00ed +0xf2 U+00f2 +0xf3 U+00f3 +0xf4 U+00f4 +0xf5 U+00f5 +0xf9 U+00f9 +0xfa U+00fa +0xfd U+00fd +0xc5 U+0102 +0xe5 U+0103 +0xd0 U+0110 +0xf0 U+0111 U+00f0 # "edh" is similar enough to map it here +0xce U+0128 +0xee U+0129 +0x9d U+0168 +0xfb U+0169 +0xb4 U+01a0 +0xbd U+01a1 +0xbf U+01af +0xdf U+01b0 +0x80 U+1ea0 +0xd5 U+1ea1 +0xc4 U+1ea2 +0xe4 U+1ea3 +0x84 U+1ea4 +0xa4 U+1ea5 +0x85 U+1ea6 +0xa5 U+1ea7 +0x86 U+1ea8 +0xa6 U+1ea9 +0x06 U+1eaa +U+1eaa:Â~ +0xe7 U+1eab +0x87 U+1eac +0xa7 U+1ead +0x81 U+1eae +0xa1 U+1eaf +0x82 U+1eb0 +0xa2 U+1eb1 +0x02 U+1eb2 +U+1eb2:A(? +0xc6 U+1eb3 +0x05 U+1eb4 +U+1eb4:A(~ +0xc7 U+1eb5 +0x83 U+1eb6 +0xa3 U+1eb7 +0x89 U+1eb8 +0xa9 U+1eb9 +0xcb U+1eba +0xeb U+1ebb +0x88 U+1ebc +0xa8 U+1ebd +0x8a U+1ebe +0xaa U+1ebf +0x8b U+1ec0 +0xab U+1ec1 +0x8c U+1ec2 +0xac U+1ec3 +0x8d U+1ec4 +0xad U+1ec5 +0x8e U+1ec6 +0xae U+1ec7 +0x9b U+1ec8 +0xef U+1ec9 +0x98 U+1eca +0xb8 U+1ecb +0x9a U+1ecc +0xf7 U+1ecd +0x99 U+1ece +0xf6 U+1ecf +0x8f U+1ed0 +0xaf U+1ed1 +0x90 U+1ed2 +0xb0 U+1ed3 +0x91 U+1ed4 +0xb1 U+1ed5 +0x92 U+1ed6 +0xb2 U+1ed7 +0x93 U+1ed8 +0xb5 U+1ed9 +0x95 U+1eda +0xbe U+1edb +0x96 U+1edc +0xb6 U+1edd +0x97 U+1ede +0xb7 U+1edf +0xb3 U+1ee0 +0xde U+1ee1 +0x94 U+1ee2 +0xfe U+1ee3 +0x9e U+1ee4 +0xf8 U+1ee5 +0x9c U+1ee6 +0xfc U+1ee7 +0xba U+1ee8 +0xd1 U+1ee9 +0xbb U+1eea +0xd7 U+1eeb +0xbc U+1eec +0xd8 U+1eed +0xff U+1eee +0xe6 U+1eef +0xb9 U+1ef0 +0xf1 U+1ef1 +0x9f U+1ef2 +0xcf U+1ef3 +0x18 U+1ef4 # MacVISCII +0x1e U+1ef4 +U+1ef4:Y. +0xdc U+1ef5 +0x17 U+1ef6 # MacVISCII +0x14 U+1ef6 +U+1ef6:Y? +0xd6 U+1ef7 +0x19 U+1ef8 +U+1ef8:Y~ +0xdb U+1ef9 + +# TRADE MARK SIGN: +U+2122:(TM) + +0x60 U+2018 # left single quotation mark <`> +0x27 U+2019-U+201b # various single quotation marks <'> +0x22 U+201c-U+201f # various double quotation marks <"> diff --git a/src/makefile.in b/src/makefile.in index 897dc39e..d42883b9 100644 --- a/src/makefile.in +++ b/src/makefile.in @@ -102,7 +102,9 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)iso03_uni.h \ $(CHRTR)iso04_uni.h \ $(CHRTR)iso05_uni.h \ + $(CHRTR)iso06_uni.h \ $(CHRTR)iso07_uni.h \ + $(CHRTR)iso08_uni.h \ $(CHRTR)iso09_uni.h \ $(CHRTR)iso10_uni.h \ $(CHRTR)koi8r_uni.h \ @@ -113,6 +115,7 @@ TABLES= $(CHRTR)iso02_uni.h \ $(CHRTR)cp1250_uni.h \ $(CHRTR)cp1251_uni.h \ $(CHRTR)cp1252_uni.h \ + $(CHRTR)viscii_uni.h \ $(CHRTR)utf8_uni.h \ $(CHRTR)rfc_suni.h \ $(CHRTR)mnemonic_suni.h \ @@ -22,6 +22,10 @@ #ifndef USERDEFS_H #define USERDEFS_H +#ifdef HAVE_CONFIG_H +#include <lynx_cfg.h> +#endif + /******************************************************************* * Things you must change * Section 1. @@ -581,34 +585,41 @@ * will be used as the default. Also see lynx.cfg for information about * the -raw switch and LYE_RAW_TOGGLE command. * The default character sets include: - * ISO Latin 1 - * ISO Latin 2 - * Other ISO Latin - * DEC Multinational - * IBM PC character set - * IBM PC codepage 850 - * Macintosh (8 bit) - * NeXT character set - * KOI8-R character set - * Chinese - * Japanese (EUC) - * Japanese (SJIS) - * Korean - * Taipei (Big5) - * 7 bit approximations - * Transparent - * ISO Latin 3 - * ISO Latin 4 - * ISO Latin 5 Cyrillic - * ISO Latin 7 Greek - * ISO Latin 9 (Latin 5) - * ISO Latin 10 - * PC Latin2 CP 852 - * MS Windows CP 1250 - * MS Windows CP 1252 - * UNICODE UTF 8 - * RFC 1345 w/o Intro - * RFC1345 Mnemonic + * Display Character Set name MIME name + * ========================== ========= + * ISO Latin 1 iso-8859-1 + * ISO Latin 2 iso-8859-2 + * Other ISO Latin x-iso-8859-other + * DEC Multinational dec-mcs + * IBM PC character set cp437 + * IBM PC codepage 850 cp850 + * Macintosh (8 bit) macintosh + * NeXT character set x-next + * KOI8-R character set koi8-r + * Chinese euc-cn + * Japanese (EUC) euc-jp + * Japanese (SJIS) shift_jis + * Korean euc-kr + * Taipei (Big5) big5 + * 7 bit approximations us-ascii + * Transparent x-transparent + * ISO Latin 3 iso-8859-3 + * ISO Latin 4 iso-8859-4 + * ISO Latin 5 Cyrillic iso-8859-5 + * ISO Latin 6 Arabic iso-8859-6 + * ISO Latin 7 Greek iso-8859-7 + * ISO Latin 8 Hebrew iso-8859-8 + * ISO Latin 9 (Latin 5) iso-8859-9 + * ISO Latin 10 iso-8859-10 + * PC Latin2 CP 852 cp852 + * DosCyrillic (cp866) cp866 + * MS Windows CP 1250 windows-1250 + * WinCyrillic (cp1251) windows-1251 + * MS Windows CP 1252 iso-8859-1-windows-3.1-latin-1 + * Vietnamese (VISCII) viscii + * UNICODE UTF 8 unicode-1-1-utf-8 + * RFC 1345 w/o Intro mnemonic+ascii+0 + * RFC 1345 Mnemonic mnemonic */ #define CHARACTER_SET "ISO Latin 1" @@ -1260,7 +1271,7 @@ * the version definition with the Project Version on checkout. Just * ignore it. - kw */ /* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */ -#define LYNX_VERSION "2.7.1ac-0.46" +#define LYNX_VERSION "2.7.1ac-0.64" /**************************************************************** * The LYMessages_en.h header defines default, English strings |