A complex WWW/LX setup example

last updated: Wednesday, 26-Nov-2008 01:51:36 CET


Contents of this page:

Related pages:


Introduction:

WWW/LX is a software package made and sold by D&A Software which allows Internet access with the DOS-based Hewlett Packard palmtops 100LX, 200LX, 1000CX and Omnigo 700LX.
You can download a trial version of WWW/LX at ftp://ftp.dasoft.com/pub/WWW. The file is named "www3.zip".

It contains a TCP/IP stack with built-in IrDA and Ethernet support (in addition to the usual PPP and SLIP protocols which are needed for modem connections or direct serial connections to other computers) and the package contains several clients for almost every kind of purpose. An email client, a news reader client, ftp, telnet, finger and HV, a limited but useful WWW browser and get, which lets you get web pages automatically. Another very useful addition has been developed by Tony Hutchins using ROBOT/LX, an Internet robot program: ROBOWEB/LX. It combines get and ROBOT/LX so that you can get Internet pages or even whole sites onto your palmtop for offline reading. See this link for details.

It is relatively easy to set up WWW/LX and Post/LX for basic purposes. However, there are so much amazing sophisticated possibilities, which are not covered by the setup programs which come with WWW/LX and must be created manually.

Here are examples which should give you some ideas of what is really possible with WWW/LX. I have never seen another Internet software package which is so powerful and rich of features as WWW/LX. And in addition it is extremely user-customizable. See below. ;-) I won´t give you details here of how basic setups work, because you can read that in the WWW/LX documentation. I assume you are familiar with the basics already.

Basics of my setup:

I use almost every possible kind of connection, so you will find examples here which are useful, regardless which kind of connection you want to use: Take this as a "snapshot" of my current WWW/LX configuration and have fun with it!

My main application, which acts as the "central", is Post/LX. WWW/LX is loaded resident and activated everytime I press F5 in Post/LX to establish a connection. If you don´t use email that much, but more often use ftp or HV, it may be better for you to start www.exe manually giving the setup to use as a parameter. It will then connect instantly and return to the DOS prompt, so you can do whatever you want once the connection is established. If that is the way you want to use WWW/LX, most parts of my setup are not useful for you.

In general, my www.cfg only contains five basic setups, independent from the ISP to use. So my www.cfg is kept small and thus doesn´t need so much memory. www.cfg is always loaded entirely into RAM, so it really makes a difference if you have for example 10 setups (one for each modem / ISP combination using two modems and 5 ISPs) or only two setups for the two modems and do the ISP choice externally using the little utility wwwset.

You could even work with just ONE "general" www setup and modify all relevant parameters externally. However, I have not choosen that way because I want still to be able to use www.exe as a stand-alone program without having to use the external wwwset utility.

My WWW/LX setup:

My five basic www.cfg setups are [Modem1], [Modem2], [IrDA], [Ether] and [PPPD].
I also have TERM-IR and TERM-K, which are explained below.

My Post/LX setup:

Post/LX is set up in a way that I only need to press F5, then it launches a batch file "setcom.bat" via the post.cfg parameter "PreOnline". Setcom.bat determines the connected hardware and decides, which www setup to use. If it finds out that I want to connect via modem, it lets me choose an ISP. Otherwise it changes the active www setup instantly to the appropriate one from the five setups mentioned above. In addition I let setcom ask me (only for the setups where it is useful), if I want to let WWW/LX disconnect after the online run of Post/LX, i.e. directly after mail sending / receiving. If I want to surf the web with HV after transmitting mail for example, I choose to keep the connection. In other cases, for example when I will have an expensive connection via mobile phone, and I´m sure I don´t want to do anything else than sending the email I just wrote, I can choose "yes, disconnect!" and the connection is terminated as fast as possible automatically after the Post/LX online run. This is done via the post.cfg "PostOnline" parameter which invokes a batch file after every online run.

I also use Post/LX for SMS sending and receiving via IrDA and my mobile phone. For this purpose, I have created a keyboard macro in post.cfg, which lets me send and receive all SMS just by placing the mobile phone near the palmtop´s IR port and fressing F8 in Post/LX. Note that if you are used to use F8 for pther purposes (for example for marking messages during you read them), you should NOT use that macro. I do never use F8 with the functionality Post/LX gives to it, and in the main screen of Post/LX F8 doesn´t have any functionality anyway. So I could choose F8 as my SMS macro activating key.

For more info on how to setup PDU for SMS processing please download PDU from Stefan Peichl´s homepage and read the documentation.

Here are some screenshots of my Post/LX main screen:

The main screen with some folders and mailboxes (SMS box on top so that the F8 macro works, see post.cfg below!):

Here I pressed Shift-F5: Only the one "Default" WWW/LX setup is shown. No need anymore to choose anything here!

This shows some of my "Externals" entries (Menu-X-X). Hotkey "S" chooses "SMS" (so that the F8 SMS macro works, see post.cfg below!)

My cfg config files:

Okay, enough words, I will now show you my cfg and batch files and add comments everywhere I think it´ necessary. Again: Please read the WWW/LX documentation carefully in order to understand everything. I won´t answer questions covered there.

Click here to see my www.cfg file (don´t use the file as is, because it contains html tags! Load it into your browser by clicking on the link and then mark, copy and paste! Passwords are replaced by dummy strings.)

Click here to see my post.cfg file (don´t use the file as is, because it contains html tags! Load it into your browser by clicking on the link and then mark, copy and paste! Passwords are replaced by dummy strings, most folder and mailbox data is removed because it is not relevant here)

My batch and other involved files:

Now follow the batch files and a robot script (thanks to Tony Hutchins who provided this script!) which enable the magic of my setup ;-)

First I provide the setcom.bat file which is invoked directly after pressing F5 in Post/LX (by the PreOnline parameter in the cfg).
Then follows the batch file choosisp.bat, which is invoked from within setcom.bat and which is responsible for the appropriate Dial and login paramteres, depending on the ISP which shallbe used. choosisp.bat is only invoked if setcom.bat recognizes a modem, either on COM1 or in the PCMCIA slot.
After that you will see postonl.bat, which handles the disconnecting after the online run (invoked by the PostOnline parameter in the cfg.
Thereafter at.scr (a robot script) is shown which setcom needs in order to distinguish if the device connected to IrDA or the serial port is a modem or another computer.

And finally, I will show you my postlx.bat, which I use after booting the palmtop to invoke Post/LX with WWW/LX loaded resident.

For all this you need the following programs:

Download links for these utilities (as far as they are not part of the WWW/LX package) are provided directly within the batch files below (where the utilities are used), simply click on the links and download the utilities.

Click here to see my setcom.bat file (don´t use the file as is, because it contains html tags! Load it into your browser by clicking on the link and then mark, copy and paste!)

Click here to see my choosisp.bat file (don´t use the file as is, because it contains html tags! Load it into your browser by clicking on the link and then mark, copy and paste!)

Click here to see my postonl.bat file (don´t use the file as is, because it contains html tags! Load it into your browser by clicking on the link and then mark, copy and paste!)

Click here to see my at.scr file, created by Tony Hutchins (don´t use the file as is, because it contains html tags! Load it into your browser by clicking on the link and then mark, copy and paste!)

This is the line of setcom.bat which invokes Robot/LX with at.scr:

ROBOT.EXE -q AT.SCR >NUL
It appears twice in setcom.bat. Once in the section for a device on COM1 and once for the IrDA section.

And here is my postlx.bat, which I use to start Post/LX with WWW/LX loaded resident:

@echo off
maxdos -l -e
C:\DFU\WWWLX\WWW.EXE -d !C:\DFU\WWWLX\POST.EXE
maxdos -r


HOME | Contact | About | www.hermocom.com

Copyright © 2000-2008 Daniel Hertrich. All rights reserved.

Hosting and maintaining this website costs time and money. So if you could find anything useful for you on my website, and if you would like to support further development of this web site, please consider making a donation using Paypal: