about summary refs log tree commit diff stats
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/lynx-demo.cfg11
-rw-r--r--samples/lynx.bat7
-rw-r--r--samples/oldlynx.bat7
3 files changed, 21 insertions, 4 deletions
diff --git a/samples/lynx-demo.cfg b/samples/lynx-demo.cfg
index 5bd20dcd..b1b595ce 100644
--- a/samples/lynx-demo.cfg
+++ b/samples/lynx-demo.cfg
@@ -1,19 +1,29 @@
+# $LynxId: lynx-demo.cfg,v 1.5 2018/03/18 17:44:27 tom Exp $

+# vile:cfgmode

 # From: claudio santambrogio <claudio.santambrogio@tiscali.it>

 

 STARTFILE:file://localhost/~/home.htm

 HELPFILE:file://localhost/~/help/lynx_help_main.html.gz

 DEFAULT_INDEX_FILE:http://lynx.invisible-island.net/

+

 CHARACTER_SET:cp850

 ASSUME_CHARSET:utf-8

+

 FORCE_SSL_COOKIES_SECURE:TRUE

 COOKIE_REJECT_DOMAINS:ad.doubleclick.net

 PERSISTENT_COOKIES:TRUE

 COOKIE_FILE:~/.lynx_cookies

 COOKIE_SAVE_FILE:~/.lynx_cookies

+

+DEFAULT_CACHE_SIZE:100

+DEFAULT_VIRTUAL_MEMORY_SIZE:5120000

+SOURCE_CACHE:memory

+

 DEFAULT_USER_MODE:INTERMEDIATE

 VERBOSE_IMAGES:FALSE

 MAKE_PSEUDO_ALTS_FOR_INLINES:FALSE

 MINIMAL_COMMENTS:TRUE

+

 COLOR:0:lightgray:black

 COLOR:1:red:black

 COLOR:2:yellow:blue

@@ -21,6 +31,7 @@ COLOR:4:green:black
 COLOR:5:brown:black

 COLOR:6:brightred:black

 COLOR:7:white:brightgreen

+

 PRETTYSRC:TRUE

 HTMLSRC_TAGNAME_XFORM:0

 HTMLSRC_ATTRNAME_XFORM:0

diff --git a/samples/lynx.bat b/samples/lynx.bat
index 0b77ba4f..03f4a5db 100644
--- a/samples/lynx.bat
+++ b/samples/lynx.bat
@@ -1,12 +1,15 @@
 @echo off

-@rem $LynxId: lynx.bat,v 1.5 2018/03/14 08:42:53 tom Exp $

+@rem $LynxId: lynx.bat,v 1.6 2018/03/18 17:20:13 tom Exp $

 @rem Claudio Santambrogio

 @rem improved by loto1992@inbox.ru

 setlocal

 

 set TERM=vt100

 set HOME=%~dp0

-set TEMP=%HOME%tmp

+

+rem  normally set, but just in case..

+if "x%TEMP%"=="x" set TEMP=%HOME%tmp

+mkdir "%TEMP%"

 

 set LYNX_CFG=%HOME%lynx-demo.cfg

 set LYNX_LSS=%HOME%lynx.lss

diff --git a/samples/oldlynx.bat b/samples/oldlynx.bat
index c45a8216..20362f63 100644
--- a/samples/oldlynx.bat
+++ b/samples/oldlynx.bat
@@ -1,11 +1,14 @@
 @ECHO OFF

-@rem $LynxId: oldlynx.bat,v 1.4 2018/03/12 09:07:29 tom Exp $

+@rem $LynxId: oldlynx.bat,v 1.5 2018/03/18 17:20:13 tom Exp $

 @rem demonstrate lynx without color-style -TD

 setlocal

 

 set TERM=vt100

 set HOME=%~dp0

-set TEMP=%HOME%tmp

+

+rem  normally set, but just in case..

+if "x%TEMP%"=="x" set TEMP=%HOME%tmp

+mkdir "%TEMP%"

 

 set LYNX_CFG=%HOME%oldlynx.cfg

 set LYNX_LSS=