Commit 1a9fbb01 authored by Axel Beckert's avatar Axel Beckert

Imported Upstream version 2.8.6dev18

parent 5886901f
This diff is collapsed.
......@@ -251,17 +251,14 @@ II. Compile instructions -- UNIX
--disable-finger (define DISABLE_FINGER)
Do not compile-in code used to connect to "finger" URLs.
--disable-ftp (define DISABLE_FTP)
Do not compile-in code used to connect to FTP servers.
--disable-forms-options (define NO_OPTION_FORMS)
Disable the Form-based Options Menu (see --disable-menu-options).
The default is to compile key-based & form-based Options Menu code,
allowing users the final choice via FORMS_OPTIONS in lynx.cfg
or the -forms_options command-line switch.
--disable-gopher (define DISABLE_GOPHER)
Do not compile-in code used to connect to GOPHER servers.
--disable-ftp (define DISABLE_FTP)
Do not compile-in code used to connect to FTP servers.
--disable-full-paths
Use this option to control whether full pathnames are compiled in for
......@@ -280,11 +277,22 @@ II. Compile instructions -- UNIX
setenv TELNET /bin/false
--disable-gopher (define DISABLE_GOPHER)
Do not compile-in code used to connect to GOPHER servers.
--disable-included-msgs
Do not use included messages, for i18n support. If NLS support is
requested, the configure script will otherwise use the messages in the
./po subdirectory.
--disable-justify-elts (define EXP_JUSTIFY_ELTS)
Do not use element-justification logic.
--disable-largefiles (prevent defining LONG_LIST)
Use this option to disable the compiler and linker options that
provide largefile interfaces.
--disable-long-list (prevent defining LONG_LIST)
Use this option to disable long "ls -l" directory listings (when
enabled, the actual directory style is configurable from lynx.cfg).
......@@ -335,14 +343,14 @@ II. Compile instructions -- UNIX
Compiles-in an alternative list-page, bound to 'A' rather than 'l',
which always lists URLs rather than titles.
--enable-change-exec (define ENABLE_OPTS_CHANGE_EXEC)
Allow users to change the execution status within the options screen.
See EXEC_LINKS and EXEC_SCRIPTS.
--enable-cgi-links (define LYNXCGI_LINKS)
Allows lynx to access a cgi script directly without the need for
a http daemon.
--enable-change-exec (define ENABLE_OPTS_CHANGE_EXEC)
Allow users to change the execution status within the options screen.
See EXEC_LINKS and EXEC_SCRIPTS.
--enable-charset-choice (define EXP_CHARSET_CHOICE)
Add logic for ASSUMED_DOC_CHARSET_CHOICE and DISPLAY_CHARSET_CHOICE in
lynx.cfg, allowing user to configure a subset of the compiled-in
......@@ -397,12 +405,6 @@ II. Compile instructions -- UNIX
generate an HTMLized copy of lynx.cfg which will be installed with
the other help files.
--enable-ipv6 (define ENABLE_IPV6)
use experimental IPV6 (with IPV4) logic.
--enable-justify-elts (define EXP_JUSTIFY_ELTS)
use experimental element-justification logic.
--enable-internal-links (prevent defining DONT_TRACK_INTERNAL_LINKS)
With `internal links' (links within a document to a location within
the same document) enabled, Lynx will distinguish between, for example,
......@@ -415,6 +417,12 @@ II. Compile instructions -- UNIX
alternate opinion asserts that the feature could actually result in
inappropriate resubmission of form content.
--enable-ipv6 (define ENABLE_IPV6)
use experimental IPV6 (with IPV4) logic.
--enable-japanese-utf8 (define EXP_JAPANESEUTF8_SUPPORT)
use experimental Japanese UTF-8 logic.
--enable-kbd-layout (define EXP_KEYBOARD_LAYOUT)
Disabled by default, this option allows you to use translation
tables on the input keystrokes. Current tables include
......@@ -466,6 +474,14 @@ II. Compile instructions -- UNIX
support a configure script, such as MS-DOS, Win32 and VMS, you must
edit userdefs.h if you wish to specify the location of lynx.cfg).
--with-Xaw3d
This option allows you to specify the X libraries used if you
are configuring lynx to use PDCurses on a Unix platform.
--with-XawPlus
This option allows you to specify the X libraries used if you
are configuring lynx to use PDCurses on a Unix platform.
--with-charsets=list (define ALL_CHARSETS)
Limit the number of charsets that are compiled-in to the specified
list of comma-separated MIME names.
......@@ -499,6 +515,11 @@ II. Compile instructions -- UNIX
--with-libiconv-prefix=DIR
search for libiconv in DIR/include and DIR/lib
--with-neXtaw
This option allows you to specify the X libraries used if you
are configuring lynx to use PDCurses on a Unix platform.
--with-nls-datadir=DIR
Use this option to override the configure script's NLS data directory,
under which the locale (i.e., language) files are installed. The
......@@ -560,6 +581,34 @@ II. Compile instructions -- UNIX
or one level above. In either case, the corresponding header files
are assumed to be in the parallel "include" directory.
--with-build-cc=XXX
If cross-compiling, specify a host C compiler, which is needed to
compile a utility which generates tables for lynx.
If you do not give this option, the configure script checks if the
$BUILD_CC variable is set, and otherwise defaults to gcc or cc.
--with-build-cpp=XXX
This is unused by lynx.
--with-build-cflags=XXX
If cross-compiling, specify the host C compiler-flags. You might need
to do this if the target compiler has unusual flags which confuse the
host compiler.
--with-build-cppflags=XXX
If cross-compiling, specify the host C preprocessor-flags. You might
need to do this if the target compiler has unusual flags which confuse
the host compiler.
--with-build-ldflags=XXX
If cross-compiling, specify the host linker-flags. You might need to
do this if the target linker has unusual flags which confuse the host
compiler.
--with-build-libs=XXX
If cross-compiling, the host libraries. You might need to do this if
the target environment requires unusual libraries.
--with-bzlib (define USE_BZLIB)
Use libbz2 for decompression of some bzip2 files.
......
......@@ -4,6 +4,7 @@
* (c) Copyright 1992, 1993, 1994 University of Kansas
* 1995-1999: GNU General Public License
*/
#ifndef LYMESSAGES_EN_H
#define LYMESSAGES_EN_H
......@@ -207,7 +208,6 @@
#define NOT_IN_TEXTAREA_NOEDIT gettext("Not in a TEXTAREA; cannot use external editor.")
#define NOT_IN_TEXTAREA gettext("Not in a TEXTAREA; cannot use command.")
#define FILE_ACTIONS_DISALLOWED gettext("file: ACTIONs are disallowed!")
#define FILE_SERVED_LINKS_DISALLOWED \
gettext("file: URLs via served links are disallowed!")
......
......@@ -164,7 +164,7 @@ they will be outlined in this file.
video attributes but then the arrow keys are messed up. - Donald S.
Teiser (dsteis01@homer.louisville.edu)
NOTE: If HP fixes the problem or you come up with a better workaround,
notify the lynx-dev@sig.net list.
notify the lynx-dev@nongnu.org list.
Updated NOTE (1996-09-02): A patch reportedly is available from HP to
fix the select() problem, so that "-lc" is no longer needed, but
the curses glitch is not yet fixed, and you should still include
......
......@@ -123,31 +123,16 @@ PROBLEMS
LYNX-DEV MAILING LIST
To subscribe to lynx-dev, send email to <URL: mailto:majordomo@sig.net>
with only the following message in the body:
SUBSCRIBE LYNX-DEV address
where inclusion of your email address is optional if it can be obtained,
correctly, from the mail headers of your subscription request.
To subscribe to lynx-dev, send email to
<URL: mailto:lynx-dev-request@nongnu.org>
with "subscribe" for a subject line.
If you wish to unsubscribe from lynx-dev, send email to
<URL: mailto:majordomo@sig.net> with only the following message in the body:
UNSUBSCRIBE LYNX-DEV address
where inclusion of your email address is optional if it can be obtained,
correctly, from the mail headers of your request.
Also, to get a list of useful majordomo commands, send email to
<URL: mailto:majordomo@sig.net> with the following command:
^^^^^^^^^
HELP
PLEASE!!! do not send commands to the lynx-dev mailing list itself.
<URL: mailto:lynx-dev-request@nongnu.org>
with "unsubscribe" for a subject line.
Any messages you wish to post should be sent to
<URL: mailto:lynx-dev@sig.net>.
<URL: mailto:lynx-dev@nongnu.org>.
PLEASE use the lynx-dev list, NOT private email to the developers,
for questions or discussion about Lynx, or contributions of patches.
Patches should use the unified diff format (diff -u), which can be
......@@ -160,4 +145,4 @@ LYNX-DEV MAILING LIST
will send a carbon copy to you. View the archives at:
"lynx-dev Mailing list archives"
<URL:http://www.flora.org/lynx-dev/html/>
<URL:http://mail.gnu.org/mailman/listinfo/lynx-dev/>
This diff is collapsed.
......@@ -31,8 +31,11 @@
#ifndef HTAABROW_H
#define HTAABROW_H
#include <HTAAUtil.h> /* Common parts of AA */
#include <HTAAUtil.h> /* Common parts of AA */
#ifdef __cplusplus
extern "C" {
#endif
/*
Routines for Browser Side Recording of AA Info
......@@ -49,71 +52,65 @@ Routines for Browser Side Recording of AA Info
HTAA_shouldRetryWithAuth() determines whether to retry the request with AA or with a
new AA (in case username or password was misspelled).
*/
/* PUBLIC HTAA_composeAuth()
**
** COMPOSE THE ENTIRE AUTHORIZATION HEADER LINE IF WE
** ALREADY KNOW, THAT THE HOST MIGHT REQUIRE AUTHORIZATION
**
** ON ENTRY:
** hostname is the hostname of the server.
** portnumber is the portnumber in which the server runs.
** docname is the pathname of the document (as in URL)
**
** ON EXIT:
** returns NULL, if no authorization seems to be needed, or
** if it is the entire Authorization: line, e.g.
**
** "Authorization: basic username:password"
**
** As usual, this string is automatically freed.
*/
extern char *HTAA_composeAuth PARAMS((
CONST char * hostname,
CONST int portnumber,
CONST char * docname,
BOOL IsProxy));
*//* PUBLIC HTAA_composeAuth()
*
* COMPOSE THE ENTIRE AUTHORIZATION HEADER LINE IF WE
* ALREADY KNOW, THAT THE HOST MIGHT REQUIRE AUTHORIZATION
*
* ON ENTRY:
* hostname is the hostname of the server.
* portnumber is the portnumber in which the server runs.
* docname is the pathname of the document (as in URL)
*
* ON EXIT:
* returns NULL, if no authorization seems to be needed, or
* if it is the entire Authorization: line, e.g.
*
* "Authorization: basic username:password"
*
* As usual, this string is automatically freed.
*/ extern char *HTAA_composeAuth(const char *hostname,
const int portnumber,
const char *docname,
BOOL IsProxy);
/* BROWSER PUBLIC HTAA_shouldRetryWithAuth()
**
** DETERMINES IF WE SHOULD RETRY THE SERVER
** WITH AUTHORIZATION
** (OR IF ALREADY RETRIED, WITH A DIFFERENT
** USERNAME AND/OR PASSWORD (IF MISSPELLED))
** ON ENTRY:
** start_of_headers is the first block already read from socket,
** but status line skipped; i.e., points to the
** start of the header section.
** length is the remaining length of the first block.
** soc is the socket to read the rest of server reply.
**
** This function should only be called when
** server has replied with a 401 (Unauthorized)
** status code.
** ON EXIT:
** returns YES, if connection should be retried.
** The node containing all the necessary
** information is
** * either constructed if it does not exist
** * or password is reset to NULL to indicate
** that username and password should be
** reprompted when composing Authorization:
** field (in function HTAA_composeAuth()).
** NO, otherwise.
*/
extern BOOL HTAA_shouldRetryWithAuth PARAMS((
char * start_of_headers,
int length,
int soc,
BOOL IsProxy));
*
* DETERMINES IF WE SHOULD RETRY THE SERVER
* WITH AUTHORIZATION
* (OR IF ALREADY RETRIED, WITH A DIFFERENT
* USERNAME AND/OR PASSWORD (IF MISSPELLED))
* ON ENTRY:
* start_of_headers is the first block already read from socket,
* but status line skipped; i.e., points to the
* start of the header section.
* length is the remaining length of the first block.
* soc is the socket to read the rest of server reply.
*
* This function should only be called when
* server has replied with a 401 (Unauthorized)
* status code.
* ON EXIT:
* returns YES, if connection should be retried.
* The node containing all the necessary
* information is
* * either constructed if it does not exist
* * or password is reset to NULL to indicate
* that username and password should be
* reprompted when composing Authorization:
* field (in function HTAA_composeAuth()).
* NO, otherwise.
*/
extern BOOL HTAA_shouldRetryWithAuth(char *start_of_headers,
int length,
int soc,
BOOL IsProxy);
/*
** Function to allow clearing of all Authorization info
** via a browser command. - FM
*/
extern void HTClearHTTPAuthInfo NOPARAMS;
* Function to allow clearing of all Authorization info
* via a browser command. - FM
*/
extern void HTClearHTTPAuthInfo(void);
/*
......@@ -126,9 +123,11 @@ Enabling Gateway httpds to Forward Authorization
*/
extern void HTAAForwardAuth_set PARAMS((
CONST char * scheme_name,
CONST char * scheme_specifics));
extern void HTAAForwardAuth_reset NOPARAMS;
extern void HTAAForwardAuth_set(const char *scheme_name,
const char *scheme_specifics);
extern void HTAAForwardAuth_reset(void);
#endif /* NOT HTAABROW_H */
#ifdef __cplusplus
}
#endif
#endif /* NOT HTAABROW_H */
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -11,22 +11,24 @@
#ifndef HTACCESS_H
#define HTACCESS_H
extern char * use_this_url_instead;
extern int redirection_attempts;
/* Definition uses:
*/
#include <HTAnchor.h>
#include <HTFormat.h>
/* Return codes from load routines:
**
** These codes may be returned by the protocol modules,
** and by the HTLoad routines.
** In general, positive codes are OK and negative ones are bad.
*/
#ifdef __cplusplus
extern "C" {
#endif
extern char *use_this_url_instead;
extern int redirection_attempts;
/* Return codes from load routines:
*
* These codes may be returned by the protocol modules,
* and by the HTLoad routines.
* In general, positive codes are OK and negative ones are bad.
*/
/*
......@@ -36,10 +38,10 @@ Default Addresses
for user confusion.
*/
#define LOGICAL_DEFAULT "WWW_HOME" /* Defined to be the home page */
#define LOGICAL_DEFAULT "WWW_HOME" /* Defined to be the home page */
#ifndef PERSONAL_DEFAULT
#define PERSONAL_DEFAULT "WWW/default.html" /* in home directory */
#define PERSONAL_DEFAULT "WWW/default.html" /* in home directory */
#endif
#ifndef LOCAL_DEFAULT_FILE
#define LOCAL_DEFAULT_FILE "/usr/local/lib/WWW/default.html"
......@@ -47,11 +49,11 @@ Default Addresses
/* If one telnets to a www access point,
it will look in this file for home page */
#ifndef REMOTE_POINTER
#define REMOTE_POINTER "/etc/www-remote.url" /* can't be file */
#define REMOTE_POINTER "/etc/www-remote.url" /* can't be file */
#endif
/* and if that fails it will use this. */
#ifndef REMOTE_ADDRESS
#define REMOTE_ADDRESS "http://www.w3.org/remote.html" /* can't be file */
#define REMOTE_ADDRESS "http://www.w3.org/remote.html" /* can't be file */
#endif
/* If run from telnet daemon and no -l specified, use this file:
......@@ -66,39 +68,37 @@ Default Addresses
#define LAST_RESORT "http://www.w3.org/default.html"
#endif
/*
Flags which may be set to control this module
*/
#ifdef NOT
extern int HTDiag; /* Flag: load source as plain text */
#endif /* NOT */
extern char * HTClientHost; /* Name or number of telnetting host */
extern FILE * HTlogfile; /* File to output one-liners to */
extern BOOL HTSecure; /* Disable security holes? */
extern BOOL HTPermitRedir; /* Special flag for getfile() */
extern HTStream* HTOutputStream; /* For non-interactive, set this */
extern HTFormat HTOutputFormat; /* To convert on load, set this */
extern int HTDiag; /* Flag: load source as plain text */
#endif /* NOT */
extern char *HTClientHost; /* Name or number of telnetting host */
extern FILE *HTlogfile; /* File to output one-liners to */
extern BOOL HTSecure; /* Disable security holes? */
extern BOOL HTPermitRedir; /* Special flag for getfile() */
extern HTStream *HTOutputStream; /* For non-interactive, set this */
extern HTFormat HTOutputFormat; /* To convert on load, set this */
/* Check for proxy override. override_proxy()
**
** Check the no_proxy environment variable to get the list
** of hosts for which proxy server is not consulted.
**
** no_proxy is a comma- or space-separated list of machine
** or domain names, with optional :port part. If no :port
** part is present, it applies to all ports on that domain.
**
** Example:
** no_proxy="cern.ch,some.domain:8001"
**
** Use "*" to override all proxy service:
** no_proxy="*"
*/
extern BOOL override_proxy PARAMS((
CONST char * addr));
*
* Check the no_proxy environment variable to get the list
* of hosts for which proxy server is not consulted.
*
* no_proxy is a comma- or space-separated list of machine
* or domain names, with optional :port part. If no :port
* part is present, it applies to all ports on that domain.
*
* Example:
* no_proxy="cern.ch,some.domain:8001"
*
* Use "*" to override all proxy service:
* no_proxy="*"
*/
extern BOOL override_proxy(const char *addr);
/*
......@@ -113,10 +113,8 @@ Load a document from relative name
NO Failure
*/
extern BOOL HTLoadRelative PARAMS((
CONST char * relative_name,
HTParentAnchor * here));
extern BOOL HTLoadRelative(const char *relative_name,
HTParentAnchor *here);
/*
......@@ -131,8 +129,7 @@ Load a document from absolute name
NO Failure
*/
extern BOOL HTLoadAbsolute PARAMS((CONST DocAddress * addr));
extern BOOL HTLoadAbsolute(const DocAddress *addr);
/*
......@@ -149,9 +146,8 @@ Load a document from absolute name to a stream
Note: This is equivalent to HTLoadDocument
*/
extern BOOL HTLoadToStream PARAMS((CONST char * addr, BOOL filter_it,
HTStream * sink));
extern BOOL HTLoadToStream(const char *addr, BOOL filter_it,
HTStream *sink);
/*
......@@ -165,8 +161,7 @@ Load if necessary, and select an anchor
returns NO Failure
*/
extern BOOL HTLoadAnchor PARAMS((HTAnchor * destination));
extern BOOL HTLoadAnchor(HTAnchor * destination);
/*
......@@ -179,8 +174,7 @@ Make a stream for Saving object back
returns 0 if error else a stream to save the object to.
*/
extern HTStream * HTSaveStream PARAMS((HTParentAnchor * anchor));
extern HTStream *HTSaveStream(HTParentAnchor *anchor);
/*
......@@ -194,8 +188,7 @@ Search
here The anchor of the object being searched
*/
extern BOOL HTSearch PARAMS((CONST char * keywords, HTParentAnchor* here));
extern BOOL HTSearch(const char *keywords, HTParentAnchor *here);
/*
......@@ -209,10 +202,8 @@ Search Given Indexname
*indexname is name of object search is to be done on.
*/
extern BOOL HTSearchAbsolute PARAMS((
CONST char * keywords,
char * indexname));
extern BOOL HTSearchAbsolute(const char *keywords,
char *indexname);
/*
......@@ -220,21 +211,19 @@ Register an access method
*/
typedef struct _HTProtocol {
char * name;
typedef struct _HTProtocol {
const char *name;
int (*load)PARAMS((
CONST char * full_address,
HTParentAnchor * anchor,
HTFormat format_out,
HTStream* sink));
int (*load) (const char *full_address,
HTParentAnchor *anchor,
HTFormat format_out,
HTStream *sink);
HTStream* (*saveStream)PARAMS((HTParentAnchor * anchor));
HTStream *(*saveStream) (HTParentAnchor *anchor);
} HTProtocol;
extern BOOL HTRegisterProtocol PARAMS((HTProtocol * protocol));
} HTProtocol;
extern BOOL HTRegisterProtocol(HTProtocol * protocol);
/*
......@@ -248,26 +237,28 @@ Generate the anchor for the home page
This is a default algorithm -- browser don't HAVE to use this.
*/
extern HTParentAnchor * HTHomeAnchor NOPARAMS;
extern HTParentAnchor *HTHomeAnchor(void);
/*
Return Host Name
*/
extern CONST char * HTHostName NOPARAMS;
extern const char *HTHostName(void);