I honestly don't believe this is useable on QPC2.
<clip>
Just what is happening? What's being done wrong here? Using Lynx 282, latest on JRH's website. The lynx_cfg and lynxrc files are meaningless garbage to me, so I haven't touched those. Running in 640x480 QL colours mode 4 with the QPC2 v3.30 beta 3 hotfix.
OK ... just had a look at my version of Lynx and it is v2.7.1, so obviously a much earlier version.
However, the zip archive was created by Tim Swenson, who did some work on the configuration to make it suitable for qdos users.
He mentions the 2 file as being 'lynxrc' and 'lynx_cfg' that require configuration. Although he indicates in his 'readme' file that this may not be an easy option to undertake.
Probably worth an email to Tim to see if he has used the v.2.8.2.
Anyway here is my boot, as you can see a lot simpler that the one you have :
100 REMark Set up boot for Lynx 110 REMark ** This section sets up the environment variables required ** 120 : 140 LRESPR win1_env_bin 150 : 160 SETENV "TERM=qdos" 170 SETENV "TERMINFO=win1_Lynx_terminfo" 180 SETENV "LYNX_CON=512x256a0x0_6_0_4" 190 REMark Now execute 200 EXEC win1_Lynx_lynx;"/win1/Lynx/index.html"
Boot program:
100 REMark ** This section sets up the environment variables required **
110 :
120 SETENV "TERM=qdos"
130 SETENV "TERMINFO=win1_LYNX282_terminfo_qdos"
140 SETENV "LYNX_CON=512x256a0x0_6_0_4"
150 SETENV "LYNX_CFG=win1_LYNX282_lynx_cfg"
155 REMark SETENV "lynx_font=win1_lynx282_pcql_font"
157 SETENV "www_home=http\homepages.tesco.net/dilwyn.jones/index.html"
160 REMark ** This section runs lynx interactively; note the file name format **
170 EX lynx;'name' name is the page I want
180 STOP
190 :
200 REMark ** This section will dump the HTML file to a text file **
210 :
220 EX lynx;'-dump /win1/Comms/WebPage/index.html >ram2_dump_txt'
230 STOP
Line 170 expects a parameter and I've tried conventional and the examples in the manual syntax for the start page.
In your line 157 you have 'www_home' - is that a directory on your hard drive ( win1_ ) ?
Compare your lines 170 and 220 with mine.
Obviously the syntax is to have the QDOS bit as normal QL syntax :
EX win1_Lynx_lynx
You don't have a 'device' or sub-directory set in your 170 and 220.
The next part is the 'unix' syntax, that is everything after the semi-colon has to be inside quotes for QDOS yet use the 'forward slashes' of unix paths to get to where you wish to look.
Try to get it to load an html page 'offline' first.
For you this could be something like :
EX win1_lynx;"/win1/homepages/index.html"
-- Malcolm Cadman _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
