Changes since Lynx 2.8 release =============================================================================== 2007-05-09 (2.8.6rel.5 fix from 2.8.7dev.5) * correct loop-limit in print_crawl_to_fd(), which broke "lynx -crawl -dump" from 2.8.6dev.9 changes (Mandriva #29785) -TD 2006-11-15 (2.8.6rel.4 diverges from 2.8.7dev.4) * limit files set via PERSONAL_EXTENSION_MAP and PERSONAL_MAILCAP to be found relative to the user's home directory. This change is less flexible than the development version, but simpler to implement. The check to ensure that the files are controlled by the user is retained (Redhat #214205) -TD 2006-11-06 (2.8.6rel.3 from 2.8.7dev.2) * ensure that the configured values for GLOBAL_EXTENSION_MAP and GLOBAL_MAILCAP are absolute pathnames -TD * modify logic for reading PERSONAL_EXTENSION_MAP and PERSONAL_MAILCAP to ensure that they are files that are controlled only by the user. The default values for these allow lynx to read configuration information from the user's current directory at lynx's startup (Debian #396949) -TD 2006-10-12 (2.8.6rel.2) * update version numbers in documentation -TD * change embedded URL for HTML'ized lynx.cfg to point to example in current release -TD 2006-10-10 (2.8.6rel.1) 2006-10-10 (2.8.6pre.6) * minor formatting fixes to CHANGES and CHANGES2.8 to facilitate scripted analysis of contributions -TD * predefine _XOPEN_SOURCE_EXTENDED on HPUX to make color-style build -TD * broaden the conditions on which to reload the color-style information to cover any (re)initialization of the screen, e.g., when resizing using ordinary curses (report by PG) -TD 2006-10-02 (2.8.6pre.5) * modify cfg2html.pl to use "use vars" rather than "our", to allow it to work with perl version 5.5 -TD * use curses nodelay() function for BeOS to make HTCheckForInterrupt() work on that platform -TD * filter out obsolete URLs from the customizations saved during install of lynx.cfg -TD * add a configure check for zError() to allow using old zlib's -TD * fix configure --disable-largefile (from ncurses changes) -TD * applied lynx's changes to updated files from ftp.unicode.org to take advantage of less restrictive copyright (report by Klaus Singvogel) -TD * workaround for PDCurses versus color-style; reload color style information in start_curses() since PDCurses discards that information in endwin() (report by Lawrence Armstrong) -TD 2006-09-18 (2.8.6pre.4) * updated link in user's guide to HTML 3.0 reference (report by TH) -TD * remove coloring for lh- and high-tags from LYStyle.c and sample ".lss" files since that tag is nonstandard (report by TH) -TD * update da.po from http://www.iro.umontreal.ca/translation/maint/lynx/ * add script samples/oldlynx, which gives the non-color-style scheme using an executable built for color-style -TD * add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors feature at runtime, allowing better matching of old color scheme via a script -TD * update VMS descrip.mms files, adding the ability to build with slang -TD 2006-09-10 (2.8.6pre.3) * add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in default (see 2001-08-15 comments by TH) -TD * update tr.po from http://www.iro.umontreal.ca/translation/maint/lynx/ * fix a different aspect of Debian #171312, ensuring that if the side-effect of getfile() is unneeded, we restore the link number as well as the line number (Debian #386561) -TD * modify makefile.msc to allow building with slang configuration -TD * fixes for keyboard input of slang configuration in win32 (not mingw) which was broken in 2.8.3dev.5 -TD * fix LYgetTableString(), making the monochome appearance with an empty ".lss" file for color-style look like the non-color-style (Debian #386216) -TD * fix change made to LYwaddnstr() which did not update the position in LYwin after writing text to a subwindow. This caused some cases where the status line would be cleared by the filler color -TD * modify noviceline() function to account for trailing newlines in the message text which caused the message to be displayed on the wrong lines (report by Atsuhito Kohda) -TD * make "lynx -version" work in the absence of ".cfg" or ".lss" files -TD * add docs/README.metrics to support the changes to COPYHEADER -TD * update COPYHEADER to reflect the ten years of development after release of Lynx 2.4.2 -TD 2006-09-03 (2.8.6pre.2) * change configure script to put the ".cfg" and ".lss" files by default in the --sysconfdir, e.g., $prefix/etc, and the help-files in lynx_doc and lynx_help directories under --datadir, e.g., $prefix/share/lynx_doc, $prefix/share/lynx_doc. To obtain the old behavior, use configure --sysconfdir=/usr/local/lib --datadir=/usr/local/lib (patch by Rado Smiljanic). * simplified stop_curses(), ensuring that it does what it claims (report by William McBrine) -TD * corrected placement of statements used for quiet compiler warnings for unused variables in fancy_mouse() (reported by Rado Smiljanic, Nelson Beebe) -TD * simplify ifdef's in HTCheckForInterrupt() to make it clearer that the win32 PDCurses configuration uses nodelay() as an alternative to select() -TD * correct fix for PDCurses on win32, i.e., the workaround in LYStrings.c myGetChar() (report by William McBrine) -TD * replace a couple of wmove(LYwin,y,x) calls with LYmove(y,x) -TD * modify configure macro CF_PATH_SYNTAX to account for the --prefix and --exec-prefix options, making the --with-cfg-file and --with-lss-file options have the expected behavior of using the given prefix (reported by PG) -TD * modify ifdef's for Current_Attr variable to allow scrollbar feature to build with slang configuration on Windows (report by Gisle Vanem) -TD 2006-08-31 (2.8.6pre.1) 2006-08-31 (2.8.6dev.19) * add --enable-widec configure option to allow building lynx without wide character support using ncursesw, to accommodate users with older releases of ncurses (request by Emanuele Giaquinta) -TD * add -stderr option to write error messages when doing a -dump -or -source. Normally these are written to the status line but that does not exist when dumping to standard output (Debian #375736) -TD * fixes for GNU TLS configuration (also addresses Debian #231609) -TG, TH * add check for failure to write to disk, e.g., on disk full, and report error condition via HTAlert() -PG * updated README.sslcerts -Stef Caunter * add example of -source in manpage to explain how HREF's are constructed (Debian #347989) -TD * fixes to make redraw_part_of_line() to work with double-width characters. This is used in color-style to repaint an inactive hyperlink -TD * ensure the number of "extra" blanks in a line is greater than zero before attempting to perform text-justification (Debian #363538) -TD * improve wrapping logic in LYwaddnstr() by using a derived window. This fixes a problem with wrapping of multibyte character links -TD * repair fix for Debian #171312 by ensuring that it is only invoked if the document was not being reloaded, or popped off the history stack. See logic for popped_doc vs LYSetNewline() in LYMainLoop.c (report by TH) -TD * add error-reporting for the PRETTYSRC_SPEC data in lynx.cfg (prompted by discussion by OpenMacNews and Thorsten Glaser) -TD * add a carriage-return in stop_curses() to work around PDCurses leaving the cursor position other places than lower-level when stopping curses (report by DK) -TD * add an explicit wmove() in display_line() to accommodate some wide-character pages which are not handled well by the nested-table logic, resulting in unexpected wrapping (report by Dan Jacobson) -TD * modify limit for CJK double-byte characters in display_line() to accommodate a test-case rightSideEdgeTest.html provided by TH -TD * add a workaround in LYStrings.c myGetChar() for PDCurses, which may return an ERR value which is not -1 (reports by DK, William McBrine) -TD * remove ifdef from 2.8.2dev.14 which omitted bindtextdomain() call from DJGPP NLS configuration -DK * modify autoconf macro AM_PATH_PROG_WITH_TEST to account for executable suffix in win32 environment -DK * correct a mistyped parameter to CreateThread() (report by DK) -TD * do not use LIBOBJS symbol directly in configure script except to support AC_REPLACE_FUNCS, since the autoconf macros dealing with that symbol changed incompatibly in autoconf 2.54 (report by DK) -TD * fixes to work with BeOS 5.0 -Nigel Horne * use portable TXT_R rather than "rt" for popen() mode in clip_grab() (reported by Antonio Maria Borneo) -TD * modify makeutcb.c to avoid compile-time dependency upon gettext, in case it is used in cross-compiling -TD * modify expression for ws_read_per_sec in ws_netread() to avoid potential divide-by-zero on a network error (reported by David Potter) -Hataguchi Takeshi, -TD * modify fix for Debian #335593 to ensure that only image maps for the current page are listed (report by DK) -TD * correct URL for HTML'ized description of all settings in lynx.cfg (report by DK) -TD * use configure macro CF_SIGWINCH to work around special case on Mac OS X which leaves SIGWINCH undefined -TD * add configure options --with-cfg-file and --with-lss-file to allow one to specify the names and paths of the default configuration and color-style files -TD * change configure script --enable-color-style so it is enabled by default (prompted by request by Jason Spiro) -TD * add COLOR_STYLE setting to lynx.cfg -TD * change default initialization of color-style code when no lss file is given to simulate the non-color-style code. There are some visual differences, e.g., links that contain a mixture of styles will display with mixed colors, but overall the visual effect matches the non-color-style code well enough to change the default configuration. If an empty string is given for the lss filename, this is treated as an empty style file, and lynx will not use its built-in default color style. To make the behavior easier to diagnose, lynx will now exit with an error if it cannot find the lss file. cf: 2000-07-16 (2.8.4dev.5) -TD * fix a sign-extension in alignment case-statement in split_line() which could cause a large indent for lines which are wider than the display (Debian #360832, #372670) -TD * fix ifdef's in LYOptions.c to make --disable-menu-options work (report by PW) -TD 2006-05-29 (2.8.6dev.18) * suppress OpenSSL URL from version message if it happens to be built using GNU TLS -TD * change default for DEFAULT_INDEX_FILE in lynx.cfg to http://lynx.isc.org/ since the Mosaic MetaIndex file is defunct (suggested by Stef Caunter) * update makelynx.bat (report by FLWM) -TD * add presentation for text/css, to allow browsing ".css" files -Stef Caunter * modify LYPrint.c suggested_filename() to strip bzip2's ".bz2" suffixes as well as ".zz" suffixes -TD * modify configure script macro AM_PATH_PROG_WITH_TEST to allow for DOS device letter, and to override $PATHSEP with $PATH_SEPARATOR if the latter is set -DK * modify ifdef in LYCurses.c to avoid using nonfunctional PDCurses 2.7 newterm() -DK * update config.guess (2006-04-26) and config.sub (2006-05-13) * improvements to configure script macros -TD + don't use curses_colr on HPUX 11 + split-out CF_CURSES_HEADER to simplify comparison with CF_NCURSES_HEADER + modify AM_WITH_NLS to make it look in non-system locations, e.g., to work with FreeBSD ports system * modify HTLoadHTTP() to interpret leading asterisks in common name fields as wildcards -Thorsten Glaser * remove SH_EX hardcoded Latin-1 table for strcasecomp() -TD * fixes for compiling in Cygwin environment -TH + modify not to check d_ino when __CYGWIN__ is defined because it does not seem to be supported by Cygwin now. + modify to use fill_rehostent to avoid segfault in _fork_func, which is used in Win32 environment (includes Cygwin). * fix some printf formats -Thorsten Glaser * fix some non-POSIX syntax in scripts/cfg_path.sh -PG * modify makefile.in to ensure that scripts are prefixed with $(SHELL), in case packager has stripped executable permissions from scripts, e.g., by using CVS (report by Atsuhito Kohda) -TD * add a null-pointer check in handle_LYK_HEAD() to cover a case where doing a HEAD on a link failed because there was no submit action associated with the link (report by Walter Ian Kaye, Stef Caunter) -TD * improve tbl2html.pl script to cover the ranges and approximations used in def7_uni.tbl -TD * additional def7_uni.tbl conversions (patch by Tim Larson). * fix ifdef's for repeated-include of winsock.h for Visual Studio 6 -TD 2006-01-22 (2.8.6dev.17) * improve EXP_JAPANESEUTF8_SUPPORT -TH + correct an ifdef in HTMIME.c + correct the behavior of encoding a text in input element, when the type is hidden and the text is japanese encoded utf-8. + correct "//TRANSLIT" position in iconv_open() parameter. * remove redundant size-check in change for HText_trimHightext() in 2.8.5dev.8 to fix highlighting for this case: Line 1

Line 2

Line 3 (report by Andrew Belov). * add U+213B FAX to def7_uni.tbl (Debian #344275) -TD * adjust anchor extent to discount trailing blank which is trimmed when rendering. If the blank is not trimmed, link highlighting in color-style will show a spurious character (report by Karl-Heinz Weirich) -TD * fixes to source-view of ftp:// and file:// URLs, i.e., eliminate redundant PRE's, add DOCTYPE and meta tags (Debian #347989) -TD * modify makefile.msc to ease scripted building of various configurations without needing to edit that file -TD * fixes to allow building with Visual C++ .NET 2003 -TD * modify configure script checks for gettext to supply include- and lib-paths, e.g., to work on partly broken platforms such as FreeBSD -TD * modify parsing of filename from Content-Disposition so that the name is not truncated on embedded whitespace. For most systems, the blanks will be retained. For VMS and MSDOS, the blanks are translated to underscores (Debian #291716) -TD * add a range-check for references to the style cache -Andrew Belov * modify fmt_tempname() to avoid the possibility of long random sequences that do not yield an unused filename (report by FLWM) -TD * modify install rules for lynx.cfg to allow for pathnames on OS/2 EMX that begin with a drive letter rather than a slash -TD * move scripts that are not part of the configure script into scripts subdirectory: cfg_defs.sh, cfg_edit, fixtext.sh -TD * improve workaround for line-drawing characters with font-switching by checking if the loaded font has line-drawing characters in the same positions as the terminal description, rather than simply ignoring line-drawing when the codeset differs (report by Karl-Heinz Weirich) -TD * fix some ifdef's that did not work when disabling all features -TD * fix a typo in LYMap.c from Debian #335593 changes (report by Jens Schleusener) -TD * really remove pointer to moxienet (report by Stef Caunter) -TD 2005-12-18 (2.8.6dev.16) * change configure option default for --enable-justify-elts to true -TD * change default for JUSTIFY to "false" (suggested by Bela Lubkin) -TD * update config.guess (2005-11-11) and config.sub (2005-11-13) * print the contents of image maps, if any, at the end of a dump (Debian #335593) -TD * fix off-by-one line calculation that allowed the last page to be blank (Debian #330413) -TD * modify statusline() to retain one trailing blank if the given string has a trailing blank. This makes prompts easier to read (report by Karl-Heinz Weirich) -TD * modify pipe read in LYGetHostByName() to retry until either the pipe closes or the struct passed back from the child process completes. This is needed for OS/2 EMX (report by Karl-Heinz Weirich) -TD * strip unneeded " " from translation when building info page using wide curses (Debian #342877) -TD * add scripts/tbl2html.pl, which can be used to generate test pages for the charsets from src/chrtrans/*.tbl -TD * add ISO-8859-13 and ISO-8859-14 chrtrans tables, revise ISO-8859-10 based on http://czyborra.com/charsets/iso8859.html Change display name for ISO-8859-10 to indicate the region -TD * add codepage 857 (DOSTurkish), since console-tools package provides a suitable font -TD * improve UCSetBoxChars(), checking if the current character set does not match the character set inferred from the locale. This reduces the number of cases where line-drawing in the options menu does not work -TD * rename test/iso8859-1.html and test/iso88592.html to test/iso-8859-1.html and test/isoi-8859-2.html, corresponding to the proper MIME names to simplify test-scripts -TD * update Linux console font support to use console-tools package (tested on Debian). The configure script checks for consolechars and setfont programs (must find at least one). The corresponding SETFONT_PATH can be set in lynx.cfg to provide a choice between the two -TD * strip special characters such as '%' from parameters passed to external programs for EXTERNAL mechanism on Windows platform. This is ifdef'd with WIN_EX (Hataguchi Takeshi). * modify definition of addch_raw() to allow scrollbar to work with slang2 (this only works on the Windows platform) -GV * modify LYSysShell() to use $COMSPEC if $SHELL is not defined -GV * workaround for codepage support on OS/2 by changing the effect of unctrl(). Add/use new preferred function use_legacy_coding() to ncurses which provides the same effect with the wide-character ncursesw (report by Karl-Heinz Weirich) -TD * fixes for de.po (Debian #313789, patch by Jens Seidel). * add a null pointer check for HTCurSelectedOptionValue in HText_setLastOptionValue() to improve handling of this fragment:

(Alexey Dobriyan). * add a null pointer check in HTML_TAB case of HTML_start_element() to handle this fragment: (Alexey Dobriyan). * remove pointer to http://www.moxienet.com/lynx/ since it no longer has useful information about SSL for Lynx (Crouton). * add description of configure --with-build-cc, etc., to INSTALLATION -TD * modify Switch_Display_Charset() so the font-switching feature can be turned off at runtime, rather than silently re-enabling it every time a new page is viewed. The automatic switching is enabled if the user has configured lynx to use one of the automatically-detected fonts -TD * fix ifdef's to allow building --without-font-switch with OS/2 EMX -TD * work around bug in PDCurses wrapping by adjusting LYcolLimit macro. The dev.14 change to HText_appendCharacter() exposed this bug in the Options menu (report by Hataguchi Takeshi) -TD * fix change to lynx_default_colors() from dev.14 change to work with the bright-blue.lss file (report by FLWM) -TD * add a configure test for ctermid(), needed for OS/2 EMX (report by YANAGIHARA Nobuyuki) -TD 2005-10-30 (2.8.6dev.15) * update URL for VMS server information in LYCgi.c -TD * modify LYLoadCGI() to prompt user, displaying the command that would be executed, to confirm that it should be. This makes it easier to notice when a local program would be run by activating a lynxcgi link. This is not done in advanced mode, since the URL is already visible in the status line (report by vade79, comments by Greg MacManus) -TD 2005-10-17 (2.8.6dev.14) * add configure script support for large files; some changes made be needed to the C code in dev.15 to exploit this -TD * work around part of the forms-menu extra wrapping from dev.12 by adjusting text-field maximum size in HText_beginInput(). There is still wrapping of options lists, which has to be treated differently. The cause for this is the fix made to HText_appendCharacter() in dev.12 -TD * extend experimental option --enable-japanese-utf8, allowing lynx to convert EUC-JP and Shift_JIS strings to UTF-8 -TH * modify CF_BUILD_CC to avoid clobbering environment variable $BUILD_CC (from ncurses changes) -TD * remove special case in CF_XOPEN_SOURCE which suppresses _XOPEN_SOURCE definition for Darwin (request by Emanuele Giaquinta) * fix an off-by-one error in comparison in HText_appendCharacter(), from dev.12 changes which showed up as wrapped lines in the options menu -TD * use h_addr_list[0] rather than h_addr in HTTCP.c for POSIX compatibility (Emanuele Giaquinta) * remove references to LIBCMU in HTTCP.c, since it is long obsolete -TD * force a newline in HTML_end_element() after a , which causes lines containing only whitespace before the to display a new line, rather than putting that whitespace before text that follows the (report by Thorsten Glaser for http://gcc.gnu.org/gcc-4.1/changes.html) -TD * improve fix for LYstartPopup() in dev.6 by keeping the menu width as-is and adjusting its position rather than simply using the full screen-width when the first try fails (report by Gene Small) -TD * correct logic in lynx_default_colors() so the color-style configuration does not attempt to use default colors on a terminal which does not support it (report by Bryan Henderson) -TD * add/improve limit checks in HTLex.c -Ulf Harnhammar, TD * ifdef'd out unused code in HTGroup.c -TD * eliminate fixed-size buffers in LYExpandHostForURL() to guard against buffer overflow resulting from too-long domain prefix/suffix data from lynx.cfg (report by Ulf Harnhammar) -TD * add a check for missing ':' in gopher response, to recover from the error (patch by Ulf Harnhammar) * eliminate fixed-size buffers in HTrjis() and related functions to avoid potential buffer overflow in nntp pages (report by Ulf Harnhammar, CAN-2005-3120) -TD * correct "escape" character used in HTMake822Word, which was literally an ASCII escape character rather than the RFC-822 backslash from 2.8.2dev.3 changes (report by Frederic Briere, Debian #318034) -TD * fix: when first "option" element of "select" had "disabled" attribute, Lynx turned the entire "option/choice list" UNMODIFIABLE. The "disabled" attribute of later "option" elements within the same "select" did not have this effect. If the "disabled" attribute is honored, it should disable only that element, not parent element or sibling elements (report by Paavo Hartikainen) -TD * make CF_TAR_OPTIONS configure macro work with DJGPP by using $EXEEXT -DK * update config.guess (2005-09-19) and config.sub (2005-07-08) * configure script updates from tin and ncurses -TD * modify LYwaddnstr() to avoid sign-extension from changes in dev.12 (report by FLWM) -TD * modify initialization so that cat options.txt | lynx - will allow interactive use (report by Arne Kowallik) -TD * add NO_MARGINS and NO_TITLE to lynx.cfg (request by Stef Caunter) -TD * adjust line-position for form fields when -notitle option is used (report by Arne Kowallik) -TD 2005-06-07 (2.8.6dev.13) * add a check in LYnormalColor() to ensure that the color value is really a color, i.e., do not do anything for monochrome displays (reports by OpenMacNews and Jens Schleusener) -TD * make -nomargins option apply to Options menu layout -TD * changes to LYwaddnstr() in dev.12 exposed a case from dev.6 where the title string was not truncated to avoid wrapping (report by PG) -TD * changes to LYwaddnstr() in dev.12 allowed recursion in a case that was only designed for iteration (report by OpenMacNews) -TD 2005-06-02 (2.8.6dev.12) * add rw.po, vi.po from http://www.iro.umontreal.ca/translation/maint/lynx/ * modify ".lss" files to work equally well on terminals setup with white text on black background, or the reverse. This also required fixing a few places in LYsubwindow() and curses_w_style() to make window backgrounds use the colors given in the ".lss" default- and normal-colors lines -TD * make ".lss" example files somewhat readable by modifying parser to remove blanks from the color description lines and modifying the example files to use this feature -TD * modify scripts/cfg2html.pl to use strict variable checking, Getopt::Std to eliminate a uninitialized variable warning -TD * modified fix for slang 2.0 which makes it clearer that the last parameter of SLexpand_escaped_string is for UTF-8 -JED * when SOURCE_CACHE_MEMORY is used, avoid repeated realloc's of the same memory chunk (really annoying for a long document) -LP * HTChunk extended to a linked list of chunks, additional put methods added. Useful for pool infrastructure -LP * add ".h" to .SUFFIXES rule in src/chrtrans/makefile.in to work around change made in NetBSD "make" late in 2003, incorporated into the 2.0 release. The CVS change notes: Trim .SUFFIXES to only contain those used in this file. (reported by Stef Caunter, comments by Klaus Klein and Martin Husemann) -TD * modify LYhighlight() to allow for the case where a form link extends for several lines. It was not providing enough padding to fill in the "_" characters past the first line of the link -TD * modify LYwaddnstr() to account for the case where LYhighlight calls it to display a link which extends beyond the current line, i.e., it should be wrapped. When lynx is built to use curses-pads, the highlighting was instead truncated since it was computed according to the pad's limits. Fixing this exposes some related problems with off-by-one's in GridText.c -TD * correct parsing of "key 0xNN" lines in command-scripts, had omitted a "!" to invert a check (report by Silvio Moioli) -TD * correct off-by-one in expression for LYHideCursor(), since dev.6 changes modified the LYcolLimit variable, changing it from the last usable column value to the number of columns (report by DK) -TD * correct expression in HText_appendCharacter() which was simplified in 2.8.5dev.4, but broke a comparison used for text-justification -TD * adjust wide-character offset computation in HText_trimHightext() to account for soft newlines, i.e., the cell reserved to show continuation lines -TD * modify source-view toggle to keep the current anchor visible. Toggling source view may change the line number on which the anchor is found, requiring some adjustment. This feature is implemented only for source cached pages -TD * remove obsolete ifdef in LYwaddnstr() for ncurses 5.1's experimental UTF-8 support -TD * modify HTConfirmCookie() and statusline() to allow cookie prompt message in Japanese to not be truncated when using wide-curses -TD * modify logic for locale_charset configuration variable so it is not modified simply by saving the .lynxrc while in running in a non-locale configuration. That does not alter the display charset used by lynx -TD * correct calculation of extra space available for justification in split_line() for the wide-curses configuration. Changes from dev.6 made this count formatting control characters twice, resulting in some lines too long when justification was enabled -TD * improve description of command-line option syntax in the manpage, including noting how to find the default values for most options (Debian #292393) -TD * modify is_true/is_false macros for processing command-line options to accept "true" and "false" strings for consistency with the lynx.cfg parser, and to ignore case of the boolean option values -TD * add -notitle option to suppress title line and following blank line to maximize screen use for small displays (request by Daniele Baggio) -TD * add -nomargins option to suppress left/right margins to maximize screen use for small displays (request by Daniele Baggio) -TD * add null-pointer checks in HText_setLastOptionValue() to guard against empty