|
Post by Jeff Ledger on Jan 2, 2005 23:28:13 GMT -5
Thanks to Leif, (locating his original copy of the source code to CMLServ) I've re-released CML and made some serious changes. CML has now been changed to an embedded scripting language which can be place within existing .html code. (View source the bottom of the source code on www.orrville.net/cml ) It can also be placed by itself. www.orrville.net/cml/page2.htmlJeff
|
|
|
Post by 87C751 on Jan 3, 2005 1:22:08 GMT -5
BTW, Jeff, your usage of absolute positioning of divs on that page renders pretty ugly in Firefox and Konqueror, at least on my box. See www.rant-central.com/example_screen.jpg for a screen grab that illustrates the bottom cutoff problem. This happens on www.orrville.net/dtvhacking/ as well. The root problem is likely that my box uses different font metrics (and possibly different fonts altogether) than yours does. I've had similar problems with absolute positioning on pages I've designed and finally gave up on it altogether. As long as the divs flowed in the right stacking order, even a 3-column proportional layout was pretty easy. The only thing I couldn't do was present the div contents out of order (i.e. have the center column first, followed by the flanking columns).
|
|
|
Post by Jeff Ledger on Jan 3, 2005 8:04:53 GMT -5
Actually, I'm also using Firefox as my primary browser and by the looks of your screenshot, you are seeing it as intended. I quit handcoding my webpages and switched to a program called "webpage designer" which allows me a reasonable "wysiwyg" interface speeding up the process of design and updating. (and allowing me more time for other things) I've given up on trying to make my sites "fit the page" a long time ago, but I do make an attempt at getting them to fit a width of 800x600. (most of the time ) Jeff
|
|
|
Post by Jeff Ledger on Jan 3, 2005 8:12:50 GMT -5
Guess Is should have viewed the closeup before I spoke... Oops! (Still drinking morning coffee!!)
Try it now and see what you think.
Jeff
|
|
|
Post by Leif Bloomquist on Jan 3, 2005 9:32:38 GMT -5
OK, I just tested the new version, on a machine without VB6 installled.
Results:
Error: "mscomctl.ocx missing..." Fixed by downloading the ocx from the internet.
Error: "msinet.ocx missing..." Fixed by downloading the ocx from the internet.
Error: "SerialSet(): Invalid Port Number..." This PC only has a single COM Port, COM1. I tried adding a "1" to the command-line but it didn't change anything.
I worked around this by changing the port's name to COM2 in the Control Panel. This allowed the program to start.
However, when I enter a URL on the 64 side, nothing happens. No activity on the server side at all.
I also got the occasional "Unhandled Comm Event 1001" popup. Seemed to happen whenever I reset the 64.
|
|
|
Post by 87C751 on Jan 3, 2005 10:15:22 GMT -5
Guess Is should have viewed the closeup before I spoke... Oops! (Still drinking morning coffee!!) Try it now and see what you think. Looks much better. Just the bottommost text is cut off by the bottom bar graphic above the hit counter. I quit handcoding my webpages and switched to a program called "webpage designer" which allows me a reasonable "wysiwyg" interface speeding up the process of design and updating. (and allowing me more time for other things) That would explain the slightly bizarre CSS markup. You don't see z-index used much. Maybe you could do a s/overflow:hidden;//g on the HTML. That would at least prevent text from being completely obscured. (or maybe that's a tunable option in the generator) Anyway, thanks for tweaking it.
|
|
|
Post by Jeff Ledger on Jan 3, 2005 11:35:31 GMT -5
OK, I just tested the new version, on a machine without VB6 installled. Results: Error: "mscomctl.ocx missing..." Fixed by downloading the ocx from the internet. Error: "msinet.ocx missing..." Fixed by downloading the ocx from the internet. Error: "SerialSet(): Invalid Port Number..." This PC only has a single COM Port, COM1. I tried adding a "1" to the command-line but it didn't change anything. I worked around this by changing the port's name to COM2 in the Control Panel. This allowed the program to start. I also got the occasional "Unhandled Comm Event 1001" popup. Seemed to happen whenever I reset the 64. Leif, Thanks for spotting those missing DLL's!! The downloaded has been updated to include them, and the software has been switched to Serial 1 by default. Try it again please... I've seen the "Unhandled Comm Event 1001" but I haven't figured out exactly what is happening there. Perhaps an Error event that does a resume will work if I can pin it down. Jeff
|
|
|
Post by Jeff Ledger on Jan 3, 2005 11:36:45 GMT -5
Leif,
Are you using your IDE64 on the machine you are running CML? For some reason I've had to use the "KILL" command after loading it to get things working correctly.
Jeff
|
|
|
Post by Jeff Ledger on Jan 3, 2005 12:18:13 GMT -5
There appears to be a glitch the the "Setserial" routines.
The the moment, you will not be able to switch from port 1 correctly. I wil find this glitch and deal with it.
The program is coded for COM1 now.
Jeff
|
|
|
Post by Leif Bloomquist on Jan 3, 2005 13:16:44 GMT -5
Are you using your IDE64 on the machine you are running CML? For some reason I've had to use the "KILL" command after loading it to get things working correctly. Yes, I'm using my IDE64. Thanks, using KILL first worked! At first, I got an error message on the PC, "Line requested but no page loaded". But on the second try, the page came up perfectly! I was able to chat in that chatroom, and navigate to page 2 (which was very funny, btw ) Oh man, is 600 baud (or is it BASIC?) ever slow. But still, an excellent proof of concept. Great job!
|
|
|
Post by Jeff Ledger on Jan 3, 2005 16:57:19 GMT -5
But on the second try, the page came up perfectly! I was able to chat in that chatroom, and navigate to page 2 (which was very funny, btw ) Oh man, is 600 baud (or is it BASIC?) ever slow. But still, an excellent proof of concept. Great job! Thank you! -- It's a speed issue more than a BASIC issue. Interestingly enough I get more line errors using Visual Basic at higher speeds than I did with my 16bit app. As soon as I either get someone to volunteer some ML code for modem routines, or work my way through the code to write them myself the project should be able to hit a consistant 1200 or 2400 baud transfer rate. So much to do.. <SMIRK> Jeff
|
|