Commit c26c6cdc authored by Axel Beckert's avatar Axel Beckert

Imported Upstream version 2.8.8dev.14

parent f3f5f3f1
@echo off
@rem $LynxId: clean.bat,v 1.1 2007/06/30 14:16:07 tom Exp $
@rem Remove all build-products in subdirectories, leaving only sources (and unrecognized types)
del/f/s/q *.aps
del/f/s/q *.bsc
del/f/s/q *.dep
del/f/s/q *.exe
del/f/s/q *.exp
del/f/s/q *.i
del/f/s/q *.idb
del/f/s/q *.ilk
del/f/s/q *.lib
del/f/s/q *.ncb
del/f/s/q *.obj
del/f/s/q *.opt
del/f/s/q *.pch
del/f/s/q *.pdb
del/f/s/q *.plg
del/f/s/q *.res
del/f/s/q *.sbr
del/f/s/q *.suo
del/f/s/q *.manifest
del/f/s/q *.user
del/f/s/q BuildLog.htm
attrib +r *.h /s
attrib +r *.bat /s
attrib +r *.sln /s
attrib +r *.vcproj /s
@echo off
@rem $LynxId: develop.bat,v 1.2 2007/06/29 00:22:25 tom Exp $
@rem ensure that all IDE files are writable
attrib -r *.bat /s
attrib -r *.sln /s
attrib -r *.vcproj /s
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lynx", "lynx.vcproj", "{77B6BED2-257D-4F7D-AA1B-D180875BD3BF}"
ProjectSection(ProjectDependencies) = postProject
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E} = {3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "makeuctb", "..\makeuctb\makeuctb.vcproj", "{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{77B6BED2-257D-4F7D-AA1B-D180875BD3BF}.Debug|Win32.ActiveCfg = Debug|Win32
{77B6BED2-257D-4F7D-AA1B-D180875BD3BF}.Debug|Win32.Build.0 = Debug|Win32
{77B6BED2-257D-4F7D-AA1B-D180875BD3BF}.Release|Win32.ActiveCfg = Release|Win32
{77B6BED2-257D-4F7D-AA1B-D180875BD3BF}.Release|Win32.Build.0 = Release|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Debug|Win32.ActiveCfg = Debug|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Debug|Win32.Build.0 = Debug|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Release|Win32.ActiveCfg = Release|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
This diff is collapsed.
// $LynxId: lynx_cfg.h,v 1.5 2011/05/28 13:07:55 tom Exp $
// definitions abstracted from makefile.msc
#ifndef LYNX_CFG_H
#define LYNX_CFG_H 1
#define __WIN32__
#define _WINDOWS
#define _WIN32_WINNT 0x0400
#define WIN32_LEAN_AND_MEAN 1 // fixes redefinition of winsock2.h
#define ACCESS_AUTH 1
#define CJK_EX 1
#define DIRED_SUPPORT 1
#define DISP_PARTIAL 1
#define DOSPATH 1
#define USE_ALT_BINDINGS 1
#define EXP_NESTED_TABLES 1
#define HAVE_KEYPAD 1
#define HAVE_PUTENV 1
#define LONG_LIST 1
#define NDEBUG 1
#define NOSIGHUP 1
#define NOUSERS 1
#define NO_CONFIG_INFO 1
#define NO_CUSERID 1
#define NO_FILIO_H 1
#define NO_TTYTYPE 1
#define NO_UNISTD_H 1
#define NO_UTMP 1
#define OK_OVERRIDE 1
#define SH_EX 1
#define USE_CMD_LOGGING 1
#define USE_EXTERNALS 1
#define USE_FILE_UPLOAD 1
#define USE_JUSTIFY_ELTS 1
#define USE_MULTIBYTE_CURSES 1
#define USE_PERSISTENT_COOKIES 1
#define USE_PRETTYSRC 1
#define USE_READPROGRESS 1
#define USE_SCROLLBAR 1
#define USE_SOURCE_CACHE 1
#define USE_ZLIB 1
#define WIN_EX 1
// definitions to account for using this file (see HTUtils.h, userdefs.h)
#define ANSI_VARARGS 1
#define HAVE_GETCWD 1
#define HAVE_STDARG_H 1
#define HAVE_STDLIB_H 1
#define LYNX_CFG_FILE "./lynx.cfg"
#define UNDERLINE_LINKS FALSE
#define socklen_t int
// configuration choices
#define PDCURSES 1
#define USE_WINSOCK2_H 1
#ifdef PDCURSES
#define USE_COLOR_STYLE 1
#define COLOR_CURSES 1
#define FANCY_CURSES 1
#endif
#pragma warning (disable : 4244) /* conversion from 'xxx' to 'yyy', possible loss of data */
#pragma warning (disable : 4267) /* conversion from 'xxx' to 'yyy', possible loss of data */
#pragma warning (disable : 4311) /* 'type cast': pointer truncation from 'xxx' to 'yyy' FIXME */
#pragma warning (disable : 4996) /* 'xxx': This function or variable may be unsafe. Consider using yyy instead. */
#endif /* LYNX_CFG_H */

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "makeuctb", "makeuctb.vcproj", "{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Debug|Win32.ActiveCfg = Debug|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Debug|Win32.Build.0 = Debug|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Release|Win32.ActiveCfg = Release|Win32
{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="makeuctb"
ProjectGUID="{3EF8C45C-FC77-47B8-A5B6-5F9034ECE06E}"
RootNamespace="makeuctb"
Keyword="Win32Proj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
CommandLine="setlocal&#x0D;&#x0A;set MYDST=..\..\..\src\chrtrans&#x0D;&#x0A;copy $(TargetPath) %MYDST%&#x0D;&#x0A;cd %MYDST%&#x0D;&#x0A;call makehdrs&#x0D;&#x0A;endlocal&#x0D;&#x0A;"
Outputs="..\..\..\src\chrtrans\makeuctb.exe;..\..\..\src\chrtrans\def7_uni.h;..\..\..\src\chrtrans\cp1250_uni.h;..\..\..\src\chrtrans\cp1251_uni.h;..\..\..\src\chrtrans\cp1252_uni.h;..\..\..\src\chrtrans\cp1253_uni.h;..\..\..\src\chrtrans\cp1255_uni.h;..\..\..\src\chrtrans\cp1256_uni.h;..\..\..\src\chrtrans\cp1257_uni.h;..\..\..\src\chrtrans\cp437_uni.h;..\..\..\src\chrtrans\cp737_uni.h;..\..\..\src\chrtrans\cp775_uni.h;..\..\..\src\chrtrans\cp850_uni.h;..\..\..\src\chrtrans\cp852_uni.h;..\..\..\src\chrtrans\cp857_uni.h;..\..\..\src\chrtrans\cp862_uni.h;..\..\..\src\chrtrans\cp864_uni.h;..\..\..\src\chrtrans\cp866_uni.h;..\..\..\src\chrtrans\cp866u_uni.h;..\..\..\src\chrtrans\cp869_uni.h;..\..\..\src\chrtrans\dmcs_uni.h;..\..\..\src\chrtrans\hp_uni.h;..\..\..\src\chrtrans\iso01_uni.h;..\..\..\src\chrtrans\iso02_uni.h;..\..\..\src\chrtrans\iso03_uni.h;..\..\..\src\chrtrans\iso04_uni.h;..\..\..\src\chrtrans\iso05_uni.h;..\..\..\src\chrtrans\iso06_uni.h;..\..\..\src\chrtrans\iso07_uni.h;..\..\..\src\chrtrans\iso08_uni.h;..\..\..\src\chrtrans\iso09_uni.h;..\..\..\src\chrtrans\iso10_uni.h;..\..\..\src\chrtrans\iso13_uni.h;..\..\..\src\chrtrans\iso14_uni.h;..\..\..\src\chrtrans\iso15_uni.h;..\..\..\src\chrtrans\koi8r_uni.h;..\..\..\src\chrtrans\koi8u_uni.h;..\..\..\src\chrtrans\mac_uni.h;..\..\..\src\chrtrans\mnem2_suni.h;..\..\..\src\chrtrans\mnem_suni.h;..\..\..\src\chrtrans\next_uni.h;..\..\..\src\chrtrans\pt154_uni.h;..\..\..\src\chrtrans\rfc_suni.h;..\..\..\src\chrtrans\utf8_uni.h;..\..\..\src\chrtrans\viscii_uni.h"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\lynx;&quot;$(SolutionDir)..\..\..&quot;;&quot;$(SolutionDir)..\..\..\lib&quot;;&quot;$(SolutionDir)..\..\..\WWW\Library\Implementation&quot;;&quot;$(SolutionDir)..\..\..\src&quot;;&quot;$(SolutionDir)..\..\..\src\chrtrans&quot;"
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_MBCS;HAVE_CONFIG_H"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
CommandLine="setlocal&#x0D;&#x0A;set MYDST=..\..\..\src\chrtrans&#x0D;&#x0A;copy $(TargetPath) %MYDST%&#x0D;&#x0A;cd %MYDST%&#x0D;&#x0A;call makehdrs&#x0D;&#x0A;endlocal&#x0D;&#x0A;"
Outputs="..\..\..\src\chrtrans\makeuctb.exe;..\..\..\src\chrtrans\def7_uni.h;..\..\..\src\chrtrans\cp1250_uni.h;..\..\..\src\chrtrans\cp1251_uni.h;..\..\..\src\chrtrans\cp1252_uni.h;..\..\..\src\chrtrans\cp1253_uni.h;..\..\..\src\chrtrans\cp1255_uni.h;..\..\..\src\chrtrans\cp1256_uni.h;..\..\..\src\chrtrans\cp1257_uni.h;..\..\..\src\chrtrans\cp437_uni.h;..\..\..\src\chrtrans\cp737_uni.h;..\..\..\src\chrtrans\cp775_uni.h;..\..\..\src\chrtrans\cp850_uni.h;..\..\..\src\chrtrans\cp852_uni.h;..\..\..\src\chrtrans\cp857_uni.h;..\..\..\src\chrtrans\cp862_uni.h;..\..\..\src\chrtrans\cp864_uni.h;..\..\..\src\chrtrans\cp866_uni.h;..\..\..\src\chrtrans\cp866u_uni.h;..\..\..\src\chrtrans\cp869_uni.h;..\..\..\src\chrtrans\dmcs_uni.h;..\..\..\src\chrtrans\hp_uni.h;..\..\..\src\chrtrans\iso01_uni.h;..\..\..\src\chrtrans\iso02_uni.h;..\..\..\src\chrtrans\iso03_uni.h;..\..\..\src\chrtrans\iso04_uni.h;..\..\..\src\chrtrans\iso05_uni.h;..\..\..\src\chrtrans\iso06_uni.h;..\..\..\src\chrtrans\iso07_uni.h;..\..\..\src\chrtrans\iso08_uni.h;..\..\..\src\chrtrans\iso09_uni.h;..\..\..\src\chrtrans\iso10_uni.h;..\..\..\src\chrtrans\iso13_uni.h;..\..\..\src\chrtrans\iso14_uni.h;..\..\..\src\chrtrans\iso15_uni.h;..\..\..\src\chrtrans\koi8r_uni.h;..\..\..\src\chrtrans\koi8u_uni.h;..\..\..\src\chrtrans\mac_uni.h;..\..\..\src\chrtrans\mnem2_suni.h;..\..\..\src\chrtrans\mnem_suni.h;..\..\..\src\chrtrans\next_uni.h;..\..\..\src\chrtrans\pt154_uni.h;..\..\..\src\chrtrans\rfc_suni.h;..\..\..\src\chrtrans\utf8_uni.h;..\..\..\src\chrtrans\viscii_uni.h"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\lynx;&quot;$(SolutionDir)..\..\..&quot;;&quot;$(SolutionDir)..\..\..\lib&quot;;&quot;$(SolutionDir)..\..\..\WWW\Library\Implementation&quot;;&quot;$(SolutionDir)..\..\..\src&quot;;&quot;$(SolutionDir)..\..\..\src\chrtrans&quot;"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;HAVE_CONFIG_H"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\src\chrtrans\makeuctb.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\..\..\src\chrtrans\caselower.h"
>
</File>
<File
RelativePath="..\..\..\src\chrtrans\entities.h"
>
</File>
<File
RelativePath="..\..\..\src\chrtrans\jcuken_kb.h"
>
</File>
<File
RelativePath="..\..\..\src\chrtrans\rot13_kb.h"
>
</File>
<File
RelativePath="..\..\..\src\chrtrans\UCkd.h"
>
</File>
<File
RelativePath="..\..\..\src\chrtrans\yawerty_kb.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
-- $LynxId: CHANGES,v 1.597 2012/02/23 01:18:46 tom Exp $
-- $LynxId: CHANGES,v 1.619 2012/08/22 09:56:16 tom Exp $
===============================================================================
Changes since Lynx 2.8 release
===============================================================================
2012-08-22 (2.8.8dev.14)
* reset anchor's actual-length calculation at the end of pumpData() to handle
scenario where this is used for internal data movement, i.e., for
decompressing files (report by Owen Leibman, Debian #681214) -TD
* drop two files overlooked in previous commit:
lynx.rsp and WWW/Library/Implementation/HTFWriter.c
2012-08-15 (2.8.8dev.13)
* make nsl-fork work for the DNS lookup using getaddrinfo, i.e., for IPv6
configurations (report by FLWM) -TD
* add U+0218, U+0219, U+021a, and U+021b to 0x53, 0x73, 0x54, and 0x74,
respectively, for Romanian s/t with cedilla in def7_uni.tbl (Ralph Babel)
* modify handling of "set" in -cmd_script option to try both cfg-file and
rc-file settings (prompted by discussion with Andrew Watts) -TD
* update configure script to add --datarootdir option, which changes the
default for man-page from /usr/lib to /usr/share -TD
* modify configure check for sizeof(time_t), sizeof(off_t) to help recover if
it is run in a deficient environment such as busybox -TD
* limit downloaded files by Content-Length if any, to match behavior of IE,
Firefox and some other browsers; this is not addressed in RFC 2616 (Debian
#681214) -TD
For more information, see "Content-Length in the Real World" by Eric Law:
http://blogs.msdn.com/b/ieinternals/archive/2011/03/09/browsers-accommodate-incorrect-http-content-length-and-sites-depressingly-depend-on-it.aspx
* fix an unbounded loop in restrictions_fun() which could cause a core dump
(Debian #616107) -TD
* add LDFLAGS to top-level makefile.in, for consistency with other recursive
options (suggested by Naomasa Maruyama) -TD
* modify makefile.in and src/makefile.in to pass make-flags, e.g., "-n" for
POSIX make -TD
* updated configure macros (TD):
+ add check for clang warning options
+ check for tinfo library, which may be present
+ omit -Wpointer-arith check for pre-3.0 gcc
+ add check for 'make' programs ${MAKEFLAGS} versus ${MFLAGS}, for recursive
operation.
* updated list for "$(TABLES)" in src/makefile.in so that parallel builds work
properly (patch by Diego Elio Petteno)
* remove extra "$(LDFLAGS)" from src/makefile.in when linking lynx (patch by
Josef Sontgen)
* correct formatting of large file-sizes in directory listing (Debian
#666213) -TD
* improve checking of certificates in the gnutls_certificate_verify_peers2()
(report by Martin Georgiev) -TD
* update de.po eo.po sv.po vi.po from
http://translationproject.org/latest/lynx
* use PDCurses "wide" variation in makefile.msc -TD
* modified quoting for parameter values passed to blat mailer to ensure that
it handles embedded blanks (report by pfourier) -TD
* fix regression introduced by changes for Debian #603648 -TD
* modify makew32.bat and makefile.bcb to use GnuWin32 packages to simplify
builds with Borland 5.51 C++ compiler (prompted by discussion with
pfourier) -TD
* add configure check for windres needed for mingw build if cross-compiling -TD
2012-02-22 (2.8.8dev.12)
* treat charsets ISO-8859-8-E and ISO-8859-8-I as aliases of ISO-8859-8
(Owen Leibman)
......
......@@ -25,6 +25,8 @@ First, you must configure Lynx for your system regardless of the port you use.
Follow the instructions given immediately below to configure for your system,
and then go to the respective section concerning the port you wish to compile.
-------------------------------------------------------------------------------
I. General configuration instructions (all ports).
Step 1. Compile-time Variables.
......@@ -94,6 +96,8 @@ Step 5. Anonymous Accounts *** VERY IMPORTANT!!!!! ***
uses the -cfg and -homepage switches to specify lynx.cfg and start-file,
rather than relying on variables LYNX_CFG, LYNX_CFG_FILE and WWW_HOME.
-------------------------------------------------------------------------------
II. Compile instructions -- UNIX
1a. Auto-configure. The auto-configure script uses autoconf2.13 to generate a
......@@ -174,7 +178,7 @@ II. Compile instructions -- UNIX
for information on defines for which there are no option switches.
--datadir
Defines the location where you want the documentation files installed.
Defines the location where you want the documentation files installed.
The configure script constructs makefile actions to install lynx.cfg
modified to reflect this in the HELPFILE setting. (For platforms which
do not support a configure script, such as MS-DOS, Win32 and VMS, you
......@@ -339,7 +343,7 @@ II. Compile instructions -- UNIX
it.
--disable-persistent-cookies (prevent defining USE_PERSISTENT_COOKIES)
Turn off support for saving cookies to a file, for subsequent reuse.
Turn off support for saving cookies to a file, for subsequent reuse.
Persistent cookie support will use (or create) the file specified by
the 'COOKIE_FILE' option, or default to ".lynx_cookies" in the home
directory. (Currently there is no protection against conflict if
......@@ -363,17 +367,17 @@ II. Compile instructions -- UNIX
--disable-rpath-hack
The rpath-hack makes it simpler to build programs, particularly with
the *BSD ports which may have essential libraries in unusual places.
But it can interfere with building an executable for the base system.
the *BSD ports which may have essential libraries in unusual places.
But it can interfere with building an executable for the base system.
Use this option in that case.
--disable-scrollbar (define USE_SCROLLBAR)
Turn off support for scrollbar on the right-margin of the screen.
Turn off support for scrollbar on the right-margin of the screen.
If you configure with ncurses, this works with the mouse on xterm,
etc.
--disable-session-cache (define USE_CACHE_JAR)
Turn off support for saving/restoring session information in files.
Turn off support for saving/restoring session information in files.
Configurable from lynx.cfg
--disable-sessions (define USE_SESSIONS)
......@@ -814,6 +818,7 @@ II. Compile instructions -- UNIX
libraries are available for many platforms if you don't wish to compile
one yourself.
-------------------------------------------------------------------------------
III. Compile instructions -- VMS
......@@ -907,11 +912,69 @@ Step 3b. (optional compilation method)
You instead can SOCKSify the proxy server, and it will handle all clients,
not just Lynx.
-------------------------------------------------------------------------------
IV. Compile instructions -- Win32 (Windows95/98/NT)
Borland C:
---------
Simplified:
----------
Sources:
Download the current sources (choose a zip-file) from http://lynx.isc.org
and unzip them into a directory where you will build Lynx.
Compiler:
Download the Borland C/C++ 5.51 compiler from
http://forms.embarcadero.com/forms/BCC32CompilerDownload
This is a file named "freecompilertools.exe".
Run that to install the compiler, e.g., in
c:\app\bcc55
Do not install into a directory with spaces in its name, such as
c:\program files
Libraries:
Download these "setup" files from http://gnuwin32.sourceforge.net
libiconv-1.9.2-1.exe (libiconv)
libintl-0.14.4.exe (libintl)
openssl-0.9.8h-1-setup.exe (openssl)
pdcurses-2.6.exe (pdcurses)
zlib-1.2.3.exe (zlib)
Install all of the packages in the same directory, "c:\app\GnuWin32".
A fix is needed in GnuWin32 include/zconf.h: change line reading
#if 1 /* HAVE_UNISTD_H -- this line is updated by ./configure */
to
#ifdef HAVE_UNISTD_H
Prepare import-libraries using Borland's implib program. The ".lib"
files that it uses are a different format than the import libraries
distributed with GnuWin2. From Lynx's source directory run
bcblibs
Environment:
At this point, the bin-directory for the compiler and for the GnuWin32
libraries should be in your path.
Building:
From Lynx's source directory
cd src\chrtrans
makew32 clean
makew32
cd ..\..
makew32 clean
makew32
-------------------------------------------------------------------------------
Detailed:
--------
The original Win32 port was built with Borland C++ 4.52, but later
versions reportedly can be used. Before compiling the Lynx sources, you
need a curses library, and it is recommended that you have the zlib
......@@ -940,6 +1003,8 @@ Borland C:
-- 1997/10/12 - W. Buttles <lynx-port@fdisk.com>
-- 2010/11/27 - URL's updated by Doug Kaufman <dkaufman@rahul.net>
-------------------------------------------------------------------------------
Cygwin:
It is possible to compile under the cygwin system, which will allow you to
use the configure script described above for Unix. Type, for example,
......@@ -970,6 +1035,8 @@ Visual C++:
to build lynx.
-------------------------------------------------------------------------------
V. Compile instructions -- 386 DOS
Compiling for DOS with DJGPP has traditionally been a multistep
......@@ -1159,7 +1226,6 @@ V. Compile instructions -- 386 DOS
standard source distribution (http://www.openssl.org/). See the file
"INSTALL.DJGPP" in the OpenSSL distribution.
If you have trouble applying the patches, try using the "patch" program,
("http://www.delorie.com/pub/djgpp/current/v2gnu/pat261b.zip").
To read the Unix man style documentation, use, for example, "less"
......@@ -1287,6 +1353,7 @@ V. Compile instructions -- 386 DOS
-- 1997/10/3 - B. Schiavo <Wschiavo@concentric.net>
-- Last update - 2010/11/27
-------------------------------------------------------------------------------
VI. General installation instructions
......@@ -1321,6 +1388,7 @@ VI. General installation instructions
build, be certain to do a "make clean" (or "make distclean" for those
using auto-configure) before attempting to compile again.
-------------------------------------------------------------------------------
VII. Setting environment variables before running Lynx (optional)
......@@ -1387,4 +1455,4 @@ VIII. Acknowledgment
-- 1999/04/24 - H. Nelson <lynx-admin@irm.nara.kindai.ac.jp>
-- vile:txtmode
-- $LynxId: INSTALLATION,v 1.117 2012/02/03 22:29:17 tom Exp $
-- $LynxId: INSTALLATION,v 1.120 2012/07/06 11:53:52 tom Exp $
lynx-dev (2.8.8dev.14) unstable; urgency=high
* fix regresion in dev.13
-- Thomas E. Dickey <dickey@invisible-island.net> Wed, 22 Aug 2012 06:22:28 -0400
lynx-dev (2.8.8dev.13) unstable; urgency=low
* changes for dev.13
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 07 Jul 2012 10:55:34 -0400
lynx-dev (2.8.8dev.12) unstable; urgency=low
* changes for dev.12
......
# $LynxId: lynx.spec,v 1.12 2012/02/23 01:22:53 tom Exp $
# $LynxId: lynx.spec,v 1.14 2012/08/22 10:21:56 tom Exp $
Summary: A text-based Web browser
Name: lynx
Version: 2.8.8
Release: dev.12
Release: dev.14
License: GPLv2
Group: Applications/Internet
Source: lynx%{version}%{release}.tgz
......
; version used for Inno Setup files.
; $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$
#define LYNX_VERSION "2.8.8dev.12"
#define LYNX_VERSION "2.8.8dev.14"
#define MyAppName "Lynx"
#define MyAppPublisher "Thomas E Dickey"
......
/*
* $LynxId: HTAnchor.h,v 1.34 2010/06/17 00:13:37 tom Exp $
* $LynxId: HTAnchor.h,v 1.36 2012/08/15 10:48:24 tom Exp $
*
* Hypertext "Anchor" Object HTAnchor.h
* ==========================
......@@ -114,7 +114,8 @@ extern "C" {
char *content_md5; /* Content-MD5 */
char *message_id; /* Message-ID */
char *subject; /* Subject */
long content_length; /* Content-Length */
off_t content_length; /* Content-Length */
off_t actual_length; /* actual length may differ */
char *date; /* Date */
char *expires; /* Expires */
char *last_modified; /* Last-Modified */
......
/*
* $LynxId: HTCJK.h,v 1.18 2010/09/25 11:41:29 tom Exp $
* $LynxId: HTCJK.h,v 1.19 2012/08/15 23:11:03 tom Exp $
*
* CJK character converter HTCJK.h
* =======================
......@@ -33,8 +33,8 @@ extern "C" {
#define TO_HANGUL "\033$(C"
#define TO_ASCII "\033(B"
#define IS_SJIS_LO(lo) ((0x40<=lo)&&(lo!=0x7F)&&(lo<=0xFC))
#define IS_SJIS_HI1(hi) ((0x81<=hi)&&(hi<=0x9F)) /* 1st lev. */
#define IS_SJIS_HI2(hi) ((0xE0<=hi)&&(hi<=0xEF)) /* 2nd lev. */
#define IS_SJIS_HI1(hi) ((0x81 <= (hi)) && ((hi) <= 0x9F)) /* 1st lev. */
#define IS_SJIS_HI2(hi) ((0xE0 <= (hi)) && ((hi) <= 0xEF)) /* 2nd lev. */
#define IS_SJIS(hi,lo,in_sjis) (!IS_SJIS_LO(lo)?0:IS_SJIS_HI1(hi)?(in_sjis=1):in_sjis&&IS_SJIS_HI2(hi))
#define IS_SJIS_2BYTE(hi,lo) (IS_SJIS_LO(lo)&&(IS_SJIS_HI1(hi)||IS_SJIS_HI2(hi)))
#define IS_SJIS_X0201KANA(lo) ((0xA1<=lo)&&(lo<=0xDF))
......
/*
* $LynxId: HTFTP.c,v 1.101 2012/02/09 12:34:48 tom Exp $
* $LynxId: HTFTP.c,v 1.104 2012/08/15 23:14:42 tom Exp $
*
* File Transfer Protocol (FTP) Client
* for a WorldWideWeb browser
......@@ -155,6 +155,13 @@ typedef struct _connection {
#define FREE_TARGET (*target->isa->_free) (target)
#define ABORT_TARGET (*target->isa->_free) (target)
#define TRACE_ENTRY(tag, entry_info) \
CTRACE((tfp, "HTFTP: %s filename: %s date: %s size: %" PRI_off_t "\n", \
tag, \
entry_info->filename, \
NonNull(entry_info->date), \
entry_info->size))
struct _HTStructured {
const HTStructuredClass *isa;
/* ... */
......@@ -244,6 +251,18 @@ static char *data_write_pointer;
#define NEXT_DATA_CHAR next_data_char()
static int close_connection(connection * con);
#ifndef HAVE_ATOLL
off_t LYatoll(const char *value)
{
off_t result = 0;
while (*value != '\0') {
result = (result * 10) + (off_t) (*value++ - '0');
}
return result;
}
#endif
#ifdef LY_FIND_LEAKS
/*
* This function frees module globals. - FM
......@@ -1481,7 +1500,7 @@ typedef struct _EntryInfo {
char *linkname; /* symbolic link, if any */
char *type;
char *date;
unsigned long size;
off_t size;
BOOLEAN display; /* show this entry? */
#ifdef LONG_LIST
unsigned long file_links;
......@@ -1577,7 +1596,7 @@ static void parse_eplf_line(char *line,