aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-04-23 15:06:34 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-04-23 15:06:34 -0400
commita735f5ad5123baaa15a0057515f3b242c5d3f372 (patch)
tree58936995ce9e2afd4ba65a735fd44c15509db19a /docs
parentb223937ff728f8242329bedb9c660e81da253e9a (diff)
downloadlynx-snapshots-a735f5ad5123baaa15a0057515f3b242c5d3f372.tar.gz
snapshot of project "lynx", label v2-8-2dev_23
Diffstat (limited to 'docs')
-rw-r--r--docs/INSTALLATION.old399
-rw-r--r--docs/Makefile.old1104
-rw-r--r--docs/pdcurses.key1
3 files changed, 0 insertions, 1504 deletions
diff --git a/docs/INSTALLATION.old b/docs/INSTALLATION.old
deleted file mode 100644
index 741267cf..00000000
--- a/docs/INSTALLATION.old
+++ /dev/null
@@ -1,399 +0,0 @@
-For a description of Lynx please read the README file.
-
- Lynx Installation guide.
-
- Last Updated February 1997
-
-UNIX & VMS Step 1a.
- Most of the variables that you are likely to change are in the
- userdefs.h file. There are a few that you must change or verify,
- and a few more that you will probably want to change. The variables
- that must be changed are marked as such in the userdefs.h file.
- Just edit it and the changes should be straight forward. You also
- should check LYMessages_en.h for tailoring the Lynx statusline
- prompts, messages and warnings to requirements of your site.
-
- NOTE: Many of the variables in userdefs.h are now configurable in
- the lynx.cfg file. Please read the lynx.cfg file as well.
- Also see the example mime.types, mailcap and jumps files
- in the samples subdirectory.
-
-UNIX & VMS Step 1b. (optional)
- Set up local printers and downloaders
- in the lynx.cfg file. (see lynx.cfg for details)
-
-UNIX & VMS Step 1c. (optional)
- If your system requires the PASV FTP code instead of
- the standard PORT FTP code (e.g., to deal with a
- firewall) then edit WWW/Library/Implementation/HTFTP.c
- and comment out line 43 like so:
- /* #define LISTEN /* @@@@ Test LJM */
- 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:
- ftp://ftp.cnidr.org/pub/NIDR.tools/freewais
- and compile it. The compile process will create some libraries, you will
- need wais.a and client.a. Edit the Makefile in the top level directory
- and add the library locations under the DIRECT WAIS ACCESS heading.
- Edit the Makefile for the WWW Library in the
- WWW/Library/Implementation/CommonMakefile to make the WAIS.c sources
- in the library. If everything goes well you should
- be able to make and have direct WAIS access.
-
-UNIX & VMS Step 1e.
- Adding NEWS support.
- To set your site's NTTP server as the default host for news reading
- and posting via Lynx, set the environment variable NNTPSERVER so that
- it points to its Internet address (see Step 5).
-
- For news posting ability to be enabled in Lynx, in userdefs.h (and
- optionally in lynx.cfg) the NEWS_POSTING symbol must be defined to
- TRUE. Also define LYNX_SIG_FILE in usersdefs.h or lynx.cfg so that
- it points to users' signature files for appending to posted messages.
- For the Organization: header in news postings, Lynx checks for an
- ORGANIZATION or NEWS_ORGANIZATION environment variable. On Unix,
- Lynx also checks for an /etc/organization file.
-
-UNIX Step 1f. (Sun systems)
- Sun resolv library.
- On Sun systems you may need to define RESOLVLIB in the top Makefile
- to enable access to remote hosts. See the comments in the Makefile
- and PROBLEMS file for more information.
-
-VMS Step 1f.
- Downloading binary files.
- Lynx must handle all IO as streams, and on VMS, output files are always
- created with Stream_LF format via the C RTL's fopen(). The file headers
- indicate Implied Carriage Control, even when the transfer was in binary
- mode, which can confuse downloading software and cause corruption of
- the file contents. To deal with this, you should define the symbol
- USE_FIXED_RECORDS as TRUE in userdefs.h and/or lynx.cfg. This will
- instruct Lynx to correct the header information to indicate FIXED 512
- records, with No Implied Carriage Control. If Lynx fails to do the
- conversion (because the file wasn't mapped to a binary MIME type) you can
- execute FIXED512.COM externally to correct the header information. The
- command file uses Joe Meadow's FILE utility, or the SET FILE/ATTRIBUTES
- command on current versions of VMS, to modify the headers. See the
- comments in FIXED512.COM, userdefs.h and lynx.cfg for more information.
-
-
-UNIX Step 2.
- VMS users skip to 'VMS step 2'
-
- Check the top level Makefile for any site-specific definitions
- you require or desire. Then, you should be ready to compile!
-
- If you type "make" with no arguments you will see a list of
- supported systems. If your system type IS listed you just
- need to type "make SYSTEM_TYPE". For instance, if you are
- running under IBM's RS/6000 AIX 3.2 you would just type
- "make aix32". If you were running Ultrix you would type
- "make ultrix".
-
- If you are on a SUN workstation and do not have 'gcc' you
- may change 'gcc' to '/usr/5bin/cc' in the Makefile
-
- If you are on a system that is not listed in the makefile it may be
- more difficult. The first thing you should try is just "make generic",
- this will compile with the "fancy_curses" option, and will give a much
- nicer screen display. If it doesn't compile or if the screen display
- looks strange (real strange), try compiling with the "low_curses" option.
- Edit the Makefile and remove the '-DFANCY_CURSES' definition under the
- 'generic:' entry. There may be some compatibility problems on some
- systems, but we don't know what they might be at this point. If you
- are running on a currently unsupported system please contact us via
- the lynx-dev email list (see RELEASE_STATEMENT). If there are any
- problems we will try to fix them as soon as possible.
-
-VMS step 2.
- Lynx uses the VMS port of gzip for uncompressing streams which have
- Content-Encoding headers indicated compression with gzip or the
- Unix compress. If you do not have gzip installed on your system
- you can get it from ftp://ftp.wku.edu/ in the fileserv directory.
- The command Lynx uses to uncompress on VMS is "gzip -d".
-
- If you are using the SOCKETSHR library, read SOCKETSHR.announce and
- make sure you have defined SOCKETSHR and SOCKETSHR_LIBRARY as explained
- therein.
-
- A "build.com" and "build-slang.com" script for building Lynx with curses
- or slang is in the top level directory. All you have to do is type
- "@build" or "@build-slang" and answer its prompt for your system's TCP-IP
- software. Current choices are:
- MULTINET (default)
- UCX
- WIN_TCP
- CMU_TCP
- SOCKETSHR_TCP
- TCPWARE
- It will autosense whether you have VAXC, DECC or GNUC on VAX or AXP
- and build appropriately. If a WWWLib already exists for that TCP-IP
- software, it will prompt you for whether you want to rebuild it. If
- you want to build a WWWLib separately, you can type "@libmake.com"
- with your default directory set to [.WWW.Library.vms] instead doing
- it via "build.com" in the top directory. You may need to modify
- "build-slang.com", as described in its header, so that it can find
- slang.olb on your system. If you have both DECC and VAXC, it will
- use DECC to benefit from the newer and more efficient memory management
- functions.
-
- (optional compilation method)
- If you have and want to use MMS, read the header of descrip.mms
- in the top directory and be sure you include the appropriate macro
- definitions when you invoke it:
- $ MMS /Macro = (MULTINET=1) for VAXC - MultiNet
- $ MMS /Macro = (WIN_TCP=1) for VAXC - Wollongong TCP/IP
- $ MMS /Macro = (UCX=1) for VAXC - UCX
- $ MMS /Macro = (CMU_TCP=1) for VAXC - OpenCMU TCP/IP
- $ MMS /Macro = (SOCKETSHR_TCP=1) for VAXC - SOCKETSHR/NETLIB
- $ MMS /Macro = (TCPWARE=1) for VAXC - TCPWare TCP/IP
-
- $ MMS /Macro = (MULTINET=1, DEC_C=1) for DECC - MultiNet
- $ MMS /Macro = (WIN_TCP=1, DEC_C=1) for DECC - Wollongong TCP/IP
- $ MMS /Macro = (UCX=1, DEC_C=1) for DECC - UCX
- $ MMS /Macro = (CMU_TCP=1, DEC_C=1) for DECC - OpenCMU TCP/IP
- $ MMS /Macro = (SOCKETSHR_TCP=1,DEC_C=1) for DECC - SOCKETSHR/NETLIB
- $ MMS /Macro = (TCPWARE=1, DEC_C=1) for DECC - TCPWare TCP/IP
-
- $ MMS /Macro = (MULTINET=1, GNU_C=1) for GNUC - MultiNet
- $ MMS /Macro = (WIN_TCP=1, GNU_C=1) for GNUC - Wollongong TCP/IP
- $ MMS /Macro = (UCX=1, GNU_C=1) for GNUC - UCX
- $ MMS /Macro = (CMU_TCP=1, GNU_C=1) for GNUC - OpenCMU TCP/IP
- $ MMS /Macro = (SOCKETSHR_TCP=1,GNU_C=1) for GNUC - SOCKETSHR/NETLIB
- $ MMS /Macro = (TCPWARE=1, GNU_C=1) for GNUC - TCPWare TCP/IP
-
- If you just type "MMS" it will default to the MULTINET and VAXC
- configuration. MMS will build the WWW library and Lynx sources,
- and link the executable. However, not all of the header dependencies
- are specified. If you are not a developer, and need a clean build,
- you should use build.com instead of the MMS utility.
-
- If you want SOCKS support on VMS, you must add SOCKS as a compilation
- definition, and the SOCKS library to the link command. However, instead
- of SOCKSifying Lynx for use behind a firewall, you are better off if you
- build Lynx normally, and set up Lynx to use a proxy server (see below).
- You instead can SOCKSify the proxy server, and it will handle all clients,
- not just Lynx.
-
-
-UNIX Step 3.
- Go ahead and test it out with the about_lynx/about_lynx.html file.
- You shouldn't need to install Lynx to test it.
- Once you are satisfied that it works, go ahead and install it.
-
- VERY IMPORTANT!!!!!
- If you are setting up an anonymous account with Lynx you
- are strongly advised to use the -anonymous command line
- option. If you do not use this option, users may be able
- to gain access to all readable files on your machine.
- ALSO NOTE that many implementations of telnetd allow passing
- of environment variables, which might be used by unscrupulous
- people to modify the environment in anonymous accounts. When
- making Lynx and Web access publicly available via anonymous
- accounts intended to run Lynx captively, be sure the wrapper
- uses the -cfg switch and specifies the startfile, rather than
- relying on the LYNX_CFG, LYNX_CFG_FILE, or WWW_HOME variables.
-
-VMS Step 3.
- Go ahead and test it out with the [.about_lynx]about_lynx.html file.
- You shouldn't need to install Lynx to test it.
- Once you are satisfied that it works, go ahead and install it.
-
- VERY IMPORTANT!!!!!
- If you are setting up an anonymous account with Lynx you
- are strongly advised to use the -anonymous command line
- option. If you do not use this option, users will be able
- to gain access to all readable files on your machine.
- ALSO NOTE that some implementations of telnet allow passing
- of environment variables, which might be used by unscrupulous
- people to modify the environment in anonymous accounts. When
- making Lynx and Web access publicly available via anonymous
- accounts intended to run Lynx captively, be sure the wrapper
- uses the -cfg switch and specifies the startfile, rather than
- relying on the LYNX_CFG, LYNX_CFG_FILE, or WWW_HOME variables.
-
-
-UNIX Step 4. (Installation)
- Lynx is very easy to install, if you want Lynx installed anywhere
- besides "/usr/local/bin", with the man files in "/usr/man/man1", you
- need to edit the Makefile and change the "exec" and "doc" defines.
- Otherwise just "su" to root and type "make install" and make will
- copy "lynx", "lynx.cfg" and "lynx.1" to the specified directories.
- Those are the only two files necessary to run Lynx.
- lynx.1 isn't really necessary, but it should be available.
- lynx.cfg isn't absolutely necessary either but is the only way
- to configure printers and downloaders (and uploaders if DIRED_SUPPORT
- is implemented), so it is highly recommended.
- Also check out the mailcaps, mime.types and jumps file samples in the
- samples directory.
-
-VMS Step 4.
- You need to have the executable in a public place, make it accessible,
- define it as a foreign command, and copy lynx.cfg to "Lynx_Dir". Look
- at lynx.com in the samples directory as a model for installing Lynx.
- Also check out the mailcaps, mime.types and jumps file samples in the
- samples directory. To include lynx.hlp in the system HELP library,
- use the command:
-
- $ library/replace sys$help:helplib.hlb lynx.hlp
-
-
-UNIX and VMS Step 5.
- Lynx uses some environment variables to regulate it's behavior.
-
- The variable "NNTPSERVER" is used to specify the host which will
- be used as the default for news URLs.
-
- UNIX
- setenv NNTPSERVER "news.server.dom"
-
- VMS
- define/system NNTPSERVER "news.server.dom"
-
-
- The environment variables "ORGANIZATION" or "NEWS_ORGANIZATION", if set,
- will be used for the Organization: header in news postings.
-
-
- The environment variable "LYNX_CFG", if set, will override the default
- location and name of the global configuration file (lynx.cfg) that was
- defined via the constant "LYNX_CFG_FILE" in userdefs.h. See userdefs.h
- for more information.
-
-
- The environment variable "LYNX_TEMP_SPACE", if set, will override the
- default path prefix for temporary files that was defined via the constant
- "TEMP_SPACE" in userdefs.h. See userdefs.h for more information.
-
-
- The environment variable "LYNX_SAVE_SPACE", if set, will override the
- default path prefix for files saved to disk that was defined via the
- constant "SAVE_SPACE" in lynx.cfg. See lynx.cfg for more information.
-
-
- The variable "WWW_HOME", if set, will override the default startup
- URL specified in any of the configuration files.
-
-
- Lynx still supports use of gateway servers, with the servers specified
- via the variables "WWW_access_GATEWAY", where "access" is lower case
- and can be "http", "ftp", "gopher" or "wais". Most of the gateway
- servers have been discontinued, but "http://www.w3.org:8001" is
- available for wais searches (note that you do not include a terminal
- '/' for gateways, but do for proxies; see below).
-
-
- Lynx version 2.2 and beyond supports the use of proxy servers that can
- act as firewall gateways and caching servers. They are preferable to
- the older gateway servers. Each protocol used by Lynx can be mapped
- separately using PROTOCOL_proxy environment variables of the form:
-
- UNIX
- setenv http_proxy "http://some.server.dom:port/"
- setenv https_proxy "http://some.server.dom:port/"
- setenv ftp_proxy "http://some.server.dom:port/"
- setenv gopher_proxy "http://some.server.dom:port/"
- setenv news_proxy "http://some.server.dom:port/"
- setenv newspost_proxy "http://some.server.dom:port/"
- setenv newsreply_proxy "http://some.server.dom:port/"
- setenv snews_proxy "http://some.server.dom:port/"
- setenv snewspost_proxy "http://some.server.dom:port/"
- setenv snewsreply_proxy "http://some.server.dom:port/"
- setenv nntp_proxy "http://some.server.dom:port/"
- setenv wais_proxy "http://some.server.dom:port/"
- setenv finger_proxy "http://some.server.dom:port/"
- setenv cso_proxy "http://some.server.dom:port/"
-
- VMS
- define "http_proxy" "http://some.server.dom:port/"
- define "https_proxy" "http://some.server.dom:port/"
- define "ftp_proxy" "http://some.server.dom:port/"
- define "gopher_proxy" "http://some.server.dom:port/"
- define "news_proxy" "http://some.server.dom:port/"
- define "newspost_proxy" "http://some.server.dom:port/"
- define "newsreply_proxy" "http://some.server.dom:port/"
- define "snews_proxy" "http://some.server.dom:port/"
- define "snewspost_proxy" "http://some.server.dom:port/"
- define "snewsreply_proxy" "http://some.server.dom:port/"
- define "nntp_proxy" "http://some.server.dom:port/"
- define "wais_proxy" "http://some.server.dom:port/"
- define "finger_proxy" "http://some.server.dom:port/"
- define "cso_proxy" "http://some.server.dom:port/"
- (Encase *BOTH* strings in double-quotes to maintain
- lower case for the PROTOCOL_proxy variable and for
- the http access type; include /system if you want
- proxying for all clients on your system.)
-
- If you wish to override the use of a proxy server for specific hosts or
- entire domains you may use the "no_proxy" environment variable. Here is
- an example use of "no_proxy":
-
- UNIX
- setenv no_proxy "host.domain.dom, domain1.dom, domain2"
-
- VMS
- define "no_proxy" "host.domain.dom, domain1.dom, domain2"
-
- You can include a port number in the no_proxy list to override use
- of a proxy server for the host accessed via that port, but not via
- other ports. For example, if you use "host.domain.dom:119" and/or
- "host.domain.dom:210", then news (port 119) URLs and/or any wais
- (port 210) searches on that host would be excluded, but http, ftp,
- and gopher services (if normally proxied) would still be included,
- as would any news or wais services on other hosts.
-
- If you wish to override the use of a proxy server completely (i.e.,
- globally override any existing proxy variables), set the value of
- "no_proxy" to "*".
-
- Note that Lynx treats file URLs on the local host as requests for
- direct access to the file, and does not attempt ftp if that fails.
- It treats both ftp URLs and file URLs on remote hosts as ftp URLs,
- and does not attempt direct file access for either. If ftp URLs are
- being proxied, file URLs on a remote host will be converted to ftp
- URLs before submission by Lynx to the proxy server, so no special
- procedure for inducing the proxy server to handle them is required.
- Other WWW clients may require that the http server's configuration
- file have "Map file:* ftp:*" in it to perform that conversion.
-
- The proxy and no_proxy variables also can be set at run time via
- lynx.cfg.
-
- Copies of the Lynx online help are included in the lynx_help
- subdirectory tree and should be made accessible in response to
- the Lynx 'h'elp command by defining HELPFILE in userdefs.h and/or
- lynx.cfg to an appropriate file://localhost/path URL.
-
-
-UNIX & VMS Step 6. (Hopefully Optional)
- If something doesn't work, or you can't get it to compile at all, or
- you can't figure out what one of the defines means, or if you just
- want to make a comment, send an email message to the Lynx-Dev mailing
- list (see the README file about subscribing to Lynx-Dev). Until Lynx
- has been ported to all the world's operating systems, we expect there
- will be some compatibility problems, but we'll do our best to help you.
diff --git a/docs/Makefile.old b/docs/Makefile.old
deleted file mode 100644
index ff500458..00000000
--- a/docs/Makefile.old
+++ /dev/null
@@ -1,1104 +0,0 @@
-##makefile for lynx
-
-SHELL = /bin/sh
-
-##uncomment the next line if your make fails to set $(MAKE)
-#MAKE= make
-
-##this is the name of the directory the lynx source code is in.
-##(e.g., lynx2-7-1, not the full path)
-lynxdir= lynx2-7-1
-
-##this is the filename for .zip, .tar and .tar.Z archives.
-lynxname= lynx2-7-1
-
-##change the next line if you want lynx installed somewhere
-##besides /usr/local/bin
-exec= /usr/local/bin
-
-##change the next line if you want the lynx man file installed somewhere
-##besides /usr/local/man/man1
-doc= /usr/local/man/man1
-
-##change the next line if you want the lynx.cfg file installed somewhere
-##besides /usr/local/lib
-cfg= /usr/local/lib
-
-installbin= install -c -s -m 755
-installdoc= install -c -m 444
-
-##set the relative location of the WWW library Implementation directory,
-##from this directory
-##do not set this to be an absolute path!!!
-WWWINC= WWW/Library/Implementation
-
-# !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
-# point RESOLVLIB to that library. You need this if you get the message
-# "Alert!: Unable to connect to remote host" whenever you try to
-# access a host other than localhost and have made Lynx without it.
-# See the PROBLEMS file for more information.
-#RESOLVLIB= -lresolv
-
-# !!!!!!!!!!! Alternate socket functions for SOCKS !!!!!!!!!!!!!!!!!!
-# To make a SOCKSified lynx, include -DSOCKS in your SITE_LYDEFS and
-# SITE_DEFS, below, and point SOCKSLIB to your SOCKS library. Note
-# that you may have problems accessing FTP servers. Also, instead of
-# SOCKSifying lynx for use behind a firewall, you are better off if
-# you make it normally, and set it up to use a proxy server. You can
-# SOCKSify the proxy server, and it will handle all clients, not just
-# Lynx (see the INSTALLATION file in this distribution). If your SOCKS
-# server was compiled to use the short version of Rbind, also include
-# -DSHORTENED_RBIND in your SITE_LYDEFS and SITE_DEFS. If you do
-# SOCKSify lynx, you can turn off SOCKS proxy usage via a -nosocks
-# command line switch.
-#SOCKSLIB= /usr/local/lib/libsocks.a
-
-# !!!!!!!!!!!!! DIRECT WAIS ACCESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# If you are adding direct wais access you must fill in the
-# location of wais.a, client.a and the standard math library, libm.a.
-# You can pick up the most current freeWAIS sources from
-# ftp://ftp.cnidr.org/pub/NIDR.tools/freewais
-# If you are using freeWAIS-0.202 or older, include -DDECLARE_WAIS_LOGFILES
-# in your SITE_DEFS.
-# Plese put an ABSOLUTE address here if you want it to work!
-#WAISLIB= ../../freeWAIS-0.202/bin/client.a ../../freeWAIS-0.202/bin/wais.a /usr/lib/libm.a
-
-# !!!!!!!!!!!!! SLANG Support (For color version of Lynx). !!!!!!!!!!!!!!!!
-# The slang library is an alternative to curses, developed by John E. Davis
-# (davis@space.mit.edu). Version 0.99-27 or higher is available from
-# ftp://space.mit.edu/pub/davis
-# It provides color support for Lynx. If you wish to try it and are not
-# on a supported system (see list, below), include -DUSE_SLANG in your
-# SITE_DEFS and define the locations of the slang library (libslang.a)
-# and headers (slang.h and slcurses.h) here. They may be left commented
-# out if the library and headers are in their canonical locations (usr/lib,
-# and usr/include).
-#SLANGINC = -I../../slang/src# location of slang.h and slcurses.h
-#SLANGLIB = -L../../slang/src/$(ARCH)objs# location of libslang.a
-#SLANGRRLIB = -R../../slang/src/$(ARCH)objs# for solaris
-
-# !!!!!!!!!!! Support for Character Styles !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# Comment out the following lines if you do *not* want to activate
-# Rob Partington's Character Style color support code (which may currently
-# only work with ncurses, not other curses or the slang library).
-# Or modify and experiment... -kw
-# RP_LYDEFS = -I../../../src -DUSE_COLOR_STYLE -DUSE_HASH
-# RP_DEFS = -DUSE_COLOR_STYLE -DUSE_HASH
-
-# !!!!!!!!!!! Lynx Local Directory Listing Formats !!!!!!!!!!!!!!!!!!!!!!!!!!!
-# Lynx supports "ls -l" format for local directory listings on Unix if the
-# LONG_LIST compilation symbol is defined, and includes links to the parent
-# directory if the compilation symbol NO_PARENT_DIR_REFERENCE is not defined.
-# If "ls -l" format is enabled here, the listing format can be modifed via a
-# LIST_FORMAT symbol in userdefs.h and/or lynx.cfg. Otherwise, only file and
-# directory names will be included in the listings.
-#
-# If you are not including DirEd Support (see below) and wish to disable
-# "ls -l" emulation in local directory listings, prepend "#" to this line:
-DIR_LONG_LIST = -DLONG_LIST
-#
-# To disable "Up to" parent links in local directory listings,
-# remove "#" from this line:
-#DIR_PARENT = -DNO_PARENT_DIR_REFERENCE
-
-# !!!!!!!!!!! Lynx DirEd Support !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# Lynx now supports directory editing (DirEd) for local directories.
-# This allows users to do things like view, copy, & remove files using
-# a tabular display of the directory & single-keystroke commands instead
-# of using the command line. From inside Lynx, the keystroke sequence
-# "g.<enter>" switches Lynx to DirEd mode on the current directory.
-# If you're building a Lynx that is to be used as a kind of restricted
-# shell for users who do not have access to the command line & should
-# not have access to equivalent capabilities, you need to disable DirEd
-# here. You can also disable some DirEd functions while allowing others.
-#
-# DirEd functions are disabled by inserting or removing "#" signs at
-# the beginnings of lines that contain variable assignments here.
-# All DirEd functions that were enabled on compilation can be disabled
-# or modified at run time via DIRED_MENU symbols in lynx.cfg.
-#
-# To disable DirEd completely, prepend "#" to this line:
-DIRED_SUPPORT = -DDIRED_SUPPORT
-#(If you have disabled DirEd completely, you can ignore all the
-#other DirEd stuff here.)
-#
-# To prevent DirEd from extracting files from an archive file,
-# remove "#" from this line:
-#DIRED_ARCHIVE = -DARCHIVE_ONLY
-#
-# To prevent DirEd from using the tar program, prepend "#" to this line:
-DIRED_TAR = -DOK_TAR
-#
-# To prevent DirEd from using zip & unzip, prepend "#" to this line:
-DIRED_ZIP = -DOK_ZIP
-#
-# To prevent DirEd from using gzip & gunzip, prepend "#" to this line:
-DIRED_GZIP = -DOK_GZIP
-#
-# To prevent DirEd from using uudecode, prepend "#" to this line:
-DIRED_UUDECODE = -DOK_UUDECODE
-#
-# Lynx users can customize their keymaps by creating private versions
-# of lynx.cfg & modifying them, overriding the default keymap.
-# To prevent DirEd keymap overriding, prepend "#" to this line:
-DIRED_OVERRIDE = -DOK_OVERRIDE
-#
-# To prevent DirEd from changing the permissions on directories or files
-# (i.e., from doing what the Unix chmod command or the DOS attrib command
-# does), prepend "#" to this line:
-DIRED_PERMIT = -DOK_PERMIT
-#
-# If you do not comment out the DIRED_PERMIT line, but want to restrict
-# changes of the eXecute permission to directories (i.e., not allow it to
-# be changed for files), remove "#" from this line (if you don't remove it,
-# you can still block changes of the eXecute permission for files but not
-# directories via the "change_exec_perms" command line restriction):
-#DIRED_NOXPERMS = -DNO_CHANGE_EXECUTE_PERMS
-
-# !!!!!!!!!!! NOTE: NetBSD and FreeBSD !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# On NetBSD 1.1 and earlier, as well as FreeBSD 2.0.5 and earlier,
-# the system make program uses different syntax for including files
-# than the GNU make program. If you get the following error --
-# * "Makefile", line 27: Need an operator *
-# you have several choices to run GNU make:
-#
-# * Install GNU make as `/usr/bin/make', after moving /usr/bin/make
-# to /usr/bin/old-make
-#
-# * Install GNU make in a different directory which is earlier in
-# your search path.
-#
-# * Install GNU make as gmake, and change occurrences of `make' to
-# `gmake' in any Makefile used by your install. You won't need to
-# change all of the Makefiles, just the top-level one, and the one
-# in WWW/Library/???bsd
-
-# !!!!!!!!!!! Lynx Wishful Thinking !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# If you are on one of the supported systems (see all: list below)
-# you should not have to modify anything from here down (but check
-# it out for your system, anyway)!
-# If you are not, then you should edit the generic: entry below.
-#
-# If you need ncurses, the latest version can always be found in
-# ftp://ftp.clark.net/pub/dickey/ncurses/
-# or ftp://ftp.netcom.com/pub/zm/zmbenhal/ncurses/
-# (you may need -DHAVE_NCURSES_H in addition to -DNCURSES for old
-# versions of ncurses; see below).
-#
-# Also be sure to check out the compilation symbols in userdefs.h
-# before building Lynx!
-
-all:
- @echo
- @echo "Please run make with one of the following arguments"
- @echo "aix4 -- for RS/6000 running AIX 4.n and some 3.2"
- @echo "aix32 -- for RS/6000 running AIX 3.2"
- @echo "aix31 -- for RS/6000 running AIX 3.1 with curses bug"
- @echo "apollo -- apollo systems (untested)"
- @echo "bsdi -- BSD Interactive"
- @echo "bsdi-ncurses -- BSD/OS(v2.0 or later) using ncurses(v1.9.4 or later) package."
- @echo "bsdi-slang -- BSD/OS(v2.0 or later) using the slang package."
- @echo "clix -- for Intergraph CLIX"
- @echo "convex -- for Convex C-series"
- @echo "convex-ncurses -- for Convex C-series with ncurses package"
- @echo "dgux -- for DGUX "
- @echo "freebsd -- for FreeBSD"
- @echo "freebsd-ncurses -- for FreeBSD using ncurses package"
- @echo "freebsd-slang -- for FreeBSD with color slang package"
- @echo "generic -- for generic UNIX"
- @echo "isc -- for Interactive Machines (untested)"
- @echo "linux -- for PC linux"
- @echo "linux-ncurses -- for PC linux using ncurses package"
- @echo "linux-slang -- for linux with color slang package"
- @echo "mips -- for MIPS, svr3/bsd flavour (untested)"
- @echo "netbsd -- for NetBSD"
- @echo "netbsd-ncurses -- for NetBSD using ncurses package"
- @echo "news -- for SONY NEWS-OS 4.2.1R"
- @echo "news-ncurses -- for SONY NEWS-OS 4.2.1R using ncurses package"
- @echo "news-slang -- for SONY NEWS-OS 4.2.1R with color slang package"
- @echo "next -- for NeXT OS"
- @echo "next-ncurses -- for NeXT OS using ncurses package"
- @echo "osf -- for Alpha OSF/1"
- @echo "osf-slang -- for Alpha OSF/1 with color slang package"
- @echo "ptx -- for Sequent's DYNIX/ptx, version 4, (current version)"
- @echo "ptx-slang -- for Sequent's DYNIX/ptx, version 4, with color slang package"
- @echo "ptx -- for Sequent's DYNIX/ptx, current version"
- @echo "ptx2 -- for Sequent's DYNIX/ptx, version 2"
- @echo "riscos -- Control Data Unix machine running EP/IX"
- @echo "sco -- for SCO machines"
- @echo "sco5 -- for SCO OpenServer Release 5 machines"
- @echo "sgi -- for SGI machines"
- @echo "sun3 -- for SUN 3 OS with System V curses"
- @echo "sun4 -- for SUN 4 OS with System V curses"
- @echo "sun4-ncurses -- for SUN 4 OS using ncurses package"
- @echo "sun4-pure -- for SUN 4 OS with PURIFY and System V curses"
- @echo "sun4-slang -- for SUN 4 OS with color slang package"
- @echo "svr4 -- for SVR4"
- @echo "snake -- for HP-UX lt 9.01 (gcc)"
- @echo "snake-slang -- for HP-UX lt 9.01 (gcc) with color slang"
- @echo "snake2 -- for HP-UX gte 9.01 (gcc)"
- @echo "snake2-slang -- for HP-UX gte 9.01 (gcc) with color slang"
- @echo "snake3 -- for HP-UX (purchased compiler)"
- @echo "snake3-slang -- for HP-UX (purchased compiler) with color slang"
- @echo "solaris2 -- for solaris 2.x"
- @echo "solaris2cc -- for Solaris 2.x using Sun's unbundled C compiler"
- @echo "solaris2-slang -- for Solaris 2 and color slang package"
- @echo "solaris2-slangcc -- for Solaris 2 slang using Sun's unbundled C compiler"
- @echo "ultrix -- for DEC Ultrix"
- @echo "decstation -- for DEC Ultrix (same as ultrix)"
- @echo "ultrix-slang -- for DEC Ultrix and color slang package"
- @echo "decstation-slang -- for DEC Ultrix and color slang (same as ultrix-slang)"
- @echo "umaxv -- for Encore's UMAXV (SVR3.x) "
- @echo "umaxv-slang -- for Encore's UMAXV and color slang package"
- @echo "unixware -- for Novell's Unixware"
- @echo "univell -- for Novell's Unixware"
- @echo "unixware-slang -- for Unixware and color slang package"
- @echo "univell-slang -- for Unixware and color slang package"
- @echo "clean -- removes all '.o' and 'core' files"
- @echo "tar -- runs clean, removes executable, and tars the whole directory"
- @echo "compress -- runs tar, then compresses the result"
- @echo "zip -- runs clean, removes executable, and zips the whole directory"
- @echo
-
-# Map some extra commands to existing ones
-unix: generic
-decstation: ultrix
-decstation-slang: ultrix-slang
-univell: unixware
-univell-slang: unixware-slang
-
-DIR_LYDEFS = $(DIRED_SUPPORT) $(DIR_LONG_LIST) $(DIR_PARENT)
-
-DIR_DEFS = $(DIRED_SUPPORT) $(DIRED_ARCHIVE) $(DIRED_TAR) $(DIRED_ZIP) $(DIRED_GZIP) $(DIRED_UUDECODE) $(DIRED_OVERRIDE) $(DIRED_PERMIT) $(DIRED_NOXPERMS)
-
-# If you apply patches which require linking to site-specific libraries,
-# uncomment the following and point SITE_LIBS to those libraries.
-#SITE_LIBS= # Your libraries here (remove the "#")
-
-# Set SITE_LYDEFS to one or more of the defines for the WWW Library:
-SITE_LYDEFS = $(DIR_LYDEFS) $(RP_LYDEFS) # Your defines here
-
-# Set SITE_DEFS to one or more of the defines for lynx below:
-SITE_DEFS = $(DIR_DEFS) $(RP_DEFS) -DNSL_FORK -DLYNXCGI_LINKS -DUSE_EXTERNALS # Your defines here
-
-# if you are compiling on a previously unsupported system, modify
-# this generic entry!!
-#
-# defines include:
-# -DNO_CUSERID if you don't have cuserid()
-# -DNO_UTMP if you don't have utmp capibilities
-# -Dvfork=fork if you don't have vfork()
-# -DMMDF if you use MMDF instead of sendmail
-# -DFANCY_CURSES enables fancy curses (bold, underline, reverse)
-# -DCOLOR_CURSES enables color in SVr4 curses & clones such as ncurses
-# -DNCURSES for ncurses support (also indicate the LIBS path)
-# -DHAVE_NCURSES_H seek ncurses.h instead of ncurses/curses.h in LYCurses.h
-# -DNO_KEYPAD if you don't have keypad() and related defines
-# -DNO_SIZECHANGE Disables window sizechange code
-# -DNO_CPU_LIMIT Disables Max CPU timeout (includes CLOCKS_PER_SECOND)
-# -DNO_PUTENV Define if you don't have a putenv call.
-# -DNO_CBREAK if you don't have cbreak() (use crmode() instead)
-# -DUNDERLINE_LINKS Define if you want links underlined instead of bold.
-# -DIGNORE_CTRL_C Define if Control-C shouldn't exit lynx.
-# -DHP_TERMINAL For DIM workaround to REVERSE problems on HP terminals.
-# -DLOCALE For LOCALE support for international characters.
-# -DSOCKS For making a SOCKSified lynx.
-# -DSHORTENED_RBIND For a SOCKSified lynx with the short version of Rbind.
-# -DNO_UNISTD_H if you don't have <unistd.h>
-# -DNOPORT if you must use PASV instead of PORT for FTP
-# -DNO_TTYTYPE if your system lacks a ttytype variable
-# -DNSL_FORK For fork-based name server lookups that can be 'z'apped.
-# -DEXP_CHARTRANS_AUTOSWITCH also let lynx switch term mode(Linux console only)
-# -DSLANG_MBCS_HACK prevent cutoff lines when using UTF8 console (slang only)
-# -DUSE_ZLIB To use some functions from zlib library if you have it.
-#
-# if you are linking to freeWAIS-0.202 or older, you should define this
-# in MCFLAGS (SITE_DEFS)
-#
-# -DDECLARE_WAIS_LOGFILES
-#
-# if you have the reverse clear screen problem of some SUN4 systems you
-# should define this in MCFLAGS (SITE_DEFS)
-#
-# -DREVERSE_CLEAR_SCREEN_PROBLEM
-#
-# if you have an SVR4 system with the "type any key" problem, try defining
-# this in LYFLAGS (SITE_LYDEFS) and MCFLAGS (SITE_DEFS)
-#
-# -DSVR4_BSDSELECT
-#
-# Old Data General systems may need this in their SITE_LYDEFS
-# for their inet_addr(host) calls.
-#
-# -DDGUX_OLD
-#
-# if you would like logging of client requests via syslog(), you should
-# define this in MCFLAGS (SITE_DEFS)
-#
-# -DSYSLOG_REQUESTED_URLS
-#
-# if you would like to enable code to detect memory leaks define this in both
-# LYFLAGS (SITE_LYDEFS) and MCFLAGS (SITE_DEFS)
-#
-# -DLY_FIND_LEAKS
-#
-# for installation of local execution links, please see the file userdefs.h
-
-#generic machines with original Berkeley curses
-generic:
- @echo "You must first compile the WWW library in WWW/Library"
- cd WWW/Library/unix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-# Contributed by Alex Matulich (matuli_a@marlin.navsea.navy.mil).
-# Note that some of the online help files in this distribution need
-# to be edited and renamed to conform with the Intergraph CLIX 14
-# character file name limit.
-clix:
- cd WWW/Library/clix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX -DUSG \
- -DCLIX -DNO_UTMP \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lmalloc -lcurses -ltermcap -lbsd -lc_s \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/clix/libwww.a"
-
-# Tested on C3 series under ConvexOS 10.1, CC V5.0;
-# Should work on other C-series
-convex:
- cd WWW/Library/convex; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O \
- -D__STDC__ \
- -DNO_PUTENV -DNO_CBREAK -DNO_KEYPAD -DUSE_DIRENT -DUNIX \
- -DSTDC_HEADERS -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/convex/libwww.a"
-
-convex-ncurses:
- cd WWW/Library/convex; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O \
- -I/usr/local/include \
- -DNCURSES -DCOLOR_CURSES -DFANCY_CURSES \
- -D__STDC__ \
- -DNO_PUTENV -DNO_CBREAK -DUSE_DIRENT -DUNIX \
- -DSTDC_HEADERS -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/local/lib -lncurses \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/convex/libwww.a"
-
-# You may need to remove -DUTMPX_FOR_UTMP for some versions of DGUX.
-dgux:
- cd WWW/Library/unix; $(MAKE) LYFLAGS="-DDGUX $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -I../$(WWWINC) -DDGUX -DUTMPX_FOR_UTMP $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap -lsocket -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-mips:
- cd WWW/Library/mips; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-systype svr3 -O \
- -DFANCY_CURSES -DUNIX -I/svr3/usr/include/bsd \
- -I../$(WWWINC) -DNO_UTMP $(SITE_DEFS)" \
- LIBS="-lcurses -lnsl -lbsd \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/mips/libwww.a"
-
-# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
-freebsd:
- cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNO_KEYPAD -DNO_CUSERID \
- -I../$(WWWINC) $(SITE_DEFS)"\
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/freebsd/libwww.a"
-
-# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
-freebsd-ncurses:
- cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DCOLOR_CURSES -DNCURSES \
- -DHAVE_NCURSES_H -DUNIX -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lncurses -lmytinfo \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/freebsd/libwww.a"
-
-# FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
-freebsd-slang:
- cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DUSE_SLANG -DUNIX \
- -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/freebsd/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -ltermcap -lm" \
- SLANGINC="$(SLANGINC)"
-
-# NetBSD doesn't have or need ranlib. (ignore the error message about that :)
-netbsd:
- cd WWW/Library/netbsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNO_KEYPAD -DNO_CUSERID \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/netbsd/libwww.a"
-
-# NetBSD doesn't have or need ranlib. (ignore the error message about that :)
-netbsd-ncurses:
- cd WWW/Library/netbsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DCOLOR_CURSES -DNCURSES \
- -DUNIX -DNO_CUSERID -I../$(WWWINC) $(SITE_DEFS) \
- -I/usr/include/ncurses" \
- LIBS="-lncurses -lcompat \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/netbsd/libwww.a"
-
-# Tested on DN 3500 & 4500's running Domain O/S 10.4 BSD
-# -Acpu,mathchip may have to be changed on other machines - see man cpuhep
-apollo:
- cd WWW/Library/apollo_m68k; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNO_KEYPAD -DNO_CUSERID \
- -D_BUILTINS -W0,-opt,4 -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/apollo_m68k/libwww.a $(MYWWWLIB)"
-
-riscos:
- cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -DNO_GETCWD -DNO_PUTENV -Dremove=unlink \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-# Lynx will not compile with the "free" cc compiler supplied
-# with HP-UX. You must use a purchased cc compiler to compile Lynx.
-snake:
- cd WWW/Library/snake; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/snake/libwww.a"
-
-snake-slang:
- cd WWW/Library/snake; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX \
- -DUSE_SLANG -DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/snake/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang" SLANGINC="$(SLANGINC)"
-
-snake2:
- cd WWW/Library/snake; $(MAKE) CC="gcc" LYFLAGS="-D_INCLUDE_HPUX_SOURCE \
- -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_AES_SOURCE \
- -D_INCLUDE_XOPEN_SOURCE $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -DSNAKE -I../$(WWWINC) -D_INCLUDE_HPUX_SOURCE \
- -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_AES_SOURCE \
- -D_INCLUDE_XOPEN_SOURCE $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/snake/libwww.a"
-
-snake2-slang:
- cd WWW/Library/snake; $(MAKE) CC="gcc" LYFLAGS="-D_INCLUDE_HPUX_SOURCE \
- -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_AES_SOURCE \
- -D_INCLUDE_XOPEN_SOURCE $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX \
- -DUSE_SLANG -DSNAKE -I../$(WWWINC) -D_INCLUDE_HPUX_SOURCE \
- -D_INCLUDE_POSIX_SOURCE -D_INCLUDE_AES_SOURCE \
- -D_INCLUDE_XOPEN_SOURCE $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/snake/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang" SLANGINC="$(SLANGINC)"
-
-# Lynx will compile with the purchased cc compiler added to HP-UX.
-# contributed by Andy Finkenstadt (genie@panix.com)
-# Note that initial releases of HP/UX 10.10 have a broken select() in
-# libcurses.a and will malfunction with Lynx. See the PROBLEMS file.
-snake3:
- cd WWW/Library/snake; $(MAKE) CC="cc" LYFLAGS="-Ae -DUNIX \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Ae -DFANCY_CURSES -DUNIX \
- -DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/snake/libwww.a"
-
-snake3-slang:
- cd WWW/Library/snake; $(MAKE) CC="cc" LYFLAGS="-Ae -DUNIX \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Ae -DUSE_SLANG -DUNIX \
- -DSNAKE -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/snake/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang" SLANGINC="$(SLANGINC)"
-
-svr4:
- cd WWW/Library/svr4; $(MAKE) LYFLAGS="-DSVR4_BSDSELECT $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -I../$(WWWINC) -DUTMPX_FOR_UTMP -DSVR4 -DSVR4_BSDSELECT \
- -DTRUE=1 -DFALSE=0 $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/svr4/libwww.a"
-
-# SEQUENT doesn't have or need ranlib. (ignore the error message about that :)
-ptx:
- cd WWW/Library/ptx; $(MAKE) $(MFLAGS) LYFLAGS="-DNO_BCOPY \
- -DSVR4_BSDSELECT -DNO_FILIO_H $(SITE_LYDEFS)"
- cd src; $(MAKE) $(MFLAGS) all CC="cc" MCFLAGS="-O -DUNIX -DSVR4 \
- -DFANCY_CURSES -DNO_FILIO_H -DUTMPX_FOR_UTMP -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket -linet -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/ptx/libwww.a"
-
-# SEQUENT doesn't have or need ranlib. (ignore the error message about that :)
-ptx-slang:
- cd WWW/Library/ptx; $(MAKE) $(MFLAGS) LYFLAGS="-DNO_BCOPY \
- -DSVR4_BSDSELECT -DNO_FILIO_H $(SITE_LYDEFS)"
- cd src; $(MAKE) $(MFLAGS) all CC="cc" MCFLAGS="-O -DUNIX -DSVR4 \
- -DUSE_SLANG -DNO_FILIO_H -DUTMPX_FOR_UTMP -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket -linet -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/ptx/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang" SLANGINC="$(SLANGINC)"
-
-# SEQUENT doesn't have or need ranlib. (ignore the error message about that :)
-ptx2:
- cd WWW/Library/ptx; $(MAKE) LYFLAGS="-DPTX2 -DNO_BCOPY -DNOPORT \
- -DSVR4_BSDSELECT -DNO_FILIO_H $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DPTX2 -DFANCY_CURSES -DUNIX \
- -DNO_FILIO_H -DUTMPX_FOR_UTMP -DSVR4 \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket -linet -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/ptx/libwww.a"
-
-# Contributed by Thanh Ma (tma@encore.com).
-umaxv:
- cd WWW/Library/umaxv-m88k; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -D_SYSV3 -DHAVE_TERMIOS -DUSE_DIRENT -DNO_UTMP \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/umaxv-m88k/libwww.a"
-
-# Contributed by Thanh Ma (tma@encore.com).
-umaxv-slang:
- cd WWW/Library/umaxv-m88k; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUSE_SLANG -DUNIX \
- -D_SYSV3 -DHAVE_TERMIOS -DUSE_DIRENT -DNO_UTMP \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/umaxv-m88k/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-unixware:
- cd WWW/Library/svr4; $(MAKE) LYFLAGS="-DNO_BCOPY -DUNIXWARE \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -I../$(WWWINC) -DUTMPX_FOR_UTMP -DSVR4 -DTRUE=1 -DFALSE=0 \
- -DNO_BCOPY -DUNIXWARE $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/svr4/libwww.a"
-
-unixware-slang:
- cd WWW/Library/svr4; $(MAKE) LYFLAGS="-DNO_BCOPY -DUNIXWARE \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DUSE_SLANG \
- -DCURS_PERFORMANCE \
- -I../$(WWWINC) -DUTMPX_FOR_UTMP -DSVR4 -DTRUE=1 -DFALSE=0 \
- -DNO_BCOPY -DUNIXWARE $(SITE_DEFS)" \
- LIBS="-lsocket -lnsl \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/svr4/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-# SCO doesn't have or need ranlib. (ignore the error message about that :)
-# can build lynx with its native rcc compiler. (if you replace "gcc"
-# with "rcc" for CC= :)
-# has a const/volatile bug in its native cc compiler. (don't use it ;)
-sco:
- cd WWW/Library/sco; $(MAKE) CC="gcc" LYFLAGS="-DNO_FILIO_H -DUNIX \
- -DSCO $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -s -DNO_FILIO_H -DUNIX -DSCO \
- -DFANCY_CURSES -DMMDF -DNO_UTMP -DNO_SIZECHANGE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket -ltermcap -lmalloc \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sco/libwww.a"
-
-sco5:
- cd WWW/Library/sco; $(MAKE) CC="cc -belf" LYFLAGS="-DNO_FILIO_H \
- -DUNIX -DSCO $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc -belf" MCFLAGS="-O -s -DNO_FILIO_H -DUNIX \
- -DSCO -DFANCY_CURSES -DMMDF -DUTMPX_FOR_UTMP \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lsocket \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sco/libwww.a"
-
-bsdi:
- cd WWW/Library/Implementation; $(MAKE) -f BSDI_Makefile \
- LYFLAGS="-DBSDI $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DNO_CUSERID -DUNIX \
- -DNO_FILIO_H \
- -I../$(WWWINC) -DNO_UTMP -DSVR4 -DNO_KEYPAD $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/svr4/libwww.a"
-
-#IMPORTANT: To compile you need ncurses package (version 1.9.4 or later)
-# installed on your system. You can download ncurses package from
-# ftp://ftp.netcom.com/pub/zm/zmbenhal/ncurses
-bsdi-ncurses:
- cd WWW/Library/Implementation; $(MAKE) -f BSDI_Makefile CC="gcc" \
- LYFLAGS="-DBSDI $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DNO_CUSERID -DUNIX -DCOLOR_CURSES -DNCURSES \
- -DFANCY_CURSES -DBSDI -DSVR4 \
- -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lncurses \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/svr4/libwww.a"
-
-bsdi-slang:
- cd WWW/Library/Implementation; $(MAKE) -f BSDI_Makefile \
- LYFLAGS="-DBSDI $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DNO_CUSERID -DUNIX \
- -DNO_FILIO_H -DUSE_SLANG \
- -I../$(WWWINC) -DNO_UTMP -DSVR4 -DNO_KEYPAD $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/svr4/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-# Solaris2 doesn't have or need ranlib. (ignore the error message about that :)
-# (Solaris 2.5 and later actually have a ranlib program - but it does
-# nothing and is only there to make Makefiles like this one happy)
-solaris2:
- cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="-DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DCOLOR_CURSES -DFANCY_CURSES -DUNIX -DSVR4 \
- -DSOLARIS2 -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
- -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/solaris2/libwww.a"
-
-solaris2-ncurses:
- cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="$(SITE_LYDEFS) -g"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-g -DFANCY_CURSES \
- -DNCURSES -DUNIX -DSVR4 -DSOLARIS2 \
- -DUTMPX_FOR_UTMP -DUSE_DIRENT -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lncurses -lnsl -lsocket \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/solaris2/libwww.a" \
- STYLE=LYStyle
-
-solaris2-ncurses-develop:
- cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS) -g -I../../../src -DUSE_COLOR_STYLE -DUSE_HASH"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-g -DFANCY_CURSES \
- -DUSE_COLOR_STYLE \
- -DUSE_HASH" \
- -DNCURSES -DUNIX -DSVR4 -DSOLARIS2 \
- -DUTMPX_FOR_UTMP -DUSE_DIRENT -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lncurses -lnsl -lsocket \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/solaris2/libwww.a" \
- STYLE=LYStyle
-
-solaris2-ncurses-NHE:
- cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O4 -s -DUSE_COLOR_STYLE -DFANCY_CURSES \
- -DNCURSES -DUNIX -DSVR4 -DSOLARIS2 -DCURS_PERFORMANCE \
- -DUTMPX_FOR_UTMP -DUSE_DIRENT -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lncurses -lnsl -lsocket \
- -lresolv" \
- WWWLIB="../WWW/Library/solaris2/libwww.a" \
- STYLE=NCStyle
-
-# Solaris 2 using Sun's unbundled C compiler
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-# Solaris2 doesn't have or need ranlib. (ignore the error message about that :)
-solaris2cc:
- cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="-DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DCOLOR_CURSES -DFANCY_CURSES -DUNIX -DSVR4 \
- -DSOLARIS2 -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
- -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/solaris2/libwww.a"
-
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-# Solaris2 doesn't have or need ranlib. (ignore the error message about that :)
-solaris2-slang:
- cd WWW/Library/solaris2; $(MAKE) CC="gcc" LYFLAGS="-DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DSVR4 -DSOLARIS2 \
- -DUSE_SLANG -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
- -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/solaris2/libwww.a" \
- SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
- SLANGINC="$(SLANGINC)"
-
-# Solaris 2 slang using Sun's unbundled C compiler
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-# Solaris2 doesn't have or need ranlib. (ignore the error message about that :)
-solaris2-slangcc:
- cd WWW/Library/solaris2; $(MAKE) CC="cc" LYFLAGS="-DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DSVR4 -DSOLARIS2 \
- -DUSE_SLANG -DCURS_PERFORMANCE -DUTMPX_FOR_UTMP -DUSE_DIRENT \
- -DLOCALE -DHAVE_TERMIOS_H \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/ccs/lib -R/usr/ccs/lib -lcurses -lnsl -lsocket \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/solaris2/libwww.a" \
- SLANGLIB="$(SLANGLIB) $(SLANGRRLIB) -lslang -lm" \
- SLANGINC="$(SLANGINC)"
-
-osf:
- cd WWW/Library/osf; $(MAKE) LYFLAGS="-Olimit 2000 -DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Olimit 4000 -DUNIX \
- -DFANCY_CURSES -DNO_TTYTYPE $(ADDFLAGS) \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/osf/libwww.a"
-
-osf-slang:
- cd WWW/Library/osf; $(MAKE) LYFLAGS="-Olimit 2000 -DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Olimit 4000 -DUNIX \
- -DUSE_SLANG -DNO_TTYTYPE $(ADDFLAGS) \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/osf/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-# for some reason loc_t isn't defined when compiling for debug on my system.
-# needed for NLchar.h
-dbg:
- cd WWW/Library/osf; $(MAKE) CC="gcc" LYFLAGS="-DDIRED_SUPPORT \
- -DLY_FIND_LEAKS"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -Wall $(ADDFLAGS) \
- -DFANCY_CURSES -DLY_FIND_LEAKS \
- -Dloc_t=_LC_locale_t -D_locp=__lc_locale\
- -DDIRED_SUPPORT -DOK_TAR -DOK_GZIP -DOK_OVERRIDE \
- -DUNIX -I../$(WWWINC) -DEXEC_LINKS \
- -DALLOW_USERS_TO_CHANGE_EXEC_WITHIN_OPTIONS $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/osf/libwww.a"
-
-sgi:
-# SGI doesn't have or need ranlib. (ignore the error message about that :)
- cd WWW/Library/sgi; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -cckr -DFANCY_CURSES \
- -DNO_CUSERID -DUNIX -DSGI -Dvfork=fork \
- -I../$(WWWINC) -DNO_UTMP $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap -DSYSV -DPERFORMANCE \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sgi/libwww.a"
-
-##linux
-# Add -DDECL_SYS_ERRLIST to the LYFLAGS if sys_errlist and sys_nerr
-# are not declared in your system headers.
-linux:
- cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX -DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX \
- -DNO_KEYPAD -DNO_TTYTYPE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-linux-ncurses:
- cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX -DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX -DNCURSES \
- -DFANCY_CURSES -DCOLOR_CURSES -DNO_TTYTYPE \
- -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lncurses -lgpm \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-linux-slang:
- cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX -DNSL_FORK \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX -DUSE_SLANG \
- -DNO_KEYPAD -DNO_TTYTYPE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="$(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-develop:
- cd WWW/Library/unix; $(MAKE) LYFLAGS="-DLINUX $(SITE_LYDEFS) -I../../../src -DUSE_COLOR_STYLE -DUSE_HASH"
- cd src; $(MAKE) all CC="gcc" \
- MCFLAGS="-O -DUNIX -DLINUX -DNCURSES \
- -DFANCY_CURSES -DNO_KEYPAD -DNO_TTYTYPE -DUSE_COLOR_STYLE \
- -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS) -DUSE_HASH" \
- LIBS="-lncurses $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a" \
- STYLE=LYStyle
-
-linux-style:
- cd WWW/Library/unix; $(MAKE) LYFLAGS="-DLINUX $(SITE_LYDEFS) -I../../../src -DUSE_HASH -DUSE_COLOR_STYLE"
- cd src; $(MAKE) all CC="gcc" \
- MCFLAGS="-O -DUNIX -DLINUX -DNCURSES \
- -DFANCY_CURSES -DNO_KEYPAD -DNO_TTYTYPE -DUSE_COLOR_STYLE \
- -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS) -DUSE_HASH" \
- LIBS="-lncurses $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/unix/libwww.a" \
- STYLE=LYStyle
-
-##Various AIX environments
-aix:
- @echo "Run make again and use \"make aix4\" or \"make aix32\""
-
-# For AIX 4.n, and AIX 3.2.5 with POWER2 architectures, L2 caches,
-# and APAR#IX58890
-aix4:
- cd WWW/Library/rs6000; $(MAKE) LYFLAGS="-D_BSD=44 \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX -DAIX4 \
- -D_BSD=44 -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lbsd \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/rs6000/libwww.a"
-
-aix32:
- cd WWW/Library/rs6000; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DUNIX \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lbsd \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/rs6000/libwww.a"
-
-aix31:
- cd WWW/Library/rs6000; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -lbsd \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/rs6000/libwww.a"
-
-##ultrix - DEC Ultrix
-ultrix:
- cd WWW/Library/decstation; $(MAKE) LYFLAGS="-G 7 $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Olimit 600 -G 7 \
- -DFANCY_CURSES -DUNIX -DULTRIX -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcursesX -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/decstation/libwww.a"
-
-ultrix-slang:
- cd WWW/Library/decstation; $(MAKE) LYFLAGS="-G 7 $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -Olimit 600 -G 7 \
- -DUSE_SLANG -DUNIX -DULTRIX -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcursesX -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/decstation/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-##Various SunOS environments
-sun:
- @echo "Run make again and use \"make sun3\" or \"make sun4\""
-
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-sun3:
- cd WWW/Library/sun3; $(MAKE) LYFLAGS="$(SITE_LYDEFS)" CC="gcc"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DFANCY_CURSES \
- -I../$(WWWINC) -DSUN -DLOCALE -I/usr/5include $(SITE_DEFS)"\
- LIBS="-lcurses -ltermcap -L/usr/5lib \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sun3/libwww.a"
-
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-sun4:
- cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="$(CCFLAGS) -O -DUNIX -DSUN \
- -DSUN4 -DFANCY_CURSES -DLOCALE \
- -I../$(WWWINC) -I/usr/5include \
- $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap -L/usr/5lib \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sun4/libwww.a"
-
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-sun4-ncurses:
- cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" \
- MCFLAGS="-O -DUNIX -DFANCY_CURSES -DCOLOR_CURSES -DNCURSES \
- -I/usr/local/include -I../$(WWWINC) -DSUN -DSUN4 \
- -DLOCALE $(SITE_DEFS)" \
- LIBS="-L/usr/local/lib -lncurses \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sun4/libwww.a"
-
-# use the holiest of holiest --- PURIFY
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-sun4-pure:
- cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="purify -cache-dir=/home/purify-cache \
- -always-use-cache-dir=yes -optimize-save-o7=no gcc" \
- MCFLAGS="-O -DUNIX -DFANCY_CURSES \
- -I../$(WWWINC) -DSUN -DSUN4 -DLOCALE -I/usr/5include \
- $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap -L/usr/5lib \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sun4/libwww.a"
-
-# define RESOLVLIB (above) for the "LIBS" entry if needed
-sun4-slang:
- cd WWW/Library/sun4; $(MAKE) CC="gcc" LYFLAGS="$(CCFLAGS) \
- $(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DSUN -DSUN4 \
- -DUSE_SLANG -DLOCALE \
- -I../$(WWWINC) -I/usr/5include \
- $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap -L/usr/5lib \
- $(RESOLVLIB) $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/sun4/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang -lm" SLANGINC="$(SLANGINC)"
-
-# news - SONY NEWS-OS 4.2.1R
-news:
- @echo "You must first compile the WWW library in WWW/Library"
- cd WWW/Library/unix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc -O" MCFLAGS="-O -DUNIX -DNO_KEYPAD \
- -DNO_CUSERID -DLOCALE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-ljcurses -ltermcap $(WAISLIB) $(SOCKSLIB)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-news-ncurses:
- @echo "You must first compile the WWW library in WWW/Library"
- cd WWW/Library/unix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc -O" MCFLAGS="-O -DUNIX \
- -DNO_CUSERID -DNCURSES -DCOLOR_CURSES -DFANCY_CURSES \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lncurses $(WAISLIB) $(SOCKSLIB)" \
- WWWLIB="../WWW/Library/unix/libwww.a"
-
-news-slang:
- @echo "You must first compile the WWW library in WWW/Library"
- cd WWW/Library/unix; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="gcc -O" MCFLAGS="-O -DUNIX -DNO_KEYPAD \
- -DNO_CUSERID -DUSE_SLANG -DLOCALE \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="$(WAISLIB) $(SOCKSLIB)" \
- WWWLIB="../WWW/Library/unix/libwww.a" \
- SLANGLIB="$(SLANGLIB) -lslang" SLANGINC="$(SLANGINC)"
-
-# next - Nextstep
-next:
- cd WWW/Library/next; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNEXT -DNO_UNISTD_H \
- -DNO_CUSERID -DNO_GETCWD -DNO_PUTENV -DNO_KEYPAD \
- -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/next/libwww.a"
-
-next-ncurses:
- cd WWW/Library/next; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DUNIX -DNEXT -DNO_UNISTD_H \
- -DNCURSES -DCOLOR_CURSES -DFANCY_CURSES \
- -DNO_CUSERID -DNO_GETCWD -DNO_PUTENV \
- -I/usr/local/include -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-L/usr/local/lib -lncurses \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/next/libwww.a"
-
-# isc - Interactive Unix for i386 and i486 machines
-# According to Robert Salter (salter1@mster.nsbf.nasa.gov),
-# cc should be used instead of gcc.
-# According to Walter Skorski (walt@clyde.jmp.tju.edu),
-# -DPOSIX_JC is necessary, else LYBookmark.c never finds out
-# what a mode_t is.
-isc:
- cd WWW/Library/isc; $(MAKE) CC="cc" LYFLAGS="$(SITE_LYDEFS)"
- cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DISC -DFANCY_CURSES -DUNIX \
- -DNO_UTMP -Dvfork=fork -DPOSIX_JC -I../$(WWWINC) $(SITE_DEFS)" \
- LIBS="-lcurses -ltermcap -linet -lnsl_s -lcposix \
- $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
- WWWLIB="../WWW/Library/isc/libwww.a"
-
-##Miscellaneous actions
-clean:
- rm -f WWW/Library/*/*.[aob]
- rm -f WWW/Library/*/.created
- cd src; $(MAKE) clean
- rm -f *.b src/lynx core Lynx.leaks
-
-distclean: clean
- -rm -f WWW/Library/*/*~
- -rm -f WWW/Library/*/*.bak
- -rm -rf WWW/Library/*/obsolete
- -rm -rf src/obsolete
- -cd src; $(MAKE) clean
- -cd src/chrtrans; $(MAKE) distclean
- -rm -f Lynx.prj *~ *.bak *.sav .*_aux
- rm lynx
-
-tar: clean
- rm -f lynx
- $(MAKE) save
-
-turnover: clean
- $(MAKE) save
-
-zipcompress: compress zip
- echo "done!"
-
-zip: clean
- rm -f src/lynx
- rm -f lynx
- rm -f src/a.out
- rm -f ../$(lynxname).zip
- cd ..; rm -f $(lynxname).zip; zip -r $(lynxname).zip $(lynxdir)
-
-save:
- cd ..; rm -f $(lynxname).tar; tar -cf - $(lynxdir) > $(lynxname).tar
-
-compress: tar
- cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar
-
-install:
- -mv -f $(exec)/lynx $(exec)/lynx.old
- -mv -f $(cfg)/lynx.cfg $(cfg)/lynx.oldcfg
- $(installbin) lynx $(exec)/lynx
- $(installdoc) lynx.man $(doc)/lynx.1
- $(installdoc) lynx.cfg $(cfg)/lynx.cfg
diff --git a/docs/pdcurses.key b/docs/pdcurses.key
index 84021afb..5e383aa8 100644
--- a/docs/pdcurses.key
+++ b/docs/pdcurses.key
@@ -51,7 +51,6 @@ CTL_HOME 0x1bf /* Control-Home */
CTL_END 0x1c0 /* Control-End */
KEY_B2 0x1c5 /* center on Virt. keypad */
PADSLASH 0x1ca /* slash on keypad */
-PADENTER 0x1cb /* enter on keypad */
CTL_PADENTER 0x1cc /* ctl-enter on keypad */
ALT_PADENTER 0x1cd /* alt-enter on keypad */
PADSTOP 0x1ce /* stop on keypad */