Commit c7d975ea authored by Axel Beckert's avatar Axel Beckert

Imported Upstream version 2.8.6pre4

parent 97463cc1
Changes since Lynx 2.8 release
===============================================================================
2006-09-18 (2.8.6pre.4)
* updated link in user's guide to HTML 3.0 reference (report by TH) -TD
* remove coloring for lh- and high-tags from LYStyle.c and sample ".lss" files
since that tag is nonstandard (report by TH) -TD
* update da.po from
http://www.iro.umontreal.ca/translation/maint/lynx/
* add script samples/oldlynx, which gives the non-color-style scheme using
an executable built for color-style -TD
* add DEFAULT_COLORS item to lynx.cfg to allow disabling the default colors
feature at runtime, allowing better matching of old color scheme via a
script -TD
* update VMS descrip.mms files, adding the ability to build with slang -TD
2006-09-10 (2.8.6pre.3)
* add NESTED_TABLES setting to lynx.cfg to allow site override of the built-in
default (see 2001-08-15 comments by TH) -TD
......
......@@ -18,6 +18,7 @@
! 03 May 95 (FM) Include /NoMember for DECC (not the default on AXP,
! and the code assumes byte alignment).
! 07 Jul 95 (FM) Added GNUC support.
! 15 Sep 06 (TD) Cleanup...
!
! Bugs:
! The dependencies are anything but complete - they were
......@@ -81,84 +82,41 @@ INCLUDES = /Include=([-.Implementation],[---.src],[---])
! defines valid for all compilations
EXTRADEFINES = ACCESS_AUTH, VC="""$(VC)"""
! DECC flags for all compilations
.ifdef DEC_C
DCFLAGS = /NoMember /Warning=(disable=implicitfunc) $(INCLUDES)
.endif
.ifdef UCX
TCP = UCX
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), UCX)
.else
CFLAGS = $(DEBUGFLAGS) /Define=($(EXTRADEFINES), UCX) $(INCLUDES)
.endif
.endif
.ifdef TCPWARE
TCP = TCPWARE
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), UCX, TCPWARE)
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), UCX, TCPWARE) $(INCLUDES)
.endif
.endif
.ifdef MULTINET
TCP = MULTINET
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=(_DECC_V4_SOURCE, __SOCKET_TYPEDEFS, $(EXTRADEFINES), MULTINET)
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), MULTINET) $(INCLUDES)
.endif
.endif
.ifdef WIN_TCP
TCP = WIN_TCP
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), WIN_TCP)
NETWORK_DEF = WIN_TCP
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), WIN_TCP) $(INCLUDES)
.endif
.endif
.ifdef CMU_TCP
TCP = CMU_TCP
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), CMU_TCP)
NETWORK_DEF = CMU_TCP
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), CMU_TCP) $(INCLUDES)
.endif
.endif
.ifdef SOCKETSHR_TCP
TCP = SOCKETSHR_TCP
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), _DECC_V4_SOURCE, SOCKETSHR_TCP)
NETWORK_DEF = SOCKETSHR_TCP
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), SOCKETSHR_TCP) $(INCLUDES)
.endif
.endif
.ifdef DECNET
TCP = DECNET
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), DECNET)
.ifdef UCX
NETWORK_DEF = UCX
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), DECNET) $(INCLUDES)
.endif
.endif
.ifdef TCP
.ifdef TCPWARE
NETWORK_DEF = TCPWARE,UCX
.else
TCP = MULTINET ! (Default to MULTINET)
.ifdef DECnet
NETWORK_DEF = DECNET
.else ! Default to MultiNet
NETWORK_DEF = MULTINET
.endif ! DECnet
.endif ! TCPWARE
.endif ! UCX
.endif ! SOCKETSHR_TCP
.endif ! CMU_TCP
.endif ! WIN_TCP
! DECC flags for all compilations
.ifdef DEC_C
CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=(_DECC_V4_SOURCE, __SOCKET_TYPEDEFS, $(EXTRADEFINES), MULTINET)
MY_CFLAGS = /decc/Prefix=All /NoMember /Warning=(disable=implicitfunc) $(INCLUDES)
.else
CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), MULTINET) $(INCLUDES)
.endif
MY_CFLAGS = $(INCLUDES)
.endif
CFLAGS = $(DEBUGFLAGS) $(MY_CFLAGS) /Define=($(EXTRADEFINES), $(NETWORK_DEF))
.ifdef GNU_C
CC = gcc
.endif
......@@ -196,12 +154,12 @@ MODULES = HTParse, HTAccess, HTTP, HTFile, HTBTree, HTFTP, HTTCP, HTString, -
!___________________________________________________________________
! WWW Library
!library : $(HEADERS) wwwlib_$(TCP)($(MODULES))
library : wwwlib_$(TCP)($(MODULES))
!library : $(HEADERS) wwwlib($(MODULES))
library : wwwlib($(MODULES))
@ Continue
build_$(TCP).com : descrip.mms
$(MMS) /NoAction /From_Sources /Output = Build_$(TCP).com /Macro = ($(TCP)=1)
build_www.com : descrip.mms
$(MMS) /NoAction /From_Sources /Output = build_www.com /Macro = ($(NETWORK_DEF)=1)
clean :
- Set Protection = (Owner:RWED) *.*;-1
......
......@@ -1228,7 +1228,7 @@ fi;
PACKAGE=lynx
# $Format: "VERSION=$ProjectVersion$"$
VERSION=2.8.6pre.3
VERSION=2.8.6pre.4
test -z "$ALL_LINGUAS" && ALL_LINGUAS=`test -d $srcdir/po && cd $srcdir/po && echo *.po|sed -e 's/\.po//g' -e 's/*//'`
......
......@@ -25,7 +25,7 @@ dnl ---------------------------------------------------------------------------
dnl
dnl ask PRCS to plug-in the project-version for the configure-script.
dnl $Format: "AC_REVISION($ProjectVersion$)"$
AC_REVISION(2.8.6pre.3)
AC_REVISION(2.8.6pre.4)
# Save the original $CFLAGS so we can distinguish whether the user set those
# in the environment, or whether autoconf added -O and -g options:
......@@ -57,7 +57,7 @@ AC_ARG_WITH(system-type,
PACKAGE=lynx
dnl ask PRCS to plug-in the project-version for the packages.
# $Format: "VERSION=$ProjectVersion$"$
VERSION=2.8.6pre.3
VERSION=2.8.6pre.4
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
AC_SUBST(DESTDIR)
......
......@@ -23,6 +23,7 @@
! avoid any confusion with official releases at UKans.
! 07/29/95 (macrides@sci.wfeb.edu)
! Added support for GNUC.
! 15 Sep 06 (TD) Cleanup...
!
! Instructions:
! Use the correct command line for your TCP/IP implementation:
......@@ -51,42 +52,49 @@
! $ MMS /Macro = (TCPWARE=1, GNU_C=1) for GNUC - TCPWare TCP/IP
! $ MMS /Macro = (DECNET=1, GNU_C=1) for GNUC - socket emulation over DECnet
.ifdef MULTINET
TCPM = MULTINET
.ifdef DEC_C
COMPILE_DEF = DEC_C
.else
.ifdef GNU_C
COMPILE_DEF = GNU_C
.else
COMPILE_DEF = VAX_C
.endif
.ifdef WIN_TCP
TCPM = WIN_TCP
.endif
.ifdef UCX
TCPM = UCX
.ifdef SLANG
SCREEN_DEF = SLANG
.else
SCREEN_DEF = VMS_CURSES
.endif
.ifdef WIN_TCP
NETWORK_DEF = WIN_TCP
.else
.ifdef CMU_TCP
TCPM = CMU_TCP
.endif
NETWORK_DEF = CMU_TCP
.else
.ifdef SOCKETSHR_TCP
TCPM = SOCKETSHR_TCP
.endif
NETWORK_DEF = SOCKETSHR_TCP
.else
.ifdef UCX
NETWORK_DEF = UCX
.else
.ifdef TCPWARE
TCPM = TCPWARE
.endif
.ifdef DECNET
TCPM = DECNET
.endif
.ifdef TCPM
NETWORK_DEF = TCPWARE
.else
TCPM = MULTINET !Default to MultiNet
.endif
.ifdef DECnet
NETWORK_DEF = DECNET
.else ! Default to MultiNet
NETWORK_DEF = MULTINET
.endif ! DECnet
.endif ! TCPWARE
.endif ! UCX
.endif ! SOCKETSHR_TCP
.endif ! CMU_TCP
.endif ! WIN_TCP
.ifdef GNU_C
CC = gcc
.endif
RECURS_DEFS = /Macro=($(NETWORK_DEF)=1, $(SCREEN_DEF)=1, $(COMPILE_DEF)=1)
lynx : lynx.exe
! Finished Building LYNX for VMS!!!
......@@ -96,30 +104,13 @@ lynx.exe : library exe
library :
Set Default [.www.library.implementation]
.ifdef DEC_C
$(MMS) $(MMSQUALIFIERS) /Description = [-.VMS]DESCRIP.MMS /Macro = ($(TCPM)=1, DEC_C=1) Library
.else
.ifdef GNU_C
$(MMS) $(MMSQUALIFIERS) /Description = [-.VMS]DESCRIP.MMS /Macro = ($(TCPM)=1, GNU_C=1) Library
.else
$(MMS) $(MMSQUALIFIERS) /Description = [-.VMS]DESCRIP.MMS /Macro = ($(TCPM)=1) Library
.endif
.endif
$(MMS) $(MMSQUALIFIERS) /Description = [-.VMS]DESCRIP.MMS $(RECURS_DEFS) Library
Set Default [---]
exe :
Set Default [.src]
.ifdef DEC_C
$(MMS) $(MMSQUALIFIERS) /Macro = ($(TCPM)=1, DEC_C=1) Lynx
.else
.ifdef GNU_C
$(MMS) $(MMSQUALIFIERS) /Macro = ($(TCPM)=1, GNU_C=1) Lynx
.else
$(MMS) $(MMSQUALIFIERS) /Macro = ($(TCPM)=1) Lynx
.endif
.endif
Copy /NoLog /NoConfirm lynx.exe [-]
Set Protection = (Owner:RWE, World:RE) [-]lynx.exe
$(MMS) $(MMSQUALIFIERS) $(RECURS_DEFS) Lynx
Copy /NoLog /NoConfirm lynx.exe [-];
Set Default [-]
clean :
......
......@@ -3,10 +3,10 @@
# or Lynx_Dir:lynx.cfg (VMS)
#
# $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
#PRCS LYNX_VERSION "2.8.6pre.3"
#PRCS LYNX_VERSION "2.8.6pre.4"
#
# $Format: "#PRCS LYNX_DATE \"$ProjectDate$\""$
#PRCS LYNX_DATE "Sun, 10 Sep 2006 16:38:39 -0700"
#PRCS LYNX_DATE "Mon, 18 Sep 2006 17:28:28 -0700"
#
# Definition pairs are of the form VARIABLE:DEFINITION
# NO spaces are allowed between the pair items.
......@@ -2970,13 +2970,13 @@ COLOR:6:brightred:black
.h2 ASSUMED_COLOR
# If built with a library that recognizes default colors (usually ncurses or
# slang), lynx initializes it to assume the corresponding foreground and
# background colors. Default colors are those that the terminal (emulator)
# itself is initialized to. For instance, you might have an xterm running with
# black text on a white background, and want lynx to display colored text on
# the white background, but leave the possibility of using the same
# configuration to draw colored text on a different xterm, this time using its
# background set to black.
# slang), and if the corresponding option is compiled into lynx, lynx
# initializes it to assume the corresponding foreground and background colors.
# Default colors are those that the terminal (emulator) itself is initialized
# to. For instance, you might have an xterm running with black text on a white
# background, and want lynx to display colored text on the white background,
# but leave the possibility of using the same configuration to draw colored
# text on a different xterm, this time using its background set to black.
#
# If built with conventional SVr3/SVr4 curses, tells lynx to use color pair 0
# when the given colors match this setting. That gives a similar effect,
......@@ -2990,6 +2990,20 @@ COLOR:6:brightred:black
# The first value given is the foreground, the second is the background.
#ASSUMED_COLOR:default:default
.h2 DEFAULT_COLORS
# If built with a library that recognizes default colors (usually ncurses or
# slang), and if the corresponding option is compiled into lynx, lynx
# initializes it to assume the corresponding foreground and background colors.
# Default colors are those that the terminal (emulator) itself is initialized
# to.
#
# Use this feature to disable the default-colors feature at runtime.
# This is useful for constructing scripts which use the non-color-style
# scheme, e.g., the oldlynx script.
#
# This should precede ASSUMED_COLOR settings.
#DEFAULT_COLORS:true
.h1 External Programs
......
......@@ -1706,7 +1706,7 @@ to keep track of information across a series of related form submissions,
but have the potential for including information about the user that might
be considered to represent an invasion of privacy. NOTE, in this regard,
that Lynx has implemented the <a
href="http://www.w3.org/MarkUp/html3/Contents.html">HTML 3.0</a>
href="http://www.w3.org/Markup/html3/">HTML 3.0</a>
<em>DISABLED</em> attribute for <em>all</em> of its form fields. These
can be used to keep track of information across submissions, and to cast
it unmodifiable in the current form, but keep the user aware that it will
......
# Danish translation of the Lynx browser message catalog
# Copyright (C) 2000 Free Software Foundation, Inc.
# Morten Bo Johansen <mojo@mbjnet.dk>, 2000-2004
# Morten Bo Johansen <mbj@spamcop.net>, 2000-2006
msgid ""
msgstr ""
"Project-Id-Version: lynx 2.8.6-dev8\n"
"Project-Id-Version: lynx 2.8.6-dev19\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-08-31 18:50-0400\n"
"PO-Revision-Date: 2004-11-12 17:30+0100\n"
"PO-Revision-Date: 2006-09-17 14:07+0200\n"
"Last-Translator: Morten Bo Johansen <mojo@mbjnet.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
......@@ -235,7 +235,7 @@ msgstr "SKRIVEBESKYTTET adgangskodeformular. Pil OP/NED el. TAB forlader felt."
#. #define FORM_LINK_CHECKBOX_MESSAGE
#: LYMessages.c:104
msgid "(Checkbox Field) Use right-arrow or <return> to toggle."
msgstr "(Afkrydsningsfelt) Hjrepil el. <retur> slr til/fra."
msgstr "(Afkrydsningsfelt) Hjrepil eller <retur> (de)aktiverer."
#. #define FORM_LINK_CHECKBOX_UNM_MSG
#: LYMessages.c:106
......@@ -593,7 +593,7 @@ msgstr "'d'ownload-kommandoen er deaktiveret i
#: LYMessages.c:233
msgid "You cannot download an input field."
msgstr "Kan ikke hente et inddatafelt."
msgstr "Kan ikke hente et indtastningsfelt."
#: LYMessages.c:234
msgid "Form has a mailto action! Cannot download."
......@@ -820,7 +820,7 @@ msgstr "Gem L)ink i bogm
#. #define NOBOOK_POST_FORM
#: LYMessages.c:306
msgid "Documents from forms with POST content cannot be saved as bookmarks."
msgstr "Formulardokumenter med 'POST'-indhold kan ikke gemmes som bogmrker."
msgstr "Formulardokumenter med POST-indhold kan ikke gemmes som bogmrker."
#: LYMessages.c:307
msgid "Cannot save form fields/links"
......@@ -2553,9 +2553,9 @@ msgid "Retrying with proxy authorization information."
msgstr "Prver igen med godkendelsesinformation fra proxyvrt."
#: LYMessages.c:796
#, fuzzy, c-format
#, c-format
msgid "SSL error:%s-Continue?"
msgstr "SSL-fejl:vrt(%s)!=cert(%s) - fortst?"
msgstr "SSL-fejl:%s - fortst?"
#. HTWAIS.c
#: LYMessages.c:799
......@@ -2848,7 +2848,8 @@ msgstr "sokkel til prim
#. * It's a symbolic link, does the user care about knowing if it is
#. * symbolic? I think so since it might be a directory.
#.
#: WWW/Library/Implementation/HTFTP.c:1697 WWW/Library/Implementation/HTFTP.c:2314
#: WWW/Library/Implementation/HTFTP.c:1697
#: WWW/Library/Implementation/HTFTP.c:2314
msgid "Symbolic Link"
msgstr "Symbolsk link"
......@@ -3023,7 +3024,8 @@ msgstr "Adresse har en ugyldig port"
msgid "Address length looks invalid"
msgstr "Adresselngde forekommer ugyldig"
#: WWW/Library/Implementation/HTTCP.c:1581 WWW/Library/Implementation/HTTCP.c:1599
#: WWW/Library/Implementation/HTTCP.c:1581
#: WWW/Library/Implementation/HTTCP.c:1599
#, c-format
msgid "Unable to locate remote host %s."
msgstr "Ude af stand til at finde fremmed vrt %s."
......@@ -3032,7 +3034,8 @@ msgstr "Ude af stand til at finde fremmed v
#. * but not HTAlert, because typically there will be other
#. * alerts from the callers. - kw
#.
#: WWW/Library/Implementation/HTTCP.c:1596 WWW/Library/Implementation/HTTelnet.c:108
#: WWW/Library/Implementation/HTTCP.c:1596
#: WWW/Library/Implementation/HTTelnet.c:108
#, c-format
msgid "Invalid hostname %s"
msgstr "Ugyldigt vrtsnavn %s"
......@@ -3086,34 +3089,33 @@ msgstr "Fors
#: WWW/Library/Implementation/HTTP.c:664
msgid "no issuer was found"
msgstr ""
msgstr "ingen udsteder fundet"
# CA = Certification Authority
#: WWW/Library/Implementation/HTTP.c:666
msgid "issuer is not a CA"
msgstr ""
msgstr "udsteder er ikke en certificeringsmyndighed"
#: WWW/Library/Implementation/HTTP.c:668
msgid "the certificate has no known issuer"
msgstr ""
msgstr "certifikatet har ingen kendt udsteder"
#: WWW/Library/Implementation/HTTP.c:670
#, fuzzy
msgid "the certificate has been revoked"
msgstr "Cookier er blevet slettet!"
msgstr "certifikatet er blevet tilbagekaldt"
#: WWW/Library/Implementation/HTTP.c:672
msgid "the certificate is not trusted"
msgstr ""
msgstr "certifikatet er ikke trovrdigt"
#: WWW/Library/Implementation/HTTP.c:747
#, c-format
msgid "Verified connection to %s (cert=%s)"
msgstr ""
msgstr "Verificerede forbindelse til %s (cert=%s)"
#: WWW/Library/Implementation/HTTP.c:771
#, fuzzy
msgid "Can't find common name in certificate"
msgstr "SSL-fejl: Kan ikke finde flles navn i certifikat - fortst?"
msgstr "Kan ikke finde flles navn i certifikat"
#: WWW/Library/Implementation/HTTP.c:774
#, c-format
......@@ -3663,7 +3665,7 @@ msgstr "Fil kan m
#: src/LYCgi.c:159
#, c-format
msgid "Do you want to execute \"%s\"?"
msgstr ""
msgstr "Vil du udfre \"%s\"?"
#.
#. * Neither the path as given nor any components examined by backing up
......@@ -4241,7 +4243,7 @@ msgid ""
"\n"
msgstr ""
"\n"
"Opstningsfil %s er ikke tilgngelig.\n"
"Opstningsfil \"%s\" er ikke tilgngelig.\n"
"\n"
#: src/LYMain.c:1466
......@@ -4274,7 +4276,7 @@ msgid ""
"\n"
msgstr ""
"\n"
"Lynx-fil %s er ikke tilgngelig.\n"
"Lynx-fil \"%s\" er ikke tilgngelig.\n"
"\n"
#: src/LYMain.c:1762
......@@ -4505,7 +4507,8 @@ msgid "ON"
msgstr "SLET TIL"
#. verbose_img variable
#: src/LYOptions.c:2127 src/LYOptions.c:2132 src/LYOptions.c:2280 src/LYOptions.c:2291
#: src/LYOptions.c:2127 src/LYOptions.c:2132 src/LYOptions.c:2280
#: src/LYOptions.c:2291
msgid "OFF"
msgstr "SLET FRA"
......@@ -4913,9 +4916,8 @@ msgstr "Personlig e-post-adresse"
#. Mail Address: INPUT
#: src/LYOptions.c:3720
#, fuzzy
msgid "Password for anonymous ftp"
msgstr "Adgangskode for nyhedsvrt (news) '%s':"
msgstr "Adgangskode til anonymous ftp"
# media type refererer til content-type headeren, eks: image/xyz
#. Preferred media type: SELECT
......@@ -5285,9 +5287,8 @@ msgid "Content-Length:"
msgstr "'Content-Length':"
#: src/LYShowInfo.c:360
#, fuzzy
msgid "Length:"
msgstr "'Content-Length':"
msgstr "Lngde:"
#: src/LYShowInfo.c:365
msgid "Language:"
......@@ -5295,11 +5296,11 @@ msgstr "Sprog:"
#: src/LYShowInfo.c:372
msgid "Post Data:"
msgstr "'Post Data:'"
msgstr "POST-data:"
#: src/LYShowInfo.c:375
msgid "Post Content Type:"
msgstr "'Post Content Type:'"
msgstr "POST-indholdstype:"
#: src/LYShowInfo.c:378
msgid "Owner(s):"
......@@ -5359,7 +5360,7 @@ msgstr "Metode:"
#: src/LYShowInfo.c:428
msgid "Enctype:"
msgstr "Kodtype:"
msgstr "Kod.type:"
#: src/LYShowInfo.c:434
msgid "Action:"
......@@ -5436,7 +5437,7 @@ msgstr "Uventet adgangsprotokol for denne adressetype."
#: src/LYUtils.c:3384
msgid "Too many tempfiles"
msgstr "For mange tempfiler"
msgstr "For mange midlertidige filer"
#: src/LYUtils.c:3688
msgid "unknown restriction"
......@@ -5479,6 +5480,10 @@ msgid ""
"Lynx will use the personal email address. Set anonftp_password\n"
"to a different value if you choose.\n"
msgstr ""
"anonftp_password lader brugeren instruere Lynx om at bruge den personlige\n"
"e-post-adresse som adgangskode ved anonymous ftp. Hvis der ikke er angivet\n"
"en vrdi, vil Lynx bruge den personlige e-post-adresse. St anonftp_password\n"
"til en anden vrdi hvis du nsker det.\n"
#: src/LYrcFile.c:331
msgid ""
......@@ -5547,9 +5552,9 @@ msgid ""
msgstr ""
"cookie_loose_invalid_domains, cookie_strict_invalid_domains, og\n"
"cookie_query_invalid_domains er en kommasepareret liste over hvilke\n"
"domner der skal underkastes varierende grader af gyldighedstjek. hvis\n"
"et domne er sat til strengt tjek, vil en streng overholdelse af RFC2109\n"
"blive krvet. Et domne med et afslappet tjek vil blive tilladt at sende\n"
"domner der skal underkastes varierende grader af gyldighedskontrol. hvis\n"
"et domne er sat til streng kontrol, vil en streng overholdelse af RFC2109\n"
"blive krvet. Et domne med et ls kontrol vil blive tilladt at sende\n"
"cookier med en ugyldig sti eller domneattribut. Alle domner vil som\n"
"standard sprge brugeren om en ugyldig sti eller domne.\n"
......
......@@ -35,13 +35,11 @@ tt: dim: gray: blue
h1: bold: yellow: blue
label: normal: magenta: blue
value: normal: green: blue
high: bold: brightmagenta: blue
q: normal: yellow: magenta
small: dim: gray: blue
big: bold: yellow: blue
sup: bold: yellow: blue
sub: dim: gray: blue
lh: bold: yellow: magenta
# glitch fixes
area: normal: lightgray: blue
......
......@@ -33,7 +33,6 @@ small: dim: default
big: bold: yellow
sup: bold: yellow
sub: dim: gray
lh: bold: yellow: magenta
li: normal: magenta
code: normal: cyan
cite: normal: cyan
......@@ -57,7 +56,6 @@ alert: bold: yellow: red
whereis: reverse+underline: magenta: cyan
# currently not used
#value:normal:green
#high:bold:brightmagenta
menu.bg: normal: black: lightgray
menu.frame: normal: black: lightgray
......
......@@ -36,13 +36,11 @@ tt: normal: white: black
h1: bold: cyan: black
label: normal: cyan
value: normal: cyan
high: bold: cyan
q: normal: cyan
small: dim: cyan
big: bold: cyan
sup: bold: cyan
sub: dim: cyan
lh: bold: cyan
code: normal: cyan
span.htmlsrc_comment:normal:white
......
#!/bin/sh
# invoke lynx built with color-style, overriding the color options to use the
# non-color-style scheme -TD
my_cfg=${TMPDIR:-/tmp}/lynxcfg$$
trap "rm -f $my_cfg" 0 1 2 5 15
rm -f "$my_cfg"
echo "DEFAULT_COLORS:off" >>$my_cfg
if test -n "$LYNX_CFG" ; then
echo "include:$LYNX_CFG" >>$my_cfg
fi
echo "COLOR_STYLE:" >>$my_cfg
echo "NESTED_TABLES:off" >>$my_cfg
LYNX_CFG=$my_cfg
export LYNX_CFG
unset LYNX_LSS
${LYNX_PROG-lynx} "$@"
......@@ -23,7 +23,6 @@ extern "C" {
DSTYLE_NORMAL, /* default attributes */
DSTYLE_OPTION, /* option on the option screen */
DSTYLE_VALUE, /* value on the option screen */
DSTYLE_HIGH,
DSTYLE_CANDY, /* possibly going to vanish */
DSTYLE_WHEREIS, /* whereis search target */
DSTYLE_ELEMENTS
......
......@@ -548,34 +548,9 @@ void curses_style(int style,
static BOOL lynx_called_initscr = FALSE;
#if defined(HAVE_USE_DEFAULT_COLORS) && defined(USE_DEFAULT_COLORS)
/*
* If we find a "default" color while reading the config-file, set default
* colors on the screen.
*/
int lynx_default_colors(void)
{
int code = 0;
if (!default_color_reset) {
if (lynx_called_initscr) {
code = -1;
if (use_default_colors() == OK) {
default_fg = DEFAULT_COLOR;
default_bg = DEFAULT_COLOR;
code = 1;
} else {
default_fg = COLOR_WHITE;
default_bg = COLOR_BLACK;
default_color_reset = TRUE;
}
}
}
return code;
}
#endif /* HAVE_USE_DEFAULT_COLORS && USE_DEFAULT_COLORS */
#if defined(USE_COLOR_TABLE) && defined(COLOR_CURSES)
#define COLOR_CFG_MAX 8
/*
* This block of code is designed to produce the same color effects using SVr4
* curses as the slang library's implementation in this module. That maps the
......@@ -585,27 +560,30 @@ int lynx_default_colors(void)
* 1997/1/19 - T.E.Dickey <dickey@clark.net>
*/
/* *INDENT-OFF* */
#define COLOR_CFG(c) c, (c) == DEFAULT_COLOR
static struct {
int fg, bg;
int fg, dft_fg, bg, dft_bg;
} lynx_color_cfg[] = {
/*0*/ { DEFAULT_FG, DEFAULT_BG},
/*1*/ { COLOR_BLUE, DEFAULT_BG},
/*2*/ { COLOR_YELLOW+8,COLOR_BLUE},
/*3*/ { COLOR_GREEN, DEFAULT_BG},
/*4*/ { COLOR_MAGENTA, DEFAULT_BG},
/*5*/ { COLOR_BLUE, DEFAULT_BG},
/*6*/ { COLOR_RED, DEFAULT_BG},
/*7*/ { COLOR_MAGENTA, COLOR_CYAN}
/*0*/ { COLOR_CFG(DEFAULT_FG), COLOR_CFG(DEFAULT_BG)},
/*1*/ { COLOR_CFG(COLOR_BLUE), COLOR_CFG(DEFAULT_BG)},
/*2*/ { COLOR_CFG(COLOR_YELLOW+8), COLOR_CFG(COLOR_BLUE)},
/*3*/ { COLOR_CFG(COLOR_GREEN), COLOR_CFG(DEFAULT_BG)},
/*4*/ { COLOR_CFG(COLOR_MAGENTA), COLOR_CFG(DEFAULT_BG)},
/*5*/ { COLOR_CFG(COLOR_BLUE), COLOR_CFG(DEFAULT_BG)},
/*6*/ { COLOR_CFG(COLOR_RED), COLOR_CFG(DEFAULT_BG)},
/*7*/ { COLOR_CFG(COLOR_MAGENTA), COLOR_CFG(COLOR_CYAN)}
};
/* *INDENT-ON* */
#define COLOR_PAIRS_MAX (COLOR_CFG_MAX * 3 + 1)
/*
* Hold the codes for color-pairs here until 'initscr()' is called.
*/
static struct {
int fg;
int bg;
} lynx_color_pairs[25];
} lynx_color_pairs[COLOR_PAIRS_MAX];
/*
* If we find an exact match for the given default colors, force curses to use
......@@ -642,7 +620,7 @@ static int lynx_color_cfg_attr(int code)
{
int result = A_NORMAL;
if (code >= 0 && code < 8) {
if (code >= 0 && code < COLOR_CFG_MAX) {
int fg = lynx_color_cfg[code].fg;
if (is_boldc(fg) && (fg & COLORS))
......@@ -722,7 +700,8 @@ char *LYgetTableString(int code)
if (fg == 0 && bg == 0) {
fg = COLOR_WHITE;
}
CTRACE((tfp, "%#x -> %#x (mono %#x pair %d) fg=%d, bg=%d\n", mask, second, mono, pair, fg, bg));
CTRACE((tfp, "%#x -> %#x (mono %#x pair %d) fg=%d, bg=%d\n",
mask, second, mono, pair, fg, bg));
for (n = 0; n < TABLESIZE(Mono_Attrs); ++n) {
if ((Mono_Attrs[n].code & mono) != 0) {
if (result != 0)
......@@ -771,17 +750,18 @@ static void lynx_init_color_pair(int n)
static void lynx_map_color(int n)
{
int j;
CTRACE((tfp, "lynx_map_color(%d)\n", n));
if (n + 1 < (int) TABLESIZE(lynx_color_pairs)) {
lynx_color_pairs[n + 1].fg = lynx_color_cfg[n].fg;
lynx_color_pairs[n + 1].bg = lynx_color_cfg[n].bg;
lynx_color_pairs[n + 9].fg = lynx_color_cfg[n].fg;
lynx_color_pairs[n + 9].bg = lynx_color_cfg[0].bg;
for (j = n + 1; j < COLOR_PAIRS_MAX; j += COLOR_CFG_MAX) {
lynx_color_pairs[j].fg = lynx_color_cfg[n].fg;
lynx_color_pairs[j].bg = lynx_color_cfg[n].bg;