This program does nothing else but get you a webpage an prints it to stdout. I first called it webget, but email@example.com wrote a perl-program with the same name and more functionality. So I Added an S for Slim.
It was created as part of a shell-script that downloads some daily comics of the net, but that's long gone now. I first used webcopy, but this one caused in my opinion too much load for getting just one page, so I downloaded myself a template for a tcp connection (I think it was called gnu-finger 1.37 ;-) and modified it (mainly stripped it down) to fit my needs. Later a bug was fixed (it was first running only under solaris, because of getservbynumber), two features were added (size check and additional header lines).
And now it's open to the public, in case anyone might have a use for it.
SWebget is a simple program that prints a webpage to stdout. It was meant to be ultra lightweight, so don't look for any (unnecessary) features here.
The syntax is: SWebget <request-string> <host> (port) (additional header lines)
|request-string:||is the page to be gotten on the server (NOT the url, at least not in a direct connection)|
|host:||the web host from where to get the page from|
|port:||guess (default: 80)|
|additional header lines:||for http-experts ;-) ... explaned later.|
I don't know. [ Well, I didn't know back then in 1998. Now I'm wiser ;-) ] I just "borrowed" the code from the gnu finger an adopted it to my needs. Later one bug was fixed looking at the source of lynx. Somehow it does work. Why should I know? It's not part of my plan for world domination. This will be services manager, coming soon.
This program has intentionally no version number, since I hope there will be no other release needed.
If you wanna drop me a line what kind of bullshit this peace of code is, feel free: firstname.lastname@example.org.