PROBLEMS 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. Lynx PROBLEMS file.
  2. Ideally you would never have to read this, but inevitably problems
  3. do arise. As implementation and installation problems become known
  4. they will be outlined in this file.
  5. ---------
  6. The install script will attempt to preserve your current settings in the
  7. lynx.cfg file. You should review these (at the end of lynx.cfg) after
  8. install. For instance references to lynx.browser.org for a startfile can
  9. be removed, since that site is no longer maintained.
  10. ---------
  11. Some customized installs of OpenSSL are not detected by the configure
  12. script. For example, with Redhat9, we did this to work around:
  13. #!/bin/sh
  14. KRB=/usr/kerberos
  15. export LIBS="-L$KRB/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
  16. export CPPFLAGS="-I$KRB/include -I/usr/include/openssl"
  17. export CFLAGS="-O -g $CPPFLAGS"
  18. ./configure --with-ssl $*
  19. ---------
  20. The configure script check for IPv6 (--enable-ipv6) assumes that your build
  21. machine can listen for IPv6 connections. It cannot determine if you want
  22. to use it only for outgoing connections. If the configure script is
  23. otherwise successful, it will warn about a nonfunctioning getaddrinfo()
  24. function, and does not define these symbols needed to successfully compile
  25. IPv6 support. You can work around this by by editing lynx_cfg.h:
  26. HAVE_GAI_STRERROR
  27. HAVE_GETADDRINFO
  28. ---------
  29. Control-Z on Unix can cause aberrant behavior. If you encounter
  30. problems, use -restrictions=suspend to disable it, and only '!'
  31. for escapes to shell (on VMS control-Z is unconditional 'Q'uit,
  32. with no attempt to suspend the Lynx process only temporarily).
  33. Control-Z on Unix often works better with slang.
  34. ---------
  35. Screen resizing can be a bit funny. If you resize the screen,
  36. documents that have been cached will be out of whack. Any further
  37. documents will look fine. You can reload documents to the current
  38. window size with CTRL-R
  39. ---------
  40. If the configure script dies when it discovers that gcc is broken,
  41. despite the fact there is a perfectly good ANSI cc in the PATH,
  42. try setting the CC environment variable to your working cc compiler
  43. before running configure: e.g.
  44. setenv CC cc (or set CC=cc; export CC , depending on the shell)
  45. ./configure
  46. ---------
  47. If you run into a problem compiling GridText.c, try omitting -O from the
  48. compiler flags; it is a very big file and may not compile successfully
  49. if you include optimization.
  50. ---------
  51. On a Sun system, the message:
  52. "Alert!: Unable to connect to remote host"
  53. will be displayed every time an attempt is made to access a host
  54. other than localhost if Lynx has been built without the resolv
  55. library and needed it, or with it and shouldn't have been.
  56. Unfortunately, there's no way to check in the Makefile whether
  57. -lresolv should be included in the LIBS="" list. What's necessary
  58. depends on how that Sun is configured. To get the build right for
  59. your SUN 3 or 4 OS, if you didn't have RESOLVLIB defined in the
  60. Makefile define it and build Lynx again, or vice versa. Also, if
  61. you have upgraded to the bind-8.1 or later library, you should try
  62. changing -lresolv to -lbind.
  63. ---------
  64. On Sun systems when accessing sites that use multiple IPs for one URL,
  65. you may experience a core dump. It's a bug in the resolver library,
  66. which can be fixed by downloading & installing Sun's jumbo patch:
  67. search Sun support information, e.g., Solaris newsgroups,
  68. or see the following Lynx Archive items:
  69. http://www.flora.org/lynx-dev/lynx-dev/9606/0422.html
  70. http://www.flora.org/lynx-dev/html/month0497/msg01018.html
  71. http://www.flora.org/lynx-dev/html/month0497/msg01064.html
  72. The Sun `shelltool' and `cmdtool' terminals are stupid by default.
  73. In order to get bold text to appear differently than inverse video,
  74. the user should put this line in ~/.Xdefaults:
  75. Term*boldStyle: Offset_X
  76. From the `shelltool' man page, it seems that an analogous line
  77. in ~/.defaults
  78. /Tty/Bold_style "Offset_X"
  79. ought to work just as well, but you may not get the desired
  80. behavior until you modify your .Xdefaults file (and run `xrdb
  81. ~/.Xdefaults'). Note also that there are other supported values
  82. for the boldStyle resource/Bold_style default, all of which begin
  83. with "Offset_". (helpful hint from kevin@traffic.den.mmc.com)
  84. ---------
  85. Directory browsing has been implemented for VMS, but there are no
  86. plans to port additional DIRED support, because Lynx must handle files
  87. as streams, and this precludes "serious" Directory/File Management on
  88. VMS. Use a jumps file link to CSwing (sources or executables are
  89. available from ftp://narnia.memst.edu), or define CSWING_PATH in
  90. userdefs.h or lynx.cfg to invoke CSwing via the DIRED_MENU command.
  91. ---------
  92. If one switches between K)eypad "Numbers act as arrows" versus "Links
  93. are numbered" in the 'o'ptions menu when the current document is a
  94. DIRED menu in which links have been tagged, the tagging can be trashed
  95. (so don't switch at such times 8-).
  96. ---------
  97. When "Links are numbered" is on, if a line is split on an anchor (to
  98. obey right margin restrictions), and there is no space in the bolded
  99. string such that the entire "[#]string" must be moved down, the "[#]"
  100. becomes bolded, instead on only "string".
  101. ---------
  102. The Mosaic v2.5 hostlist uses HTML similar to that of Lynx's bookmark
  103. file, but with </UL></HTML> at the bottom, such that it is not fully
  104. compatible with Lynx's file. If you try to use the Mosaic file as if
  105. it were a Lynx bookmark file, the </UL></HTML> will not be taken into
  106. account and new links will be added below rather than above those end
  107. tags. Instead, add a link to the Mosaic file in your Lynx file, and
  108. to the Lynx file in your Mosaic file, so that you can access both files
  109. with both clients.
  110. ---------
  111. SOCKSification and the -socks switch have not yet been integrated with
  112. the slang library support.
  113. ---------
  114. There is an apparently broken version of select() in libcurses.a
  115. of HP/UX 10.10. It also breaks tn3270, ncftp, emacs, and xemacs.
  116. Using:
  117. LIBS="-lc -lcurses -ltermcap \
  118. ^^^
  119. (i.e, adding -lc *before* the -lcurses) in the snake3 and snake3-slang
  120. targets of the top level Makefile yields a usable image, but with
  121. inappropriate video attributes on the Lynx displays (reverse video and
  122. underscores on everything). Using "-lc -lHcurses" instead fixes the
  123. ^^^^^^^^^
  124. video attributes but then the arrow keys are messed up. - Donald S.
  125. Teiser (dsteis01@homer.louisville.edu)
  126. NOTE: If HP fixes the problem or you come up with a better workaround,
  127. notify the lynx-dev@nongnu.org list.
  128. Updated NOTE (1996-09-02): A patch reportedly is available from HP to
  129. fix the select() problem, so that "-lc" is no longer needed, but
  130. the curses glitch is not yet fixed, and you should still include
  131. "-lHcurses".
  132. Updated NOTE (1997-02-03): The problems reportedly are fixed with
  133. patches PHCO_8086 and PHCO_8947 from HP.
  134. Updated NOTE (1997-12-15): PHCO_8086 & PHCO_8947 are very old and are
  135. no longer available. The current patch to install if running
  136. under HP-UX 10.20 is PHCO_11342.
  137. ---------
  138. Lynx juggles variable abilities of curses packages or emulations to
  139. display bolding and underlining simultaneously. This may fail if
  140. Lynx thinks that your terminal, in connection with the curses package,
  141. supports a capability which the terminal hardware or emulation does not
  142. in fact support. Setting the right TERM environment variable, tweaking
  143. terminfo or termcap files, or compiling with a newer version of ncurses
  144. or slang may solve problems with missing highlighting or strange
  145. characters appearing on the screen. Also, for a mono terminal,
  146. make sure "show color" is not set to ON in the Options Menu.
  147. The Wyse 50 and older TeleVideo terminals, among others, are
  148. "magic cookie" terminals. This means that display attributes like
  149. reverse, blink, underline, etc. work in a bizarre way that makes them
  150. difficult to program. You may see extra spaces scattered around your
  151. screen (separating different sorts of highlight); or sections of the
  152. screen may be unexpectedly highlighted.
  153. There is a workaround which works by restricting the terminal to a
  154. single standout attribute (e.g., normal and reverse, but no others).
  155. Implementing the workaround is specific to your curses implementation.
  156. Most versions of curses use one of two terminal databases, called
  157. "termcap" and "terminfo". Updating these databases is system-specific.
  158. New databases should be available from the vendor or other sources.
  159. For the Wyse 50, try
  160. <URL: http://www.wyse.com/text/custserv/faq/wy50faq.htm>;
  161. extract the "wy50" (NOT "wy50-mc") entry and use that in place of the
  162. existing one. See `terminfo', `infocmp', `tic' etc. man pages if
  163. necessary.
  164. Alternatively, compiling Lynx with the slang library may avoid problems
  165. with theses terminals.
  166. The Sun console driver (aka wscons(7)) implements "reverse" and "bold"
  167. as "reverse", causing confusion where Lynx uses the distinction between
  168. the two to convey information. Lynx tries to detect this automatically,
  169. but if it fails (for instance, you are running under "screen"), try
  170. setting the -noreverse commandline option.
  171. ---------
  172. On VMS, Lynx, and other TCP-IP software, have been experiencing chronic
  173. problems of incompatibilities between DECC and MultiNet headers whenever
  174. new versions of either DECC or MultiNet are released. The Lynx build
  175. procedure for VMS and a maze of spaghetti #ifdef-ing in tcp.h of the
  176. libwww-FM had previously been successful in dealing with this problem
  177. across all versions of MultiNet and of DECC, VAXC, and Pat Rankin's
  178. VMS port of GNUC, but are now not 100% successful. If you get compiler
  179. messages about "struct timeval timeout" having no linkage, add that
  180. declaration immediately below the inclusion of ioctl.h for MultiNet in
  181. tcp.h (by deleting the "#ifdef NOT_DEFINED" and "#endif /* NOT_DEFINED */"
  182. lines):
  183. [...]
  184. #include "multinet_root:[multinet.include.sys]ioctl.h"
  185. struct timeval {
  186. long tv_sec; /* seconds since Jan. 1, 1970 */
  187. long tv_usec; /* microseconds */
  188. };
  189. [...]
  190. If you get compiler warnings about incompatible multinet_foo()
  191. declarations, delete those where indicated in tcp.h. For the most
  192. current versions of MultiNet, you can modify tcp.h to use the DECC
  193. socket and related headers.
  194. On VMS, the ftp function does not work with SOCKETSHR 0.9D and NETLIB
  195. 2 (NETLIB 1 may work). This is because the functions getsockname()
  196. and getpeername() within SOCKETSHR make incorrect calls to the NETLIB
  197. functions. This results in zeroes being returned for part of the local
  198. IP address. Since ftp sends this IP address to the remote end, the
  199. remote server ends up sending a file back to a non-existent address.
  200. Andy Harper (A.HARPER@kcl.ac.uk) has fixed these problems in the
  201. SOCKETSHR 0.9D sources and offers the fixes as:
  202. http://alder.cc.kcl.ac.uk/fileserv/zip/socketshr_src_09d-2.zip
  203. ftp://ftp2.kcl.ac.uk/zip/socketshr_src_09d-2.zip
  204. ---------
  205. On VMS, to build an SSL-capable version, lynx and the ssl library
  206. e.g., OpenSSL, must be built using the same network library. If you
  207. build OpenSSL without specifying the network library (the 5th parameter
  208. of the makevms.com script), it will guess, possibly not the one you
  209. intended. We have tested only the UCX configuration -TD (2002/9/15).