glennmcc

North Jackson, Ohio (USA), 23.12.2021, 19:37 |
DOS Arachne v1.99 (Announce) |
After almost 9yrs since v1.97
Available today... DOS Arachne v1.99
http://glennmcc.org/ --- --
http://glennmcc.org/ |
Oso2k
24.12.2021, 00:25
@ glennmcc
|
DOS Arachne v1.99 |
> After almost 9yrs since v1.97
>
> Available today... DOS Arachne v1.99
>
> http://glennmcc.org/
Is there a changelog somewhere?
I see that there might have been a private 1.98 version since I see the following files have changed in the last 9 years.
VERSION.C
GLOBALS.C
GUIEVENT.C
MAIN.C
HTTP.C
URLSTAT.C
PICINFO.H
URL.H
INIT.C
FTP.C
POPGET.C |
glennmcc

North Jackson, Ohio (USA), 24.12.2021, 01:48
@ Oso2k
|
DOS Arachne v1.99 |
> > After almost 9yrs since v1.97
> >
> > Available today... DOS Arachne v1.99
> >
> > http://glennmcc.org/
>
>
> Is there a changelog somewhere?
>
> I see that there might have been a private 1.98 version since I see the
> following files have changed in the last 9 years.
>
> VERSION.C
> GLOBALS.C
> GUIEVENT.C
> MAIN.C
> HTTP.C
> URLSTAT.C
> PICINFO.H
> URL.H
> INIT.C
> FTP.C
> POPGET.C
I did not bother with a changelog because this change in http.c
is the only one of any consequence....
//!!glennmcc: Dec 05, 2013 -- do not send blank Referer: in header
if(http_parameters.referer && strlen(Referer)>0)
// if(http_parameters.referer)
sprintf(referstr,"Referer: %s\r\n",Referer); --- --
http://glennmcc.org/ |
Oso2k
24.12.2021, 01:55
@ glennmcc
|
DOS Arachne v1.99 |
> > Is there a changelog somewhere?
> >
> > I see that there might have been a private 1.98 version since I see the
> > following files have changed in the last 9 years.
> >
> > VERSION.C
> > GLOBALS.C
> > GUIEVENT.C
> > MAIN.C
> > HTTP.C
> > URLSTAT.C
> > PICINFO.H
> > URL.H
> > INIT.C
> > FTP.C
> > POPGET.C
>
>
> I did not bother with a changelog because this change in http.c
> is the only one of any consequence....
>
> //!!glennmcc: Dec 05, 2013 -- do not send blank Referer: in header
> if(http_parameters.referer && strlen(Referer)>0)
> // if(http_parameters.referer)
> sprintf(referstr,"Referer: %s\r\n",Referer);
Good to know. Thanks for the update! |
glennmcc

North Jackson, Ohio (USA), 24.12.2021, 06:23
@ Oso2k
|
DOS Arachne v1.99 |
> > > Is there a changelog somewhere?
> > >
> > > I see that there might have been a private 1.98 version since I see
> the
> > > following files have changed in the last 9 years.
> > >
> > > VERSION.C
> > > GLOBALS.C
> > > GUIEVENT.C
> > > MAIN.C
> > > HTTP.C
> > > URLSTAT.C
> > > PICINFO.H
> > > URL.H
> > > INIT.C
> > > FTP.C
> > > POPGET.C
> >
> >
> > I did not bother with a changelog because this change in http.c
> > is the only one of any consequence....
> >
> > //!!glennmcc: Dec 05, 2013 -- do not send blank Referer: in header
> > if(http_parameters.referer && strlen(Referer)>0)
> > // if(http_parameters.referer)
> > sprintf(referstr,"Referer: %s\r\n",Referer);
>
> Good to know. Thanks for the update!
It had been so long since any changes were made
that I could not even recall what they were
because in our old age, our memory is the second thing to fail us
and I have completely forgotten what is the first. 
Soooo.... used 'diff' to find 'em all.
http://glennmcc.org/arachne/changelog.txt
INIT.C FTP.C & POPGET.C were last changed before the release of v1.97
VERSION.C & GLOBALS.C were just changed yesterday
simple to reflect the new version number of 1.99 --- --
http://glennmcc.org/ |
Laaca

Czech republic, 24.12.2021, 19:59
@ glennmcc
|
DOS Arachne v1.99 |
Nice! We all switched to ELinks but it is always good to have a choice. And yes, for certain purposes is Arachne better than Elinks (and it can be useful that Arachen works in real mode /not in the protected mode/) --- DOS-u-akbar! |
Oso2k
25.12.2021, 03:35
@ Laaca
|
DOS Arachne v1.99 |
> Nice! We all switched to ELinks but it is always good to have a choice. And
> yes, for certain purposes is Arachne better than Elinks (and it can be
> useful that Arachen works in real mode /not in the protected mode/)
One thing that I wish that Links2 did was the DGI bit. That would make it so nice for many, many use cases. |
Laaca

Czech republic, 25.12.2021, 22:19
@ Oso2k
|
DOS Arachne v1.99 |
> One thing that I wish that Links2 did was the DGI bit. That would make it
> so nice for many, many use cases.
What is it: "DGI bit"? --- DOS-u-akbar! |
Oso2k
26.12.2021, 01:35
@ Laaca
|
DOS Arachne v1.99 |
> > One thing that I wish that Links2 did was the DGI bit. That would make
> it
> > so nice for many, many use cases.
>
> What is it: "DGI bit"?
DOS Gateway Interface. A sort of way to execute local code like CGI on a local web server.
https://en.wikipedia.org/wiki/Arachne_(web_browser)#Background
Part of Arachne’s setup system uses it. |
glennmcc

North Jackson, Ohio (USA), 26.12.2021, 06:01 (edited by glennmcc, 26.12.2021, 06:22)
@ Laaca
|
DOS Arachne v1.99 |
> > One thing that I wish that Links2 did was the DGI bit. That would make
> it
> > so nice for many, many use cases.
>
> What is it: "DGI bit"?
DGI is basically a DOS batch file written all on one line which we add into MIME.CFG
Over the years, I added a whole bunch of them.
;--------------------------------------------------------------------------
;Arachne understands four basic file types: HTM, GIF, BMP, TXT, CSS and ASF.
;Only GIF and BMP can be inlined using <IMG> tag. If the file has different
;extension than one those and if in the following conversion table no
;corresponding action is defined, Arachne offers moving of downloaded file
;from CACHE directory (or of local file) to DOWNLOAD directory.
;ASF files are treated as script files (simply lists of URLs).
;
;For conversion to supported format is used macro "ext1>ext2|command",
;for calling external viewer macro "extension|command". See syntax rules
;(at the end of this file.)
;--------------------------------------------------------------------------
;---------------------------------------------------------------------------
;Syntax of MIME.CFG (please don't beat me, I'll never do it again !! 
;--------------------------------------------------------------------------
;* If command starts '@', it will be executed in text mode and with maximum
; memory.
;* If command starts with [nn] string, it will be executed without
; temporary leaving of Arachne if there is [nn] kB available for program.
;* In command arguments you can use following macros. Instead of $1, $2, etc.
; like in Unix scripts you can use %1, %2 like in DOS batch files.
; $1 ... full input filename
; $2 ... full output filename
; $a ... patch to cache ("Archive") (typicaly CACHE\)
; $b ... full name of Bookmarks (typicaly HOTLIST.HTM)
; $c ... full name of Cache index (typicaly CACHE.IDX)
; $d ... Document name (ftp://ftp.provider.com/pub/ -> /pub/)
; $e ... path to Executable files (CORE.EXE, insight.exe, etc.)
; $f ... file browser arguments (icons or file list)
; $g ... ip address of 1st Gateway (according to ARACHNE.CFG)
; $h ... full name of History file (typicaly HISTORY.LST)
; $i ... your Ip address
; $j ... DJPEG arguments - ARACHNE.CFG variable DJPEGargs + color depth, etc.
; $l ... Last visited document (filename)
; $m ... path to Mail directory (typicaly MAIL\)
; $n ... ip address of 1st Nameserver (according to ARACHNE.CFG)
; $p ... host ("Pocitac") (telnet://cyberspace.org -> cyberspace.org)
; $q ... filename of Query string (file created only when using this macro)
; $r ... horizontal Resolution of the screen (value is 640, 800 or 1024)
; $s ... cgi compatible query String (max. 80 characters)
; $t ... path for Temporary files (either CACHE\ or %TEMP% - see Cache2TEMP)
; $u ... Url of document
; $w ... doWnload path (typicaly DOWNLOAD\)
; $x ... netmask (according to ARACHNE.CFG)
; \n ... end of line (note: this won't work for "|[nn]xx" style commands!)
; %% ... % character
; $$ ... $ character
_________________________________________________________________________________________________-
[glennmcc stuff]
file/manpage.dgi |@man.exe $s | less.exe
file/lynx.dgi |@call $edoslynx.bat $s
file/savefile.dgi >txt|if exist $s goto ne\ncopy /b $l $S>$2\ngoto end\n:ne\necho "file exists">$2\necho "try a new name">>$2\n:end
file/dir.dgi >htm|dir $klastdir \|$esystem\\dgi\\fixmem.com dir>$2
file/font8x14.dgi >HTM|copy /b $esystem\\8x14\\$kfont8x14 $esystem\\8x14.fnt \ncopy /b $ealt-font.htm $2
file/propfont.dgi >HTM|copy /b $esystem\\$kpropfont $esystem\\*.fnt \ncore.exe -f \ncopy /b $ealt-font.htm $2
file/saveaszbm.dgi |zip -9 -j $s $l\n ren $s *.zbm
file/bmp2zbm.dgi >TXT|zip -m -j $s _4prt.bmp|del _4prt.bmp \n if exist $s echo file has been converted to $s>$2
file/export.dgi >TXT|copy /b _4prt.txt $s>NUL |del _4prt.txt \n if exist $s echo file has been saved to $s>$2
file/exportps.dgi >TXT|copy /b _4prt.ps $s>NUL |del _4prt.ps \n if exist $s echo file has been saved to $s>$2
file/exportbmp.dgi >TXT|copy /b _4prt.bmp $s>NUL |del _4prt.bmp \n if exist $s echo file has been saved to $s>$2
file/bmp2jpg.dgi >TXT|cjpeg -q 95 _4prt.bmp|copy _4prt.jpg $s|del _4prt.bmp|del _4prt.jpg \n if exist $s echo file has been converted to $s>$2
file/printprn.dgi |[100]TYPE _*.txt>PRN\ntype formfeed>prn
file/printbmp.dgi |[100]g:\\graphics\\printgfd\\printgfd.exe _4prt.bmp /x
file/printjpg.dgi |[100]g:\\graphics\\printgfd\\printgfd.exe _4prt.jpg /x
file/mxedit.dgi |@call xedit.bat textarea.tmp
file/txedit.dgi |@call xedit.bat $l
file/qxedit.dgi |@call xedit.bat quickpad.txt
file/exportbmp.dgi |[100]COPY /b _4prt.bmp $w$s>NUL \n del _4prt.bmp
file/edithelp.dgi >htm|copy textarea.tmp mail.tmp|copy edithelp.htm $2
file/dgst2cnm.dgi |@call d2c.bat $e_4prt.txt $s
file/xtgold.dgi |@c:\\xtgold25\\xtgold.com
[end of glennmcc stuff]
Entering file://xtgold.dgi on the URL line branches-out of Arachne and runs xtgold.com
When xtgold.com is exited, we are returned back into Arachne at the same point where we left.
The more complex ones such as bmp2jpg.dgi execute each section separated by \n as-if they were separate lines in a batch file. --- --
http://glennmcc.org/ |
glennmcc

North Jackson, Ohio (USA), 28.12.2021, 18:11
@ glennmcc
|
DOS Arachne v1.99 |
To: any and all C/C++ programmers out there...
This is a request to take-up further development of DOS Arachne.
What is most needed is to compile DOS Arachne as 32bit
and to give it HTTPS capability via WATT32 & OpenSSL
The source code may be downloaded from http://glennmcc.org/ --- --
http://glennmcc.org/ |
Oso2k
28.12.2021, 19:27
@ glennmcc
|
DOS Arachne v1.99 |
> To: any and all C/C++ programmers out there...
>
> This is a request to take-up further development of DOS Arachne.
>
> What is most needed is to compile DOS Arachne as 32bit
> and to give it HTTPS capability via WATT32 & OpenSSL
>
> The source code may be downloaded from http://glennmcc.org/
Do you have notes on how to compile Arachne with a 16-bit compiler? Links2, while not well documented IMO, was fairly UNIX-y “configure && make && make install” on Linux. I haven’t been able to figure out all the packages needed for DJGPP but I was hoping to make some time to make a cross compilation attempt this winter break. |
glennmcc

North Jackson, Ohio (USA), 28.12.2021, 20:46
@ Oso2k
|
DOS Arachne v1.99 |
> > To: any and all C/C++ programmers out there...
> >
> > This is a request to take-up further development of DOS Arachne.
> >
> > What is most needed is to compile DOS Arachne as 32bit
> > and to give it HTTPS capability via WATT32 & OpenSSL
> >
> > The source code may be downloaded from http://glennmcc.org/
>
> Do you have notes on how to compile Arachne with a 16-bit compiler?
> Links2, while not well documented IMO, was fairly UNIX-y “configure &&
> make && make install” on Linux. I haven’t been able to figure out all
> the packages needed for DJGPP but I was hoping to make some time to make a
> cross compilation attempt this winter break.
The .PRJ project files for use with DOS Borland C/C++ v3.1
are included in the SRC ZIP file.
It's easy-peasy... load the PRJ file in the Borland IDE and choose to build all. --- --
http://glennmcc.org/ |
RayeR

CZ, 30.12.2021, 04:38
@ glennmcc
|
DOS Arachne v1.99 |
> This is a request to take-up further development of DOS Arachne.
>
> What is most needed is to compile DOS Arachne as 32bit
> and to give it HTTPS capability via WATT32 & OpenSSL
Does it worth to do so? I think graphics links works quite well so I think better to focus effort on it. Many years ago I have done some hi-res VESA patch to Arachne (but didn't use it then) and if I remember there was not issues with compiling. But the code probably would use lot of BC specific things so it wouldn't be trivial to port it to DJGPP. --- DOS gives me freedom to unlimited HW access. |
glennmcc

North Jackson, Ohio (USA), 30.12.2021, 18:55
@ RayeR
|
DOS Arachne v1.99 |
> > This is a request to take-up further development of DOS Arachne.
> >
> > What is most needed is to compile DOS Arachne as 32bit
> > and to give it HTTPS capability via WATT32 & OpenSSL
>
> Does it worth to do so? I think graphics links works quite well so I think
> better to focus effort on it. Many years ago I have done some hi-res VESA
> patch to Arachne (but didn't use it then) and if I remember there was not
> issues with compiling. But the code probably would use lot of BC specific
> things so it wouldn't be trivial to port it to DJGPP.
And thank you very much for it...
your code is indeed in all releases since then
giving Arachne video capability of 1280x1024 & 1600x1200.
This text file is included in the Arachne source code ZIP.
---- RAYER.TXT ----
Changes to version 1.95a by RayeR, 13.2.2011
============================================
I added support for following VESA 1.1 videomodes:
1280x1024/15bpp, 1280x1024/16bpp
1600x1200/15bpp, 1600x1200/16bpp
Because the 1600x1200 videomode numbers are not standartized in VESA VBE
and depends on VGA BIOS writers (may differ on nVidia/ATI/Intel/etc...)
it's possible to override default videomode numbers by setting environment
variables. Default values are suited for nVidia cards (tested on 7900GT)
set VM1600HI15=0x11D
set VM1600HI16=0x146
You can use my VESATEST.EXE utility to get VESA mode list.
My testing Real DOS Machine:
============================
CPU: Intel Core 2 Duo E8400 (@3,5GHz)
VGA: nVidia GeForce 7900GT/256M/PCI-E
NET: Realtek 8111/8168 gigabyte ethernet, ODI driver 1.34, ODIPKT 3.1 wrapper
OS: MS-DOS 6.22, JemmEx 5.73 (2 GB XMS), UIDE.SYS 25.7.2010, CuteMouse 2.1b4
Quick step by step guide how to compile Arachne from sources
============================================================
1) Prepare your compilers. I used Borland C++ 3.1 and TurboAssembler 4.1 for DOS
and have set path to BC31\BIN to access needed utils.
Warning: Older version of TurboAssembler crashes when compiling LOPIF library!
2) Start BC and load LOPIF\VV.PRJ project in IDE (Project/Open project...)
3) Check your compiler paths (Options/Directories...)
4) Compile LOPIF (Compile/Build all), it will show 42 warnings, ignore it
5) Go to DOS console (File/DOS shell)
6) Run HIXLOV.BAT, this will build the HIXLOV.LIB and copy it to Arachne sources
7) Type exit to go back to BC IDE
8) Close LOPIF project (Project/Close project)
9) Load CORE-386.PRJ project in IDE (Project/Open project...)
10) Check your compiler paths (Options/Directories...)
11) Compile Arachne (Compile/Build all), it will show 0 warnings
12) Copy your new CORE-386.EXE as CORE.EXE into your Arachne directory
______________________________________________________________________________ --- --
http://glennmcc.org/ |
RayeR

CZ, 31.12.2021, 02:59
@ glennmcc
|
DOS Arachne v1.99 |
> And thank you very much for it...
Uh, 10 years ago, I almost forget. You're welcome :) --- DOS gives me freedom to unlimited HW access. |
SuperIlu

Berlin, Germany, 05.01.2022, 11:24
@ glennmcc
|
DOS Arachne v1.99 |
Hi Glenn,
although I don't want to take over Arachne, I might be able to provide working/compiling DJGPP source for Watt32, OpenSSL and cURL. I use these libraries in my project DOjS and TLS/SSL works there.
> To: any and all C/C++ programmers out there...
>
> This is a request to take-up further development of DOS Arachne.
>
> What is most needed is to compile DOS Arachne as 32bit
> and to give it HTTPS capability via WATT32 & OpenSSL
>
> The source code may be downloaded from http://glennmcc.org/ --- Javascript on MS-DOS? Try DOjS https://github.com/SuperIlu/DOjS
Fediverse: @dec_hl@mastodon.social |
glennmcc

North Jackson, Ohio (USA), 05.01.2022, 18:19
@ SuperIlu
|
DOS Arachne v1.99 |
> Hi Glenn,
>
> although I don't want to take over Arachne, I might be able to provide
> working/compiling DJGPP source for Watt32, OpenSSL and cURL. I use these
> libraries in my project DOjS and TLS/SSL works there.
>
> > To: any and all C/C++ programmers out there...
> >
> > This is a request to take-up further development of DOS Arachne.
> >
> > What is most needed is to compile DOS Arachne as 32bit
> > and to give it HTTPS capability via WATT32 & OpenSSL
> >
> > The source code may be downloaded from http://glennmcc.org/
Thank you very much.
Would you be able to upload them somewhere and provide us with a download link ? --- --
http://glennmcc.org/ |
SuperIlu

Berlin, Germany, 05.01.2022, 21:54
@ glennmcc
|
DOS Arachne v1.99 |
GitHub link is in my message signature.
Also: the upcoming V1.8.0 release will contain the current versions of cURL and OpenSSL.
> Thank you very much.
>
> Would you be able to upload them somewhere and provide us with a download
> link ? --- Javascript on MS-DOS? Try DOjS https://github.com/SuperIlu/DOjS
Fediverse: @dec_hl@mastodon.social |
glennmcc

North Jackson, Ohio (USA), 05.01.2022, 22:00
@ SuperIlu
|
DOS Arachne v1.99 |
> GitHub link is in my message signature.
> Also: the upcoming V1.8.0 release will contain the current versions of cURL
> and OpenSSL.
>
> > Thank you very much.
> >
> > Would you be able to upload them somewhere and provide us with a
> download
> > link ?
Thanks again... cloning it right now via...
root@glennmcc-i7:~/# git clone https://github.com/SuperIlu/DOjS.git --- --
http://glennmcc.org/ |
SuperIlu

Berlin, Germany, 05.01.2022, 22:22
@ glennmcc
|
DOS Arachne v1.99 |
Feel free to nudge me if any questions arise...
> Thanks again... cloning it right now via...
>
> root@glennmcc-i7:~/# git clone https://github.com/SuperIlu/DOjS.git --- Javascript on MS-DOS? Try DOjS https://github.com/SuperIlu/DOjS
Fediverse: @dec_hl@mastodon.social |
glennmcc

North Jackson, Ohio (USA), 27.03.2022, 19:57
@ glennmcc
|
DOS Arachne v1.99 |
> After almost 9yrs since v1.97
>
> Available today... DOS Arachne v1.99
>
> http://glennmcc.org/
The ZIP files have been re-done to remove some extraneous items
from the source code ZIP and to include that ZIP within the ZIP
with the self-extracting package installer. --- --
http://glennmcc.org/ |