Re: SlipKnot-like Browser for QL - Mimir
Posted: Tue Aug 19, 2025 10:12 am
This one works a bit better. It's pretty accurate but has one flaw, which is that once a page is loading, there is no simple way to stop it. So if you ESCape, or reach the limits, the page displays, but the modem seems to stop sending. I'm not sure if that's an issue with the communication between the serial port and QemuLator, or the USB-to-Serial, or the Simulant modem, but it causes issues.
So if you load a long page and escape, the next time you try and load a new page, it shows the latter part of the old page. Get's really screwed up. Haven't yet tried it on real hardware but it would still be a problem, even if it keeps running on the server side, because the next time to put in a URL it would pick up the page in mid dump.
I do have a solution:
lynx -dump http://an_example_site > mimir.dump; ed mimir.dump
You skip the next line which tells you the size of the file (might use that to see how much to read). Then you enter "1" for the first line and "return" for each subsequent line. The ed editor will list one line at a time with no other stuff (it's better than more -1 as that gives a prompt). If I need to quit partway through a listing in ed I simply enter a "q" which stops things. So that might be a way to have more control of the page being sent over the serial port. Ideally a "ctrl-break" should stop a listing from a lunx dump, but I think the UNIX system has already thrown it out of its buffer so there is not way to stop it.
In any case the current version works pretty well for small contained pages. I was able to load "http://amayga.orgfree.com" and it loaded just fine. It also fixed a bug to handle things in [] that aren't links, plus if it gets confused it just stops using links altogether and just shows the page as plain text.
[Edit: I also added a feature where you can try and load the remaining screens of an aborted page...simply enter the following URL: http://+]
So if you load a long page and escape, the next time you try and load a new page, it shows the latter part of the old page. Get's really screwed up. Haven't yet tried it on real hardware but it would still be a problem, even if it keeps running on the server side, because the next time to put in a URL it would pick up the page in mid dump.
I do have a solution:
lynx -dump http://an_example_site > mimir.dump; ed mimir.dump
You skip the next line which tells you the size of the file (might use that to see how much to read). Then you enter "1" for the first line and "return" for each subsequent line. The ed editor will list one line at a time with no other stuff (it's better than more -1 as that gives a prompt). If I need to quit partway through a listing in ed I simply enter a "q" which stops things. So that might be a way to have more control of the page being sent over the serial port. Ideally a "ctrl-break" should stop a listing from a lunx dump, but I think the UNIX system has already thrown it out of its buffer so there is not way to stop it.
In any case the current version works pretty well for small contained pages. I was able to load "http://amayga.orgfree.com" and it loaded just fine. It also fixed a bug to handle things in [] that aren't links, plus if it gets confused it just stops using links altogether and just shows the page as plain text.
[Edit: I also added a feature where you can try and load the remaining screens of an aborted page...simply enter the following URL: http://+]