Access: gain access to the browser screen.

While running tests with compiled CGI executables, I couldn't get text in the browser screen in a reliable way. So I had to revert to:

and the result is what you see below (and can rertrieve from the download section). This program is plain simple, but it is also very important. It shows that if you need to output n lines to the screen, you need to send n+2 lines!

Access: the source.

MODULE access;

FROM  InOut   IMPORT  WriteString, WriteLn;

   WriteString ("Content-Type:text/html");
   WriteString ("<html><head></head><body><p>");
   WriteString ("Hi there, this is my text.");
   WriteString ("</p></body></html>");
END access.

If you want to see what it does, just run this file

But the chances of success are minimal since many webhosts have deactivated their CGI functionality due to safety considerations (due to stupid coders writing in perl and python). Therefore the best option is to install the access program to your local cgi-bin and then run it local

Download the access files

Download the full access source plus precomiled 32 bit ELF access.tgz.

Access: how it's invoked.

Just enter in your URL bar the following URL:

I did some tests with the invoking mechanism. This is a very picky mechanism. It needs to know several things. This example is based on a CGI executable that resides on a remote webserver. Combine this all and you get the full URL for the CGI program: https://hydrogen/cgi-bin/access. This is the address you can use within your LAN as long as hydrogen is running and the alias is known in '/etc/hosts'.
Another method would be to use as the fully qualified URL. '' is short for 'This machine'. Or, shorter still: '/cgi-bin/access' would to the trick as well...

Page created at September 4, 2004.