Author Topic: The MicroWeb DOS web browser  (Read 2903 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3557
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
The MicroWeb DOS web browser
« on: January 04, 2022, 10:16:07 pm »
Hi.

Today I read about this text web browser for DOS.
- https://github.com/jhhoward/MicroWeb/releases/download/v0.51/MICROWEB.EXE

It works on DOS full screen on my ArcaOS 5.0.7 VM, but I have no network under DOS.

Can someone please give me some tip or pointer on how to set the network on VDM DOS?

Regards

 
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3555
  • Karma: +75/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #1 on: January 04, 2022, 11:00:47 pm »
Hi Martin, not sure if you can enable networking in a DOS session. The place to start is x:\TCPIP\dos\bin but might only be for WinOS2.
You could always try installing whatever network stack goes with the MicroWeb browser and hope it doesn't use long file names.

Ibrahim Hakeem

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +5/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #2 on: January 05, 2022, 12:02:15 am »
Hi Dave, I'm sure I must be missing something here... but I thought networking works in DOS sessions out of the box, since you're able to ping from one.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3555
  • Karma: +75/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #3 on: January 05, 2022, 12:56:24 am »
Hi Dave, I'm sure I must be missing something here... but I thought networking works in DOS sessions out of the box, since you're able to ping from one.

So you can, never tried before. Still trying the microweb browser, it complains about no network interface available so something is missing.

Roderick Klein

  • Sr. Member
  • ****
  • Posts: 481
  • Karma: +12/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #4 on: January 05, 2022, 01:16:12 am »
Hi.

Today I read about this text web browser for DOS.
- https://github.com/jhhoward/MicroWeb/releases/download/v0.51/MICROWEB.EXE

It works on DOS full screen on my ArcaOS 5.0.7 VM, but I have no network under DOS.

Can someone please give me some tip or pointer on how to set the network on VDM DOS?

Regards

As Ibrahim already explained TCP/IP support is working in the DOS VDM.
I think the issue is that the web browser is expecting a different interface then can be found in the DOS VDM.

https://github.com/jhhoward/MicroWeb

Network setup
MicroWeb uses Michael Brutman's mTCP networking library for the network stack. You will need a DOS packet driver relevant to your network interface. You can read more about configuring DOS networking here.

I do not know how you can get the Brutman mTCP interface to work. https://www.brutman.com/mTCP/
Very quickly reading I think its expects an Ethernet driver under DOS to talk to. But I only read this extremely quickly this link.

Roderick

Olafur Gunnlaugsson

  • Full Member
  • ***
  • Posts: 224
  • Karma: +4/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #5 on: January 05, 2022, 02:27:38 am »
VDOSTCP.SYS emulates a Windows TCP/IP stack interface, MicroWeb uses a DOS TCP/IP stack (mTCP) that relies on DOS packet drivers, which are different to the Windows packet drivers, they are a bit more like early Unix an Linux packet drivers. It might be possible to configure the program to use the native stack .

It is possible to run DOS packet drivers in a DOS session if you disable the DOS/2 networking, but not recommended, FTP Software (the company) also sold a TCP/IP stack for OS/2 that had a VDD that allowed DOS sessions to use DOS packets via emulation, but alas that is impossible to get hold of these days. The Essex Systems stack also had some VDD trickery, but I cannot remember it it supported the FTPS packets specification.

You can also try the Archane browser, it used to work with Windows sockets/packets in an OS/2 DOS window, it saw some updates in the last two years.
http://www.glennmcc.org/arachne/

Dave Yeo

  • Hero Member
  • *****
  • Posts: 3555
  • Karma: +75/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #6 on: January 05, 2022, 06:07:54 am »
Also found a port of Dillo at https://sourceforge.net/projects/fltk-dos/files/Applications/Binary%20versions%20of%20FLTK%20applications/DILLODOS-302b.zip supports graphics and HTTPS but once again fails due to no packet driver found.

Sean Casey

  • Full Member
  • ***
  • Posts: 101
  • Karma: +2/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #7 on: January 05, 2022, 04:44:02 pm »
It is possible to run DOS packet drivers in a DOS session if you disable the DOS/2 networking, but not recommended, FTP Software (the company) also sold a TCP/IP stack for OS/2 that had a VDD that allowed DOS sessions to use DOS packets via emulation, but alas that is impossible to get hold of these days. The Essex Systems stack also had some VDD trickery, but I cannot remember it it supported the FTPS packets specification.

Is it true these older OS/2 TCP/IP and NetBIOS over TCP implementations used proprietary APIs which limited their use to only the network applications/services that were distributed with these packages? 

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3557
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: The MicroWeb DOS web browser
« Reply #8 on: January 05, 2022, 07:06:14 pm »
Thanks for feedback.

So, MicroWeb DOS web browser can not connect to the internet because it uses "mTCP" and those does not works on our VDM DOS sessions, and it seems there is not as easy as change a VDM DOS settings to make it work.

I will try to contact the mTCP author to see if he has some time to try OS/2 on some VM and see if he wants to support DOS VDM too.

Thanks.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3557
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: The MicroWeb DOS web browser
« Reply #9 on: January 06, 2022, 02:01:23 am »
Hi

I got this reply from Mike, the mTCP author.

Quote
I wrote mTCP to bring networking to my old computers.  Think about machines like the original IBM PC (1981), the PCjr (1983) and the PC AT.  mTCP works fine in an emulated machine, and possible even in a virtual DOS machine.  But it needs a packet driver which has direct and exclusive access to a network card.  And it provides its own TCP/IP implementation.

If you want to use the networking available in a DOS VDM the programs need to be rewritten to use those networking APIs directly.  I don't think that is a huge problem, but some quick Googling did not give me any information on what that network API even looks like.  Do you have any links on what the network API for DOS VDMs looks like?

Do you know by chance the API that the DOS VDM uses for networking?

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Roderick Klein

  • Sr. Member
  • ****
  • Posts: 481
  • Karma: +12/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #10 on: January 06, 2022, 11:27:31 pm »
Hi

I got this reply from Mike, the mTCP author.

Quote
I wrote mTCP to bring networking to my old computers.  Think about machines like the original IBM PC (1981), the PCjr (1983) and the PC AT.  mTCP works fine in an emulated machine, and possible even in a virtual DOS machine.  But it needs a packet driver which has direct and exclusive access to a network card.  And it provides its own TCP/IP implementation.

If you want to use the networking available in a DOS VDM the programs need to be rewritten to use those networking APIs directly.  I don't think that is a huge problem, but some quick Googling did not give me any information on what that network API even looks like.  Do you have any links on what the network API for DOS VDMs looks like?

Do you know by chance the API that the DOS VDM uses for networking?

Regards

Hmmm I do not know if this is even documented somewhere with some examples how to write code to acess this interface.
VDOSTCP.SYS is most likely the driver providing this interface...

https://www.betaarchive.com/forum/viewtopic.php?t=32026
Mentions:
IBM TCP/IP for DOS 2.1.1 Programmer's Toolkit

The very few times I used the WIN/OS2 TCP/IP stack it crashed my system most cases. So I am not 100% certain how stable it this VDM TCP/IP support.


Roderick

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3557
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: The MicroWeb DOS web browser
« Reply #11 on: January 07, 2022, 03:33:20 pm »
Hi

So, I need to  find the documentation inside the  "IBM TCP/IP for DOS 2.1.1 Programmer's Toolkit".

On the "IBM TCP/IP VERSION 2.0 FOR OS/2" announcement there are some references to something called "DOS/Windows Access Kit"

Quote
DOS/WINDOWS ACCESS KIT:  This facility allows DOS applications written to the IBM TCP/IP for DOS Version 2.1 programming interfaces, and Windows applications written to the Windows Sockets API Version 1.0 or Version 1.1 specifications to run in an OS/2 environment on top of IBM TCP/IP Version 2.0 for OS/2.  This product requires the customer to have the OS/2 Version 2.1 operating system installed.

I'm still trying to find something on a package of TCP/IP 2.0 for OS/2, but I still haven't find that documentation.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3557
  • Karma: +34/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: The MicroWeb DOS web browser
« Reply #12 on: January 07, 2022, 04:17:44 pm »
Hi

Checking also this book: "gg243531 TCPIP 2.0 for OS/2 Installation and Interoperability", chapter 13.

I found these pages (attached), but still no API documentation.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Olafur Gunnlaugsson

  • Full Member
  • ***
  • Posts: 224
  • Karma: +4/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #13 on: January 08, 2022, 03:46:34 pm »
Hi

So, I need to  find the documentation inside the  "IBM TCP/IP for DOS 2.1.1 Programmer's Toolkit".

On the "IBM TCP/IP VERSION 2.0 FOR OS/2" announcement there are some references to something called "DOS/Windows Access Kit"

Quote
DOS/WINDOWS ACCESS KIT:  This facility allows DOS applications written to the IBM TCP/IP for DOS Version 2.1 programming interfaces, and Windows applications written to the Windows Sockets API Version 1.0 or Version 1.1 specifications to run in an OS/2 environment on top of IBM TCP/IP Version 2.0 for OS/2.  This product requires the customer to have the OS/2 Version 2.1 operating system installed.

I'm still trying to find something on a package of TCP/IP 2.0 for OS/2, but I still haven't find that documentation.

Regards

The OS/2-DOS TCP/IP interface is basically WINSOCK

Olafur Gunnlaugsson

  • Full Member
  • ***
  • Posts: 224
  • Karma: +4/-0
    • View Profile
Re: The MicroWeb DOS web browser
« Reply #14 on: January 08, 2022, 03:53:20 pm »
It is possible to run DOS packet drivers in a DOS session if you disable the DOS/2 networking, but not recommended, FTP Software (the company) also sold a TCP/IP stack for OS/2 that had a VDD that allowed DOS sessions to use DOS packets via emulation, but alas that is impossible to get hold of these days. The Essex Systems stack also had some VDD trickery, but I cannot remember it it supported the FTPS packets specification.

Is it true these older OS/2 TCP/IP and NetBIOS over TCP implementations used proprietary APIs which limited their use to only the network applications/services that were distributed with these packages?

The stacks were mostly compatible when using the same protocols, the low level or packet interfaces on OS/2 1.x varied from provider to provider however, for OS/2 2x this matterred less since NDIS was provided as standard and most stacks just layered on top of that (NDIS was available for 1.x, but not supplied as standard, except possibly with 1.3).