DOS Coders1 Message Board Tue, 31 Jan 2006 20:34:11 ______________________________________________________________________________ | ============================================================================ | | 1) Sun, Jan 01, 2006 - 12:08:57 am | | gregy> | New board... | | ============================================================================ | | 2) Sun, Jan 01, 2006 - 12:10:47 am | | gregy> | Last 11 messages: | | | ========================================================================== | | | | 571) Thu, Dec 29, 2005 - 10:08:17 pm | | | | ray> | | Yeah, let's talk this over with Joe. Certainly this buffer stuff is | | a good place to go to town with my memory but I quite honestly | | haven't | | the foggiest notion of how all those IE varaibles and defines talk | | to | | each other ... well, maybe a foggy notion but I don't trust myself | | to fool with it. Hmmm, come to think of it, the above stand on it's | | own don't it? More items in cache and history do sound good. | | | | | | ========================================================================== | | | | 572) Thu, Dec 29, 2005 - 10:09:47 pm | | | | ray> | | BTW, what would you recomend as additional items in the IE toolbar? | | | | | | ========================================================================== | | | | 573) Sat, Dec 31, 2005 - 1:17:10 pm | | | | glennmcc> | | I never use it... so I'm the wrong guy to ask. | | | | | | ========================================================================== | | | | 574) Sat, Dec 31, 2005 - 1:54:21 pm | | | | ray> | | Me neither, so I'm the last guy to know . | | | | BTW, a wee bug: have you ever noticed that if you are scrolling with | | the mouse on a scrollbar slider and keep the button down, but then | | move | | the mouse off the slider onto the toolbar, the mouse pops back to | | life and if you move the mouse up or down both the slider moves | | *and* | | the toolbar items 'pop' up and down as you move? | | | | | | ========================================================================== | | | | 575) Sat, Dec 31, 2005 - 2:58:31 pm | | | | glennmcc> | | That's not a bug... it's a feature. | | | | It does that intensionally so that we can see that we have 'strayed' | | to the right instead of moving straight up or down. | | | | The 'bug' is that we only get that indication when the pointer is | | somewhere in the vicinity of that toolbar. | | | | We need to extend the capability of this 'feature' so that an | | indicator | | of some kind will show that 'straying to side' even when we're not | | near | | the toolbar. | | | | ========================================================================== | | | | 576) Sat, Dec 31, 2005 - 5:12:00 pm | | | | ray> | | I half agree. It's cool that it pops back on, but it shouldn't | | 'work' the buttons, wouldn't you say? And, if the mouse is held | | down it continues to scroll the page even if the mouse is off the | | slider, which is very convinient. All I'm saying is that the buttons | | shouldn't work. | | | | | | | | | | ========================================================================== | | | | 577) Sat, Dec 31, 2005 - 5:25:10 pm | | | | glennmcc> | | They don't "work", all they do is get 'hightened' so to speak so | | that we | | can see that our mouse is 'off-track'. | | | | The buttons don't get activated during this process and they don't | | activate | | upon releasing the mouse button... they simply remain 'hightened' | | if our pointer is still there when we release the mouse button. | | | | As I said...... it's not a bug, it's a feature. | | | | | | | | ========================================================================== | | | | 578) Sat, Dec 31, 2005 - 6:03:08 pm | | | | gregy> | | Re: Bugs and Features....I'm not using, so I'm not noticing.. | | ... | | But (you knew this was coming), keep on experimenting...we call | | always | | use more features (as long as we don't get confuzzled and bloated | | like | | some code I know of).... | | | | | | ========================================================================== | | | | 579) Sat, Dec 31, 2005 - 6:03:35 pm | | | | gregy> | | This board will be archived about midnight, my time... | | | | | | | | ========================================================================== | | | | 580) Sat, Dec 31, 2005 - 6:07:50 pm | | | | gregy> | | Re: archived...suggest you guys save your New Years greetings until | | after the archiving... | | ... | | | | | | ========================================================================== | | | | 581) Sat, Dec 31, 2005 - 6:10:27 pm | | | | gregy> | | Glenn....Re: LINES 2048....GO FOR IT..!!!!....don't hesitate...it's | | something we NEED...and the naysayers can "fall by the wayside" it | | they | | want to.... | | ... | | FWIW...I think we also need to make ENV == 1024 setup when we | | install. | | I don't quite know the best way to do that...but it needs at least | | 1024bytes with all the use we make of it.....and maybe even | | 2048....but | | the 1024bytes, for sure... | | | | | | ========================================================================== | | | ============================================================================ | | 3) Sun, Jan 01, 2006 - 8:49:30 am | | glennmcc> | HAPPY NEW YEAR TO EVERYONE !!! | | | ============================================================================ | | 4) Sun, Jan 01, 2006 - 11:02:19 am | | ray> | Ok, I give -- it's a feature not a bug ;-) | | | ============================================================================ | | 5) Sun, Jan 01, 2006 - 5:17:47 pm | | ray> | Glenn, FYI, I was doing some speed tests. Whith smartdrv enabled there | isn't enough difference between our cores to mention, but I thought | I'd try a few tests with disk cache disabled: (averages) | | 183: 9.1 | 187: 11.2 | 3g 13.8 | | fooling with making my HTML modules static again: | | 10.6 | | I'm not sure if any of this matters much since we always use | disk cache, but just the same, you seem to have lost something | between 183 and 187. | | | ============================================================================ | | 6) Sun, Jan 01, 2006 - 5:23:03 pm | | glennmcc> | Just for the heck-of-it.... compare 1.85 to both 1.83 and 1.87 | | | ============================================================================ | | 7) Sun, Jan 01, 2006 - 6:09:53 pm | | ray> | Don't got, I went right from 183 to 187. But you can do these | yourself its easy just set an ASF as your DialPage and create that | ASF something like: | | | file://clearcache.dgi | u:\mail\051007.tra\*.* | u:\mail\trash\*.* | u:\mail\051007.tra\*.* | u:\mail\trash\*.* | u:\mail\051007.tra\*.* | u:\mail\trash\*.* | arachne:exit | | and call arachne with a batch file that has a timer: | | | timer on | rem Use next line when speed testing Glenn's core vs. mine | rem to insure both are run under command.com. | rem Also remember to set "DialPage file://spd-test.asf" in arachne.cfg | rem and comment or uncomment 'config.dat' line in arachne.bat. | rem Note when changing to or from speedtest mode, delete config.dat! | | command /e:1024 /low /c arachne.bat | rem call arachne.bat | | timer off | | 4dos has a built in timer, but I'm sure theres some little utility | that will work. | | | ============================================================================ | | 8) Sun, Jan 01, 2006 - 7:06:02 pm | | glennmcc> | Ray.... you've got mail. ;-) | | Mail:v1.85;GPL,386+....... Arachne v | file:C:\ARACHNE\MAIL\!3616731.TBS Sun, 01 Jan 2006 21:0 | ____________________________________________________________________________ | | | "Glenn McCorkle" | From: Arachne Fan Club | | To: "Ray Andrews" | | Reply-to:glennmcc@cisnet.com | | BCC: glennmcc@cisnet.com | | Date: Sun, 01 Jan 2006 21:01:57 -0500 | | Mailer: Arachne v1.91;UE11 | | Subject: v1.85;GPL,386+....... | | ============================================================================ | | Hi Ray, | | Now you've got it. | | -- | Glenn | http://www.delorie.com/listserv/mime/ | http://www.cisnet.com/glennmcc/ | http://www.law.cornell.edu/constitution/constitution.table.html | | | ============================================================================ | Attachment: a185gpll.zip | (type: application/zip; encoding: base64) | File "\arachne\cache\a185gpll.ZIP" written. | | | ============================================================================ | | Arachne Insight 4.0;ML, GNUpyright (G)1997-2000 Arachne Labs | (now being maintained by the Arachne Development team) | | | ============================================================================ | | 9) Sun, Jan 01, 2006 - 7:45:34 pm | | gregy> | Okay, guys...for the Arachne ADIAG project, I need to know the "nesting | level" in the(your) code. | .. | I don't need exact, but just a ball-park, worst(deepest) nesting figure | for ref. purposes, so I can sorta preliminary-finalize the | specification/design of the project. | ... | so....?????? | | | | ============================================================================ | | 10) Sun, Jan 01, 2006 - 7:56:58 pm | | glennmcc> | Nesting level == 57 (worst/deepest) | | ============================================================================ | | 11) Sun, Jan 01, 2006 - 7:58:06 pm | | glennmcc> | Unless you mean worst/deepest in the 'switches'. | | If so.. that's about 110. | | ============================================================================ | | 12) Sun, Jan 01, 2006 - 11:02:18 pm | | ray> | Glenn, | | Thanks for 1.85 :-) | Now, how do you get '57'? And Gregy, do you mean indentation levels in | the code? That goes about 12 IIRC, or do you mean function calls | within function calls? That I don't know except that it's too high, | but I'd be amased if it's 57. | | | | ============================================================================ | | 13) Sun, Jan 01, 2006 - 11:25:31 pm | | gregy> | Glenn...it's for style/documentation/reference in the code. "switches" | are "CASEOF" statements...or are you talking about something I haven't | ever heard of...and therefore are not "nested"... | ... | What I'm talking about, for example...: | DO-WHILE1 yada yada | DO-WHILE2 yada yada | DO-WHILE3 yada yada | endDO | endDO | endDO | ... | That example has one nested function, which has another nested function | with another nested function within it. | It has 3-levels of "nesting".... | ... | Alternate explanation/definition....: | { Function1..... | { Function2..... | { Function3.... | } | } | } | .....function nested within function nested within function... | ... | Have I thorougly confuzzled all of you.....?????..... | ... | I hope not...because this is something I need to know for planning | purposes....without having to go thru all the files and check this | out for myself.... | ... | And, Glenn...I know the "switches" (i.e. CASEOFs) are about 87, for the | keys (or sumpin, Ray said the other day) but these are not considered | nested....but....but...for actual nesting, I think more than 5-6 levels | would be more than I'd expect....and 57 would be way excessive for any | normal program of Arachne's size and complexity. | ... | Could you each give me the name of the file you consider the example | for your reply of "The maximum level of nesting is X, found in AXXXX.C." | ...and then, I can see your example, too.. | | | ============================================================================ | | 14) Sun, Jan 01, 2006 - 11:28:56 pm | | gregy> | If I have to, I'll just design it for Glenn's max, plus one digit for | safety, but...I'd rather have a better idea of this nesting level before | we start... | ... | | | ============================================================================ | | 15) Mon, Jan 02, 2006 - 10:29:25 am | | ray> | Gregy, | | Well I can say for sure that the deepest nesting *within* any function | is about 12 or 13 and that's in HTML.C as to nesting of functions | I don't know. It could be figured out from that function call | doc I sent. To tell the truth, I'd love to know. | | | | ============================================================================ | | 16) Mon, Jan 02, 2006 - 3:00:53 pm | | glennmcc> | Yep, now that I understand what you mean. | | I concure with Ray... about a dozen. | | ============================================================================ | | 17) Mon, Jan 02, 2006 - 8:26:31 pm | | gregy> | I think I understand what you guys are saying: | {funct01 yada yada | {funct011 yada yada | {funct0111 yada yada | {funct01111 yada yada | {funct011111 yada yada | {funct0111111 yada yada | {funct01111111 yada yada | {funct011111111 yada yada | {funct0111111111 yada yada | {funct01111111111 yada yada | {funct011111111111 yada yada | {funct0111111111111 yada yada | {funct01111111111111 yada yada | } | } | } | } | } | } | } | } | } | } | } | } | } | -----------------------that is "12-levels of nesting" | | | ============================================================================ | | 18) Mon, Jan 02, 2006 - 8:29:13 pm | | gregy> | and, each nested level is under the 1st "top-level function" {funct01 | ... | and, each nested function is individually number-identified with | reference to it's preceeding-level function. | ... | Therefore, I can refer to any one of those functions without any doubt | as to which one I refer to....i.e. they are all, so to speak, "indexed" | for location... | ... | | | | ============================================================================ | | 19) Mon, Jan 02, 2006 - 8:31:52 pm | | gregy> | Well, that solidifies the block-numbering scheme that I must use in the | ADIAG Project. In one way it is more complicated, but..BUT..(you knew | this was coming)...in a whole 'nother lot of ways, it simplifies the | block-numbering scheme, too... | ... | So, thanks....this discussion has been a BIG help... | .... | | | ============================================================================ | | 20) Mon, Jan 02, 2006 - 8:46:51 pm | | gregy> | Now, next question...(he he...you didn't think you were gonna get away | so easily, did you..???........) | ... | GIVEN - definition "BASE-nesting-level" is the level that starts over | at the lefthand margin (i.e. "top-level"...also i.e. no nesting) | {funct01<----------is against the lefthand margin | and GIVEN - at least one level of nesting (any level down, but we'll | consider only the first level down) | {funct01 yada yada | {funct01-01 yada yada | } | {funct01-02 yada yada | } | {funct01-03 yada yada | } | ....... | {funct01-nn yada yada | { | } | ... | Is there any function, in the our code, that has, in any SINGLE nesting | level, more than 99-each inner-functions AT THAT LEVEL | ... | NOTE - look at the example above for the pattern I'm referring to, and | you can, also, see why I'm asking the question....I mean...do I need to | allow (at any level) for more than 99 functions. | ... | ALSO....It just struck me that this also applies to the BASE-level (i.e. | no nesting)...so the question also becomes, "Has any file got more | BASE-level functions than 99.??" | .. | Because if the answer is YES, then I need to allow for 999-functions, | just to cover the max number.. | e.g..... | {funct001 yada yada | } | {funct002 yada yada | } | .... | {functnnn yada yada | } | ... | Have I confuzzzzzzzed everyone, yet....???....... | | | ============================================================================ | | 21) Mon, Jan 02, 2006 - 8:51:58 pm | | glennmcc> | 9 would not be enough. | | 99 is way more than enough. | | See ??? | | I'm not confuzzled. | | | ============================================================================ | | 22) Mon, Jan 02, 2006 - 10:13:11 pm | | ray> | Yeah, the high water mark is guievent, right Glenn? How many | cases there? maybe a bit more than 100 but that's the only | place, you could use special techniques there. | | | ============================================================================ | | 23) Mon, Jan 02, 2006 - 11:58:30 pm | | gregy> | well...CASEOF strings are not nested, just straight-out strings of | cases - i.e. | CASE001 | CASE002 | ... | CASEnnn | | No nesting involved here. | | | ============================================================================ | | 24) Tue, Jan 03, 2006 - 12:04:04 am | | gregy> | Alright, then I'll do "nesting-numbering" allowing 00 (two digits) for | the first nesting-level, and 0 (one digit) for all subsequent levels | ... | Also, as I said, some things occurred to me, as we have discussed this, | and...it appears that the "index number" will ONLY need to show those | "nest-level-numbers" if/when there actually is nesting...the rest of | the time, they will be ommitted... | ... | I was going to specify a "fixed-length" constant for the number of | characters in the "index-number"...which wouldn't even be used in most | instances...but...doing it this other way....the number will expand as | needed, and expand only to the length needed...and it will be easily | noticeable just where nesting is located, and immediately seeable as to | the level/extent of it in any one location.. | | | | ============================================================================ | | 25) Tue, Jan 03, 2006 - 12:06:27 am | | gregy> | And...L.D. and I are selecting ASCII-pr0n equivalents for standard | flowchart symbols.... | ... | You guys can get some idea of that from that post to the list, that | L.D. did yesterday... | ... | Our actual flowcharts will be much more "professional"..(g g g g)..and | will be standardized to our specifications, but you can get the flavor | from her post.. | | | ============================================================================ | | 26) Tue, Jan 03, 2006 - 4:50:58 am | | gregy> | Re:...you are not confuzzled....well, that's a relief...at least one of | us, around here, is still "in the clear".... | .. | Actually, I'm kinda feeling my way in the dark, here...so...don't be | surprise if I actually DO manage to present something in a confusing | way. | | | ============================================================================ | | 27) Wed, Jan 04, 2006 - 4:09:23 am | | gregy> | Okay...now...I'm assuming that the "CASEOF" (aka "switchs") function is | a single function: e.g. | {functSWITCHES(aka CASEOF) | CASE 01 yada yada | ... | CASE 87 yada yada | } | ...and that this function is a nesting-level 0, i.e. its {(brace) | is right over at the lefthand margin. | ... | Is this assumption true...?????? | | If this is incorrect, then, QUESTION - at what nesting-level IS the | function that contains the "switches (CASES)" for the KEYWORDs....????? | | ------------------------------------------------- | Ray mentions the KEYWORDs "switches" function as containing 87 CASEOF | switches...is this true...??? | .. | QUESTION - are there other "switches" functions...??? ...and, if so, | how many CASEs (switches) do they contain (maximum for each - estimate | is okay)....??? | | | | ============================================================================ | | 28) Wed, Jan 04, 2006 - 4:12:11 am | | gregy> | QUESTION - if the "87-cases-for-KEYWORDS" is true, is this CASEOF | set likely to expand beyond 99-CASEs.....??? | ... | If so, I should allow for 999-CASEs, otherwise we can still get by | with 99-CASEs... | | | ============================================================================ | | 29) Wed, Jan 04, 2006 - 4:38:05 am | URL | | gregy> | Okay, new board up....let's get this "Diagramming Arachne Project" | stuff off this ADEV board... | .. | http://arachne.virtualave.net/prj/prjindex.php | | | | ============================================================================ | | 30) Wed, Jan 04, 2006 - 10:15:09 am | | ray> | Gregy, | | One of the nice things about my code is that the bracing is | almost perfectly uniform: two spaces per nesting level unless there | is an outdent, but those are all flagged. And there are some short | repetitive blocks on one line: | | if(something1) { blah; blah; blah; } | Eif(something2) { blah; blah; blah; } | | We do risk and over 99 switch in guievent, but why not use | HEX for your lines? That way you've got 256 with just two digits. | | | | ============================================================================ | | 31) Wed, Jan 04, 2006 - 4:25:46 pm | | glennmcc> | HTML.C contains a switch with 106 cases. | | And we _will_ be adding more. | | The 'tag' switch handles all of the html tags which are currently recognized | | switch (tag) | | case TAG_BR | | case TAG_TR | | case TAG_TD | | etc...etc...etc... | | ============================================================================ | | 32) Wed, Jan 04, 2006 - 4:30:11 pm | | glennmcc> | Here they are....... | | case TAG_P: //

| case TAG_DIV: //

| case TAG_H1: //

| case TAG_H2: //

| case TAG_H3: //

| case TAG_H4: //

| case TAG_H5: //

| case TAG_H6: //
| case TAG_SLASH_H1: | case TAG_SLASH_H2: | case TAG_SLASH_H3: | case TAG_SLASH_H4: | case TAG_SLASH_H5: | case TAG_SLASH_H6: | case TAG_TT: // | case TAG_SLASH_TT: | case TAG_PRE: //
|      case TAG_SLASH_PRE:
|      case TAG_FONT:     //
|      case TAG_BASEFONT: //
|      case TAG_SLASH_BASEFONT: // 
|      case TAG_SLASH_FONT:
|      case TAG_SLASH_FRAMESET:
|      case TAG_BIG: //
|      case TAG_SMALL: //
|      case TAG_SLASH_BIG:
|      case TAG_SLASH_SMALL:
|      case TAG_HR: //
| case TAG_B: //,, | case TAG_SLASH_B: | case TAG_U: // | case TAG_SLASH_U: | case TAG_I: //,
, | case TAG_SLASH_I: | case TAG_TABLE: | case TAG_SLASH_TABLE: // | case TAG_TR: // | case TAG_SLASH_TR: // | case TAG_SLASH_CAPTION: // | case TAG_SLASH_TD: // | case TAG_TD: // | case TAG_TH: | case TAG_CAPTION: | case TAG_TABLE: | case TAG_SLASH_TABLE: | case TAG_SLASH_CAPTION: | case TAG_TR: | case TAG_TD: | case TAG_TH: | case TAG_LI: //
  • | case TAG_DD: //
    | case TAG_OL: //
      | case TAG_BLOCKQUOTE: // | case TAG_UL: //
        | case TAG_SLASH_UL: | case TAG_SLASH_BLOCKQUOTE: | case TAG_SLASH_OL: | case TAG_INPUT: // | case TAG_BUTTON: // | case TAG_FORM: //
        | case TAG_SLASH_FORM: | case TAG_NOFRAMES:// | case TAG_SCRIPT://<SCRIPT> | // case TAG_HEAD: //<HEAD> | case TAG_TITLE: //<TITLE> | case TAG_SLASH_SCRIPT: | case TAG_SLASH_NOSCRIPT: | case TAG_SLASH_NOFRAMES: | // case TAG_SLASH_HEAD: | case TAG_SLASH_TITLE: | case TAG_SELECT: //SELECT | case TAG_SLASH_OPTION: //</OPTION> | case TAG_SLASH_SELECT: //</SELECT> | case TAG_OPTION: //<OPTION> | case TAG_TEXTAREA: //<TEXTAREA> | case TAG_SLASH_TEXTAREA: | case TAG_SLASH_STYLE: | case TAG_STYLE: | case TAG_BODY: //<BODY> | case TAG_BASE: //<BASE> | case TAG_CODE: //<CODE> <KBD> | case TAG_SLASH_CODE: | case TAG_LINK: //<LINK REL=...> | case TAG_FRAMESET: //<FRAMESET> | case TAG_FRAME: //<FRAME> | case TAG_META: | case TAG_MAP: | case TAG_AREA: | case TAG_EMBED: | case TAG_BGSOUND: | case TAG_ARACHNE_BONUS: | | | ============================================================================ | | 33) Wed, Jan 04, 2006 - 6:28:36 pm | | ray> | Right, that is the big tuna, not guievent. | | | | ============================================================================ | | 34) Wed, Jan 04, 2006 - 6:29:12 pm | | ray> | Glenn, | | Note my question on coollist :-) | | | ============================================================================ | | 35) Wed, Jan 04, 2006 - 9:42:04 pm | | glennmcc> | IMO, No default download path pre-programmed is a good thing. <g> | | Look at it this way. | | No download path speced in arachne.cfg == use current dir. | | There are only 2 dirs which are absolutly certain to exist on all | systems without question. | | 1) C:\ | 2) current dir (arachne_main dir) | | Any other dir is just a 'maybe to exist'. | | Even the drive:\arachne_main\download\ dir that is automatically created | during the original install might get mistakenly removed by some users. | | But 'current dir' will always exist. | | | | | | ============================================================================ | | 36) Thu, Jan 05, 2006 - 12:39:43 am | | gregy> | Glenn...I sorta figured there was already that default...hmmmm...learn | sumpin new every day....<g g g> | ... | But...obviously I concur..... | | | | ============================================================================ | | 37) Thu, Jan 05, 2006 - 12:43:19 am | | gregy> | Ray...no...no HEX for numbers....this is a "human-readable" | documentation project....<g g g>....I know "nerd-readable" would be | okay for some, but we are trying to make this (at least, possibly) | comprehendable for more-or-less ordinary code-readers/programmers | ... | So, for some nesting-levels, we MUST keep the "000" (3-digit) capability | because we're already over the 99 (2-digit) limit.... | .. | I'll go look and see what your comments on the Project Board are... | | | ============================================================================ | | 38) Thu, Jan 05, 2006 - 12:46:15 am | | gregy> | Guys....I don't wanna be picky....and I don't wanna "add to your | burdens"...etc....but...I need your comments to my posts on that new | PROJECTS board, that I posted the link to, above.... | ... | So...please...purty please...so I can just "get on with this"...I don't | want to ever get in "spin the wheels" mode and lose momentum, here. | ... | L.D. is limping along with me, and if we can get it organized and | really started, it looks like we can make some realy progress.. | ... | | | ============================================================================ | | 39) Thu, Jan 05, 2006 - 1:59:44 am | URL | | gregy> | Just for quick reference purposes.....<g> | | http://www.physics.drexel.edu/courses/Comp_Phys/General/C_basics/c_tutorial. | | | | | ============================================================================ | | 40) Thu, Jan 05, 2006 - 8:37:58 am | | Eric> | Ray, for some reason when I try Gregy's link to the C tutorial above | then Arachne locks up after downloading 11 bytes. &nbsp;I have to use | CTRL-ALT-ESC to unlock her. | | ============================================================================ | | 41) Thu, Jan 05, 2006 - 9:20:25 am | | gregy> | Eric....that's only with Ray's build. That link works fine with Glenn's | cores... | | | ============================================================================ | | 42) Thu, Jan 05, 2006 - 10:51:58 am | | ray> | Gregy, | | How would you know? Anyway it's fine here. Nuts, all of these | things are probably going to boil down to one thing. What the hell | is it? | | | ============================================================================ | | 43) Thu, Jan 05, 2006 - 10:55:40 am | | ray> | Gregy, | | This stuff is so heavy that I'd rather you made a prototype run | and let us look at your stuff in situ, it's to hard to comment | usefully at this stage, let us see a dry run. | | | ============================================================================ | | 44) Fri, Jan 06, 2006 - 2:34:20 am | | gregy> | Ray...yes...I agree...but..but...there ain't gonna be any "trial run" | until/unless I get something spec'ed/layed-out/designed, BEFORE I jump | in and try to do sumpin.....so...I'd appreciate it, since you and Glenn | know this code best, if you'd just answer (or, at least, try to answer) | my question(s) over on the PRJ board....then L.D. and I can maybe get | somethings going... | | | ============================================================================ | | 45) Fri, Jan 06, 2006 - 9:55:27 am | | ray> | Why not just take a small file, saaaaay ... int09 and give us | a mockup? | | | | ============================================================================ | | 46) Fri, Jan 06, 2006 - 12:42:42 pm | | glennmcc> | 'cause he don't want to do it that way ? <ggg> | | ============================================================================ | | 47) Fri, Jan 06, 2006 - 1:38:53 pm | | ray> | Yeah, but military men know better than most that sometimes you | can't do what you want ;-) | | | ============================================================================ | | 48) Fri, Jan 06, 2006 - 1:55:32 pm | | glennmcc> | But since he's the Sarge .... he gets to do what he wants. <ggg> | | | ============================================================================ | | 49) Fri, Jan 06, 2006 - 2:19:09 pm | | glennmcc> | Hey, | | Are you fedd-up with 'embeded' .SWF files getting downloaded | along with the images on a page ?? | | It's a total waste of time to be downloading that crap when there's no | DOS .SWF player available. | | | --- near the top of urlovrl.c --- | | struct HTTPrecord HTTPdoc; | //!!glennmcc: Jan 04, 2006 -- do not auto-download embeded .SWf files | char *swf; | //!!glennmcc: end | | --- and then further down --- | | | AnalyseURL(URLptr,&url,IGNORE_PARENT_FRAME); | //!!glennmcc: Jan 04, 2006 -- do not auto-download embeded .SWf files | swf=URLptr; | if(type==EMBED && strstr(strupr(swf),".SWF")) found=1; else | //!!glennmcc: end | found = SearchInCache(&url,&HTTPdoc,&uptr,&status); | | _____________ | | Ray, | Credit goes to a fellow Canadian who lives in Hamilton | for asking for this one. :)) | | ============================================================================ | | 50) Fri, Jan 06, 2006 - 6:46:16 pm | | glennmcc> | Ah ha... much better. | | No need for the addition of the swf variable and only 1 line of code. :)) | | AnalyseURL(URLptr,&url,IGNORE_PARENT_FRAME); | | //!!glennmcc: Jan 06, 2006 -- do not auto-download embeded .SWf files | if(type==EMBED && !strncmpi(&URLptr[strlen(URLptr)-4],".SWF",4)) found=1; el | //!!glennmcc: end | | found = SearchInCache(&url,&HTTPdoc,&uptr,&status); | | | ============================================================================ | | 51) Fri, Jan 06, 2006 - 7:33:03 pm | | gregy> | he he...that cav....he's got GOOD instincts....<g g g>...and it's nice | to be told that he's still well, and interested, and using Arachne.. | ...<g g g> | .. | That, BTW, Glenn, ole buddy, is an "elegant hack" and I think there | might....MIGHT...mind you...might be some other stuff that we might | wanna do the same thing with...or...at least give an ARACHNE.CFG | option to "ignore".....but...THAT one is definitely called for.. | ...thanks... | | | | ============================================================================ | | 52) Sun, Jan 08, 2006 - 12:45:17 pm | | ray> | I dunno what any of that is, but sounds like you know what you're doing. | As for Mr. V, amen to what Gregy said. I'll pick that code up in | your next release. | | | ============================================================================ | | 53) Sun, Jan 08, 2006 - 1:39:42 pm | | glennmcc> | Hack ? .... HACK ?!?!? | | Hey, I resemble that comment. <ggg> | | ============================================================================ | | 54) Sun, Jan 08, 2006 - 2:29:06 pm | | ray> | You hackers are mere pantie-waists. I'll doing some experimental | stuff in the next while that might better be called butchery. | | | | | ============================================================================ | | 55) Sun, Jan 08, 2006 - 2:31:16 pm | | glennmcc> | Butchery ??? | | Hell, I did that way back when I started working on the Arachne SRCs. <ggg> | | ============================================================================ | | 56) Sun, Jan 08, 2006 - 10:34:12 pm | | ray> | Nope, you're a surgeon. I started out as a janitor, then became a | furniture arranger but the day dawns to start taking a look at the | overall structure of the project. What whetted my apitite was knowing | that only two calls to Toolbar() are needed, not seven, I want to | see if I can disentagle the web of function calls involved in | drawing, some of which are recursive, for crying in the sink. | | | ============================================================================ | | 57) Sun, Jan 08, 2006 - 10:36:44 pm | | ray> | The big nut to crack is that little house of horrors -- onmouse(). | I'll be asking Gregy to see if he can give me a head start on that | mess. | | | ============================================================================ | | 58) Mon, Jan 09, 2006 - 3:21:47 am | | gregy> | Ray...L.D. and I are getting the ADIAG project lined-out, up, and | (about) running. First is Glenn's ATCPIP.C....the your FTP.C, then | (if you guys don't scream for sumpin else, and scream long and very | convincingly) MAIN.C....but....hey...if you want sumpin else first, | ...well.... | ... | you know how to gripe and whine and complain...and to finally get down | to presenting a valid argument to get someone to agree with your | request....so.... | ... | go ahead....see where it gets you....<g g g g g> | | | ============================================================================ | | 59) Mon, Jan 09, 2006 - 7:16:56 am | | ray> | Gregy, | | Glad to hear it. atcpip should be a good practice run, because I | think Glenn and I both understand it quite well so we can critique | your work. Then, as you say, ftp, main etc. But put onmouse in the | list to SVP. | | | ============================================================================ | | 60) Mon, Jan 09, 2006 - 11:21:33 am | | gregy> | Well, then...I am less aprehensive, now...<g g g>...here, L.D. and I | thought that ATCPIP.C was a BIGGGG mystery and we were going to be the | "guinea-meece" left to blunder thru it....<g g g>.... but...if it's | an already familiar file, to you and Glenn, then that eases everything, | and makes it a PERfect first-file-learning-experience.....we'll all | benefit... | ... | Then, if weez all agreed, in this order: | 1. ATCPIP.C | 2. FTP.C | 3. MAIN.C | 4. ONMOUSE.C | 5. The_rest.C <g> | | ....???? | | Oh, that doesn't hafta be "set in concrete"....we can swap them around | if we chose. | | | | ============================================================================ | | 61) Mon, Jan 09, 2006 - 4:07:41 pm | | ray> | Sounds good to me :) | | | ============================================================================ | | 62) Mon, Jan 09, 2006 - 4:33:03 pm | | glennmcc> | Yep.... EXCELLENT !!! | | ============================================================================ | | 63) Tue, Jan 10, 2006 - 4:24:36 am | | gregy> | Okay...be another couple days for L.D. and I to get it settled and | ready to run....<g g g> | ...I'll give a "heads up" here, and post the stuff thru the PRJboard | on AVA.. | | | | ============================================================================ | | 64) Tue, Jan 10, 2006 - 4:38:15 am | | gregy> | NOTICE..!!! NOTICE..!!! - to all coders...I claim ownership for the | key-combinations of "ALT-J" and "ALT-S" ....they are now TAKEN..you are | NOT allowed to use them. I'll soon inform you of what they are to be | used for....<g g g> | ... | (nothing like a little "dictitorialism"..is there...<g g g>...) | | | ============================================================================ | | 65) Tue, Jan 10, 2006 - 6:54:45 am | | gregy> | oh, and add ALT-C to that.....<g g g> | ... | That's the last one...I promise.....<g g g g g> | ... | | | ============================================================================ | | 66) Tue, Jan 10, 2006 - 4:03:33 pm | | ray> | Now this is getting interesting! | | | | ============================================================================ | | 67) Tue, Jan 10, 2006 - 4:15:16 pm | | glennmcc> | FYI, | | I already 'claimed' Alt+S for the Alternate Font page. | | Hit 'K' and have a look. | | ============================================================================ | | 68) Tue, Jan 10, 2006 - 4:16:53 pm | | glennmcc> | Alt+F | 'Font change page' | requires installation | of | alt-font.apm <--- links to.... http://www.cisnet.com/glennmcc/apm/ | | | | ============================================================================ | | 69) Tue, Jan 10, 2006 - 4:19:25 pm | | glennmcc> | Oh yeah... I also have an 'undocumented' keycombo 'claimed'. | | Ctrl+S cycles through the font-shifts. | | | | ============================================================================ | | 70) Tue, Jan 10, 2006 - 4:20:10 pm | | glennmcc> | Oops... typo. | | I mean Ctrl+F | | ============================================================================ | | 71) Tue, Jan 10, 2006 - 4:24:06 pm | | glennmcc> | Dangit... typo in post 67 too... that should of coarse read Alt+F | | Sheesh, I'm just full of it today. <G> | | ============================================================================ | | 72) Tue, Jan 10, 2006 - 6:38:50 pm | | Eric> | Ok glennmcc, I'll bite.....How full are you and does it stink. | | | ============================================================================ | | 73) Tue, Jan 10, 2006 - 7:08:54 pm | | ray> | Gregy, | | Why not use the number keys? They are totaly unused. | | BTW I'm using a build with almost all calls to MouseOff() gone to. | Only problem is that the mouse sometimes leaves a few droppings | behind it. | | | ============================================================================ | | 74) Tue, Jan 10, 2006 - 7:08:56 pm | | glennmcc> | completely, and yes... really bad. <ggg> | | ============================================================================ | | 75) Tue, Jan 10, 2006 - 10:19:55 pm | | ray> | I am such a bad boy! One call to MouseOff() ;-) | | | | ============================================================================ | | 76) Wed, Jan 11, 2006 - 4:07:18 am | | gregy> | Okay, then...the ALT-C, ALT-J, ALT-L; and ALT-S key-combos are still | unclaimed...?? | ... | BTW, Glenn, in this 1.87, you have "S" key brings up the "Set Max | Resolution" page/box....is that still the same in 1.89....??? | ... | annnnd.....here's my brief reasons for claiming "dibbs" on those | four Key-combos.. | | | ============================================================================ | | 77) Wed, Jan 11, 2006 - 4:09:26 am | | gregy> | I have claimed "dibbs" on: | ALT-C | ALT-J | ALT-S | ..and, in addition (I know, I promised...but..HEY!!! I lie a lot) | ..now | ALT-L | | I want to reserve these for "future functions"...which I will | explain in this series of posts. | | GENERAL - | 1. These ALT-C thru ALT-S "keys" are TOGGLES. That is, | they are like the SHFT-`(~) key-combo that toggles image-display | ON/OFF. | 2. The action of these new toggles should mimic that SHFT-` key-combo. | That is, CORE reads the ARACHNE.CFG for values, then sets value-flags | for each value. If LoadImages==Yes, that flag is set to YES, and then | when the SHFT-` is toggled OFF, CORE is told to NOT Display Images and to | ignore that LoadImages==YES flag, and refuse to download images. | 3. What this means is, that CORE will ALWAYS read associated ARACHNE.CFG | Keywords and set the corresponding flags, BUT, when the toggle is turned | OFF, CORE will ignore that flag and behave as though the Keyword was OFF. | This is irrespective of whether the .CFG Keyword value is Yes/No. | 4. Also, CORE will display an indicator that the toggle is ON. I will | discuss this in my "DISPLAY" post, below. | | Now, I will go into each of the key-combos I'm requesting "dibbs" on, | and explain what function I want each one to perform. I will begin | with the ALT-L key combo - see my next post. | | ============================================================================ | | 78) Wed, Jan 11, 2006 - 4:09:56 am | | gregy> | KEY-COMBO - ALT-L | ShortName is "Logs"... | 1. This toggle will turn ALL selected logging ON/OFF. We already have | two "logging" functions (SMTPlog and POP3log) and I have mentioned the | need for more of these. THEREFORE, I request that Glenn rename his | two ARACHNE.CFG keywords to "logSMTP" and "logPOP3"...the reason is that | this will alphabetically group all of these (existing and new) keywords | together in ARACHNE.CFG (and in Ray's new config.log). | 2. CORE will read the "logXXXX" keywords in ARACHNE.CFG and set their | associated flags. When this toggle is OFF, CORE will ignore these flags | and behave as if ALL the .CFG "logXXXX" keywords were set to "No". When | this toggle is set to ON, CORE will do logging for all "logXXXX" functions | whose .CFG keywords are set to "Yes" | 3. I request that Glenn implement the following additional ServerTalk | logging functions: | logHTTP | logHTTPS | logFTP | logDNS (this may need a separate ALT-X toggle - see??? feature creep) | | We can discuss the WHYfor for each of these needed troubleshooting | logging functions....but....having said "troubleshooting logging | functions"...that pretty well says it all. | | The DNS would/will be useful for maintaining a separate, local, DNS | server, internal to Arachne - but that will be discused somewhere else. | | | ============================================================================ | | 79) Wed, Jan 11, 2006 - 4:10:25 am | | gregy> | KEY-COMBO - ALT-S | Shortname is "SSL" | 1. You can see where this is going. Sooner or later, we are going to | have SSL integrated into the ArachnePackage. I do NOT think it should | be compiled into CORE...but..."hooks" need to be implanted in CORE, | and now is the time to insert those hooks and plan for the future. | 2. CORE will read the CFG Keywords and set its flags Yes/No. This | includes that "https2http" keyword. Proposed future keyword for | true SSL is "SSLenable Yes/No"... | 3. When this toggle is OFF, CORE will refuse the HTTPS link, period. | 4. When this toggle is ON, CORE will do whatever its CFGKeyword flags | tell it to do. That means, "https2http Yes" "SSLenable Yes" will tell | CORE to 1st try the "https2http" function, then try the true "SSLenabled" | secure function. | 5. This "SSL" toggle is wanted/needed because I do NOT want my ArachneSSL | to be always enabled (the Mz$loth way). I want to be able to CHOSE to | have it ON of OFF. | | | ============================================================================ | | 80) Wed, Jan 11, 2006 - 4:10:56 am | | gregy> | KEY-COMBO - ALT-C | Shortname is "CSS" | 1. We already have partial CSS functionality in Arachne. We are going | to (and are already investigating) need to increase that functionality, | and, probably, finally have full implementation of full CSS. | 2. CORE will read the CFGkeywords and set its flags Yes/No. | 3. With this toggle OFF, CORE will ignore those Yes/No flags and | not use CSS, at all. | 4. With this toggle ON, and CFGkeyword "CSS Yes" and CFGkeyword | "CSS2 Yes" ... CORE will implement the original CSS functionality and | also the enhanced-upgrade CSS2 functionality. | 5. Again, there are sites where I want/need to quickly switch CSS OFF | in order to see what screwed-up stuff they're trying to do. This | toggle enables me to do that, for enhanced on-the-fly troubleshooting. | | | ============================================================================ | | 81) Wed, Jan 11, 2006 - 4:11:25 am | | gregy> | KEY-COMBO - ALT-J | Shortname is "JS" | (you KNEW we were gonna get to this sometime...<g g g>...) | 1. Javascript should NEVER be compiled into CORE (even stupidz$loth | doesn't do THAT) and should NEVER be "always ON" (unless the CFGkeyword | is set "No")....we need to be able to quickly toggle it OFF/ON. | 2. CORE will read the CFGkeywords and set its flags. We already have | keyword "IgnoreJS Yes/No" which is occasionally very useful. To enable | full JS functionality, I propose (1) change "IgnoreJS Yes/No" to | "JSignore Yes/No" and (2) add keyword "JSenable Yes/No" This will group | the "JS" keywords together in ArachneCFG. | 3. With this toggle OFF, CORE will ignore all "JSxxxxxx Yes/No" | keywords in ARACHNE.CFG. | 4. With this toggle ON, CORE will 1st check "JSignore Yes/No" and if | that is flagged "Yes" it will "ignore" and will ignore the other "JS" | type keywords. With this toggle ON, and "JSignore No"...CORE will | check "JSenable Yes/No" and if that is flagged "Yes" will implement | the JS functionality, otherwise it will not implement that JS | functionality. | 5. Again, I want/need to be able to toggle JS on-the-fly ON/OFF, | without having to edit ARACHNE.CFG or use the OPTIONS page. | | | ============================================================================ | | 82) Wed, Jan 11, 2006 - 4:11:48 am | | gregy> | DISPLAY - the visual indicators I want/suggest for each of these toggles. | | Down on the BottomRight ArachneStatusBAR, we have: | | 00:00.00 |v1.87;GPL,386+ 0.00.00 (or OFFLINE) | | Left-to-Right: | 00:00.00 == SystemClock | | == a crack in the Wencelas Castle rock <g g g> | v1.87; == version, of course | GPL, == self explanatory | 386+ == likewise | 0.00.00 == Online TimerClock (or OFFLINE) | | 1. We want to interfer to the minimum with the current-standard Arachne | LOOK, therefore, we will leave the SystemClock alone, right where it is. | 2. We will leave the "crack" separator-line as is. | 3. For: | ALT-L - a YELLOW "L" right next to the "crack" followed by another "crack" | (new "separator-line") | ALT-S - a RED "S" right next to the "L" indicator, followed by another | "crack" (new "separator-line") | ALT-C - a BLACK "C" right next to the "S" indicator, followed by another | "crack" | ALT-J - a YELLOW "J" right next to the "C" indicator, followed by another | "crack" | | compare: | old 00:00.00 |v1.87;GPL,386+ 0.00.00 (or OFFLINE) | new 00:00.00 |L|S|C|J|L,386+ 0.00.00 (or OFFLINE) | | | ============================================================================ | | 83) Wed, Jan 11, 2006 - 4:12:11 am | | gregy> | SUMMARY - | 1. CRUCIAL NOTE...!!! - I do NOT ask that these new Key-combos be | implemented with ALL their new functionality. These are "hooks" | for future functionality. | 2. For right now, these are "dummy" key-combos that do NOTHING, | except toggle their associated indicators ON/OFF on the righthand | side of the bottom StatusBAR. | 3. That is all. | 4. Please compile/implement these new Key-combos and send me the | new eXpCORE so I can try it out... | <g g g> | | ============================================================================ | | 84) Wed, Jan 11, 2006 - 4:35:40 pm | | glennmcc> | Personally... I _hate_ 'toggles'. | | That's why I eleiminated 'ToggleIgnoreJS' and 'ToggleHttps2Http' | | Sorry, but...... I am not about to add 5 new toggles. | | | ============================================================================ | | 85) Wed, Jan 11, 2006 - 5:15:53 pm | | ray> | Gregy, | | I understand where you're comming from above, but I have a longer | term goal with the toggles. What I'd like to do is create an HTML | page called up by, say Ctrl+T, that then displays the status of | all toggles and let's you change any of them, not just a select | group. Glenn's core has a problem with toggles because on any | program restart (like ^E or rendering a JPEG etc.) the temporary | change is forgotten on restart, but my core will remember the | change due to my 'config.dat' mechanism. All I need is an HTML | programmer, and the rest is easy. | | | ============================================================================ | | 86) Wed, Jan 11, 2006 - 6:27:03 pm | | glennmcc> | List of all of the keywords you want to have on the Ctrl+T page. | | I'll make the page and send it to you. | | ============================================================================ | | 87) Wed, Jan 11, 2006 - 8:07:39 pm | | ray> | All the toggles, i.e. all the yes/no options. But I suppose,now that | it might be time to think about it, that some of them needn't be | toggleable, to save clutter, we could just use the ones that are of | some interest, JS, CSS, HTTPS, Images, etc. Your core should be able | to use the same mechanism for any that don't involve a restart, no? | | | | | ============================================================================ | | 88) Wed, Jan 11, 2006 - 8:29:24 pm | | glennmcc> | JS, CSS, HTTPS, Images | | OK, that's 4 items to include on the Ctrl+T page. | | Please list all of the others that you mean by ...... 'etc' | | ============================================================================ | | 89) Wed, Jan 11, 2006 - 8:38:16 pm | | glennmcc> | These are all of the Yes/No possibilities in arachne.cfg | | Do you want all of these on Ctrl+T ??? | | UseTerminal No | Autologin No | KeepOnServer No | UseSignature Yes | NoHELO No | KillSent Yes | UseProxy No | Cache2TEMP No | LoadImages No | Frames Yes | AutoF3key Yes | BigFont No | SmoothScroll Yes | ExitOnHangup No | AltTab No | EditHotlistEntry Yes | Autodial Yes | UseCID Yes | UseCDescr Yes | Multitasking Yes | CSS Yes | SavePasswords Yes | Cookies Yes | HTTPreferer Yes | POP3log No | SMTPlog Yes | KeepHTT Yes | HTTPKeepAlive No | UseFTPproxy No | VFAT No | UseKeyMap No | QADT No | Kill468x60 Yes | CacheFonts Yes | MailIsDesktop Yes | UseReplyto Yes | UseBinaryFTP Yes | UseAuthSMTP Yes | DelHistory No | Mail2Hist No | RIAD Yes | UseByteSec Yes | AlwaysUseCFGcolors No | EnterBGDL No | WarnClear No | Https2Http Yes | IgnoreJS No | IgnoreBaseHref No | IgnoreRefresh No | RMGB No | BGimages No | | ============================================================================ | | 90) Thu, Jan 12, 2006 - 12:54:13 am | URL | | gregy> | Glenn, Ray....go here to get the Start 1 file: | | http://arachne.virtualave.net/prj/adiag/atcpip01.zip | | Go here to comment: | | http://arachne.virtualave.net/prj/prjindex.php | | | | ============================================================================ | | 91) Thu, Jan 12, 2006 - 12:57:27 am | URL | | gregy> | Glenn....well, I can understand that....but...I LOVE toggles...so... | <g g g> | ... | Now, I can buy your hatred/heel-dragging, if you couple that with | Ray's "Toggle-Page"....<g> | .. | So, let's do it that way. | | You, Glenn, also see what I'm trying to avoid...having to "O"Options, | etc, etc or manually edit ARACHNE.CFG | | | ============================================================================ | | 92) Thu, Jan 12, 2006 - 1:00:58 am | URL | | gregy> | Re: Toggle-Page... | 1. Why can we NOT use ALT-T....why do you want in afflict us with a | longer than necessary finger-stretch...??? | 2. Why, Glenn, did you only list the (Post 88) those four...??? | What I requested was "L"(logging), "S"(SSL), "C"(css), and "J"(JS) | ....can we please include all of these....??? | ... | | | ============================================================================ | | 93) Thu, Jan 12, 2006 - 1:02:35 am | URL | | gregy> | Ray...if you have any sort-of arachne-standard builds, with the proper | default colors, and that won't break my machine, or make me twist into | a pretzel to install/use.... | ... | Then, if you have any such thing, you might send it to me, and I'll give | it a shot. | | | | ============================================================================ | | 94) Thu, Jan 12, 2006 - 1:05:29 am | URL | | gregy> | Re: Toggle-Page | .. | QUESTION - Isn't Glenn's core still gonna run into the same problem | as Ray reports, everytime you ALT-T (or CTRL-T) popup the page, then | click the "USE NEW SETTINGS" button to activate the new toggle settings | ....?? | Perhaps I'm getting a bit lost, here.....<g g g> | | | ============================================================================ | | 95) Thu, Jan 12, 2006 - 1:12:06 am | URL | | gregy> | But, upon further pondering (always good...that thar "pond-er-ing"... | <g g g>...) upon further thought... | .. | I think I see where Glenn's going to go, with this...he's goint to | have NO toggles, just that so-called "Toggle-Page" which will | semi-automagically reset Keywords in ARACHNE.CFG....???? | Have I properly deduced, here, Mr. McC...????? | <g g g> | If that's true, then I REALLY suggest/request that those keywords | be renamed to something that will group them alphabetically in any | listing, as I requested in my original posts (i.e. JSignore, JSenable, | logSMTP, logPOP3, logHTTP, logFTP, etc...and SSLenable...etc).. | ... | | | ============================================================================ | | 96) Thu, Jan 12, 2006 - 1:14:27 am | | gregy> | ah...crap..!!! disregard the last 5 posts' URL links...I forgot to | remove the link after posting 90....... | .... | | | | ============================================================================ | | 97) Thu, Jan 12, 2006 - 1:19:37 am | | gregy> | Oh, and Glenn...I now grasp the serendipitiousness of your proposed | (already implemented???) increase of the number of items allowed in | ARACHNE.CFG.....<g g g> | ... | hey...it GREAT..!!! to have, at least, someone peering ahead into the | future, while I'm stumbling around in the dark......<g g g g> | | | ============================================================================ | | 98) Thu, Jan 12, 2006 - 1:23:58 am | | gregy> | And, Ray...I see why your cores don't have that "forget-the-toggle" | that Glenn's do....it's because your cores are actually running from | that ARRAY where you have stashed your runtime CFG.LOG data, isn't | it...??? | hmmm....or IS it....??? | ... | welp....now showing my ignorance over here on Lane 2, I think I'll just | go off and spin my wheels in solitude....<g g g> | | | ============================================================================ | | 99) Thu, Jan 12, 2006 - 10:44:00 am | | ray> | Whew, glad I got the day off, so much trafic on the board! | Ummm, starting at 88: I figure once the functionality of a toggling | page is made, adding or removing items is trivial and we can | decide on that latter and change our minds at whim. I'd start with | the important onces and add as needed ... or, for completeness, but | them all in and subtract as they wither on the vine for lack of | use, either way. | | | | ============================================================================ | | 100) Thu, Jan 12, 2006 - 10:51:00 am | | ray> | Gregy, | | Ok you want standard colors ... nuts, I keep forgetting about that, | let me fire up 187 with no colors set and see what happens, I'll | match it and send. Oh are you interested in core swapping? It's | even more fun than wife swapping. Eric made a very nice batchfile | for the job, way better than mine and the beauty of it for a tester | is that you can do almost instant comparisons between cores. Sounds | scarry but it isn't. | | As to the toggles, I think we are all thinking the same thing, it is | pointedly NOT the same as the options pages, because they make | the change into arachne.cfg, but the toggle page should just be | for temporary changes from your standard .cfg. Any yes, with my core, | as you say, all the data from the .cfg gets stored in config.dat for | fast restarts, so there's no need to change the .cfg and the toggles | will be remembered after any shell. | | | ============================================================================ | | 101) Thu, Jan 12, 2006 - 11:10:57 am | | ray> | Gregy, | | Ok, looked at your stuff, this could be overkill but will comment | at length latter. Some of the boxes look usefull, esp if used as | organizing structures for file tops. I've tried to get organized there, | but things aint perfect. It's important to stay compact, tho, in | C code one can loose more than one gains by having anything that | streaches things out to the point where one can't see enough real | code at any one time. That could be the problem with the pseudocode | box. I'm inclined to think that would best be implemented in a | parallel file or perhaps even in a sort of false second page off to the | right of the code -- making the files 160 characters wide with the | first 80 code, the second 80 pseudo code. Hmmmm, looks like I'm | commenting in depth here ;-) ... anyway, the header stuff looks | like a go for sure, and it's just organizational -- you don't have | to study the code to the point where you can write pseudo code, that's | hard work, and once we have a module understood, it isn't needed | anyway. | | | ============================================================================ | | 102) Thu, Jan 12, 2006 - 12:06:14 pm | | Eric> | Gregy, Re: Switch core disk for Ray's BUILD6B core. | What Ray is referring to is I have a floppy with all | necessary files and a batch file which installs them. | You just take the switchdsk.zip I email you and... | 1. Download it to floppy | 2. Unzip it on the same floppy | 3. Run strc.bat (Switch To Ray's Core dot bat) | . like so strc %1 %2 eg. in this case strc 6b d | . Where %1 is from BUILD 6b .zip | . Where %2 is the Drive letter Arachne is installed on in my | . case Drive D in directory D:\Arachne | 4. Fill in personal data in lsppp.cfg | 5. Run Arachne ( with latest stuff Ray sent me) and dial up. | | I can email you the zip if you want. | | | ============================================================================ | | 103) Thu, Jan 12, 2006 - 12:17:53 pm | | Eric> | Gregy, I'm not sure how Ray goes back to glennmcc's setup.... | I assume he just renames his core and uses glennmcc's core | without changing anything else. | | ============================================================================ | | 104) Thu, Jan 12, 2006 - 12:25:58 pm | | Eric> | Gregy, My batch file saves glennmcc's core as core.exx so | it is easy to switch back by naming Ray's core to core.exr | and glennmcc's back to core.exe | | ============================================================================ | | 105) Thu, Jan 12, 2006 - 12:51:16 pm | | ray> | I have a separate directory for each of the cores I use with each | directory containing any files that it needs that are liable to | be overwritten by any other core's files. I use subdirs for these | files, but Eric's system uses floppies which is fine too. Nice | thing about Eric's .bat is it is adabtable to both systems. | With a nice .bat, it hardly matters how many files are being swapped, | its fast and painless. | | | | ============================================================================ | | 106) Thu, Jan 12, 2006 - 1:10:06 pm | | Eric> | Ray, I just tried +/- to change resolution and I didn't get | an abort or lockup......but.....all I got was a beep. <ggg> | Pressed + ....beep.....Pressed - ......beeep | No change in the screen.....none at all. <ggg> | | ============================================================================ | | 107) Thu, Jan 12, 2006 - 1:11:06 pm | | gregy> | Eric...send it...I have my own "qwik-switch" set of bats, and setup, | but I'm always interested in how others do it... | ...<g g g> | And, Ray, separate directories, that's how I set my stuff up...I can | "ESC" then SWAP.BAT, then "I"<enter> and I'm back up with a new CORE, | even still while ONLINE, and never miss a lick....<g g g> | Takes about 10 seconds for the CORE-swap.....<g> | | | ============================================================================ | | 108) Thu, Jan 12, 2006 - 1:21:22 pm | | gregy> | bump...Eric....<g g g> | ... | Ray...go grab that ATCPIP1.ZIP I posted the link to on AVA... | ... | Then, grasp these things firmly in you mind and do NOT let them go: | 1. This ADIAG Project is solely for the purpose of "blocking and | diagramming" the Arachne source, and for reconstructing it for insight | and comprehension, and then for drawing flowcharts, and then for | putting the whole together into a fairly comprehensive documentation | package. | 2. The files are being designed to compile, even with the add-ins.. | ...but..BUT...these files are NOT intended to be normally "working | source code".... | 3. Of course, the add-ins WILL clutter up the code. They are intended | to. And, to start with, I'm trying to put MORE stuff in (that might | not ultimately be needed) rather than put too little in (i.e. decompose | to little for real comprehension). | 4. Again, this is NOT a project to arrive at "working code"...FWIW, I | consider YOUR code to be unnecessarily bloated and "scatter-shot" thru | with comments. Yes, I know, you need to have those comments in there | for comprehension, don't you...so you trade-off and live with it, | temporarily, until such time as the extraneous comments can be cleaned | up/out.... | ... | Well, that's what we're doing in this little project. We gotta bloat | before we can document. | ...<g g g g> | | | | ============================================================================ | | 109) Thu, Jan 12, 2006 - 1:25:26 pm | | gregy> | Ray, Glenn....go grab that ATCPIP1.ZIP. Peruse it, then tell me: | 1. Have I got the "block-lines markers" in approximately the correct | places..? | 2. If not, clip any "mis-marked" places and email-attach them back | to me so I can make changes. | | This is the first file, and I'm taking it one teensy step at a time, | AND...AND...I'm referring back to you guys who know this code. I don't | and I can't remember hardly anything about C-language, so....I'm doing | the grunt work, but you guys have gotta guide me... | | | ============================================================================ | | 110) Thu, Jan 12, 2006 - 1:28:07 pm | | gregy> | NOTE - forget...FORGET...about everything I have posted/linked/emailed | previously, except for "concepts" and "tentative proposals"....that's | all they were/are. | ... | NOW, this ATCPIP1.ZIP is the bare beginning of doing "proof of concept" | ... | So, concentrate on this latest....do NOT contemplate the previous, | except for background... | | | ============================================================================ | | 111) Thu, Jan 12, 2006 - 1:32:57 pm | | gregy> | Oh, and...I hope (and I'm sure) that you will NOT be shy about doing | your sensible critique... | ... | I have no intellectual dog in this fight. If you guys say that I've | done something wrong (misunderstood the code, mis-marked, etc)...that | isn't gonna hurt my feelings. So, as I said, I'm sure you guys | understand that, and will give me straight criticism, without a bunch | of wishy-washies...<g g g> | ... | And, I'm sure that if I ask you to justify/defend your position, giving | my justification for a certain position, you will ably do so....<g> | .. | | | | ============================================================================ | | 112) Thu, Jan 12, 2006 - 3:09:46 pm | | Eric> | Gregy, The reason I setup the switch core this way is so | one can setup glennmcc's Arachne from scratch in all default | mode then use this disk to switch to Ray's core setup and then | hopefully we both have the same setups. <ggg> | | ============================================================================ | | 113) Thu, Jan 12, 2006 - 3:32:23 pm | | Eric> | Ray, Here it is again....Quote: | Memory allocation error - Illegal xSwap operation at line 418 of file | IEKERNEL.C ! | Trying to deallocate xSwap... | D:\ARACHNE> | | I got this abort to DOS when I pressed the spacebar while the screensaver | was in action. | | Same intermittent problem as before.... <ggg> | | ============================================================================ | | 114) Thu, Jan 12, 2006 - 3:44:18 pm | | glennmcc> | gregy, | | re: post 92 | | My post 88 was in reference to the 4 items Ray lists in post 87 | | | ============================================================================ | | 115) Thu, Jan 12, 2006 - 3:47:07 pm | | glennmcc> | re: post 95 | | No... Glenn isn't going anywhere with anything except with Ray's | request in post 85 for an HTML programmer. | | ============================================================================ | | 116) Thu, Jan 12, 2006 - 3:49:50 pm | | glennmcc> | re: alphabetically | | No.... theye are not inteded to be grouped alphabetically | | They are intended to be grouped exactly as they are right now | in groups according to 'catagory of use'. | | That's the purpose of the various 'section headings' in arachne.cfg | | | | ============================================================================ | | 117) Thu, Jan 12, 2006 - 3:51:16 pm | | glennmcc> | [profile] | [dialer] | [tcp/ip] | [mail] | [internet] | [system] | [misc] | [security] | [auto-added] | | | ============================================================================ | | 118) Thu, Jan 12, 2006 - 3:55:54 pm | | glennmcc> | Ray, | re: post 99 | | "....start with important ones..." | | 'important/unimportant' ... what say you ? | | If I am to create the page you requested... I nedd for you to list which | ones _you_ considder to be important. | | _You_ give me the list... I make your page. :) | | No list... no page. <ggg> | | ============================================================================ | | 119) Thu, Jan 12, 2006 - 5:50:33 pm | | ray> | Eric, | | re res change, you should just get the beep if the requested resolution | won't work. Of course it it used to work and doesn't now, ie you are | now unable to use a res you can with Glenn's then that's a bug. | | Gregy, sound like you are an old hand at core swapping so you should | get up to speed with no trouble, of course with my core there are | several files to swap but the method is the same. as to ADIAG, I hear | you *but* I like the idea of some of your blocks being permanent | additions. I'd sacrifice a bit of space for a consistent file head | in every module. | | | ============================================================================ | | 120) Thu, Jan 12, 2006 - 5:54:06 pm | | ray> | Eric, | | These blasted errors, please send me your .log and I'll try your | settings again, gota figure this out. | | Glenn, I figure it will take some time to make a thought out list | of toggles so let's start with the basics as we mentioned above unless | Gregy has a list that he's sure of. | | | ============================================================================ | | 121) Thu, Jan 12, 2006 - 6:28:08 pm | | glennmcc> | So...... only those 4 items you listed in post 86 ? | | JS, CSS, HTTPS, Images | | And we add to those 4, the logs that Gregy requested. | | smtp.log and pop3.log | | So we have 6 items as a start ? | | | ============================================================================ | | 122) Thu, Jan 12, 2006 - 6:29:34 pm | | glennmcc> | Oh yeah... filename........ toggles.ah ??? | | ============================================================================ | | 123) Thu, Jan 12, 2006 - 7:01:15 pm | URL | | glennmcc> | How's this for a start ? | | +--------------------------------------------------+ | | | | | Arachne 'Yes/No' settings | | +--------------------------------------------------+ | | +--------------------------------------------------+ | | | | | _ Create POP3 log file for debugging | | | | | | _ Keep mail on POP3 server after download | | | | | | _ Create SMTP log file for debugging | | | | | | _ Disable HELO protocol | | | | | | _ Use Authenticated SMTP | | | | | | _ Auto-download inline images | | | | | | _ Display HTML background images | | | | | | _ Display frames (subset of HTML/4.0) | | | | | | _ Enable stylesheets (CSS/1.0) | | | | | | _ Try to use HTTP instead of HTTPS. | | | Turning this option on means that Arachne will | | | try to access the site via | | | "normal HTTP" instead of "secured HTTPS". | | | | | | _ Ignore all JS. | | | Turning this option on means that Arachne will | | | "jump" from the | | | "SCRIPT" tag to the "/SCRIPT" tag and ignore | | | everything in between. | | | This feature is highly experimental and may | | | cause some sites to not display correctly. | | | (if html is used inside of those tags) | | | | | | IgnoreJS should only be enabled in those | | | situations where a page will not display | | | correctly and you suspect that the problem | | | might be either invalid or incorrectly | | | commented JS. At all other times, IgnoreJS | | | should be left disabled. | | | | | |--------------------------------------------------+ | | | | | Ok, save Cancel | | | | | +--------------------------------------------------+ | | | | | | ============================================================================ | | 124) Thu, Jan 12, 2006 - 7:03:17 pm | | glennmcc> | Is that what you had in mind ? | | ============================================================================ | | 125) Thu, Jan 12, 2006 - 10:14:51 pm | | ray> | Bitchin. Look forward to seeing it. | | | ============================================================================ | | 126) Fri, Jan 13, 2006 - 1:29:17 am | | gregy> | Re: 124...yeah...that looks like a standard "McCorkle-hack"....<g g g> | .. | If it doesn't work, I'll (metaphorically) eat it.....<g g g> | ... | | | | ============================================================================ | | 127) Fri, Jan 13, 2006 - 1:31:48 am | | gregy> | Re: Alphabetically....yes, I know...<g>....but...within any section, | or for similar functions in different sections, wouldn't it be easier | to see/read/remember if they had the same "leading characters" (i.e. | logSMTP, logPOP3, etc)....??? | ... | It isn't going to "bread the bank" either way, so...it's not really a | big thing...but...it's worth thinking about.. | | | ============================================================================ | | 128) Fri, Jan 13, 2006 - 4:43:25 am | | TheShadowLurking> | You must know, Mr. McCorkle, that The SHADOW is waiting with bated | breath, for that "page" you're writing. Because I've the habit of | ripping such things off and adapting them for my OWN purposes, some of | which I can see will be adVANCed by your furious work on that, thar | TOGGLES.AH page. | (heh heh heh heh heh heh heh) | | | ============================================================================ | | 129) Fri, Jan 13, 2006 - 4:44:24 am | | gregy> | hmmmm..."who WAS that masked man..???"... | ... | <g g g> | | | | ============================================================================ | | 130) Fri, Jan 13, 2006 - 7:58:41 am | | Eric> | Gregy, I'm not sure who that masked man was...but...it reminded | me of the movie they used to show out in Aspen, CO at the Slope. | The masked man perfomed a heroic deed...so...the town's people | gave him the indian Tonto. It was written by that famous controversial | comedian/author, now dead, who's name I can't retieve from my data | banks right now. | | ============================================================================ | | 131) Fri, Jan 13, 2006 - 8:01:20 am | | Eric> | Damn, can't even spell "retrieve" correctly...<ggg> | | ============================================================================ | | 132) Fri, Jan 13, 2006 - 8:03:45 am | | Eric> | Gregy, Just came to me, I believe it was Lenny Bruce. | | | ============================================================================ | | 133) Fri, Jan 13, 2006 - 11:07:19 am | | gregy> | Eric...I guess, if you say so....<g g g>... | ... | I should understand that I was overseas all during the 60s to mid-70s | and never saw any of this stuff. Remember (even though my corporation | was one of the satelite communications pioneers), that it wasn't usual | (or even possible) to see US TV overseas....and...mostly, we read... | because we weren't in a position/place where we could watch TV..(and | had scant incentitive, anyway)..... | | | ============================================================================ | | 134) Fri, Jan 13, 2006 - 11:08:10 am | | gregy> | hmmm...ooops..."You should understand..."...already... | | | ============================================================================ | | 135) Fri, Jan 13, 2006 - 12:18:28 pm | | glennmcc> | Ray, | | re:"Bitchin. Look forward to seeing it." | | Well then, link to the URL in post 123 <g> | | | ============================================================================ | | 136) Fri, Jan 13, 2006 - 12:21:26 pm | | glennmcc> | Hit F2 to save it to disk and then link to the saved copy. | | ============================================================================ | | 137) Fri, Jan 13, 2006 - 12:22:26 pm | | glennmcc> | Never mind... I'll modify .htaccess at my site to send .AH files as text/htm | | BRB | | ============================================================================ | | 138) Fri, Jan 13, 2006 - 12:25:13 pm | | glennmcc> | --- contents of .htaccess --- | AddType image/x-zbitmap zbm | AddType application/x-arachne-package apm | AddType image/bmp bmp | AddType application/octet-stream sdr | AddType audio/x-vorbis ogg | AddType text/html ah | _____________________________ | | There you go... now it view correctly when downloaded. | | | ============================================================================ | | 139) Fri, Jan 13, 2006 - 1:19:04 pm | | ray> | I always overlook those little URL thingys. Anyway, she looks good, | does she work? I presume so. I'll fiddle with it ASAP ... and maybe | even figure out how it works :-) | | | ============================================================================ | | 140) Fri, Jan 13, 2006 - 1:23:10 pm | | glennmcc> | Does she work ? | | What kind of a foolish question is THAT ???? <gggg> | | ============================================================================ | | 141) Fri, Jan 13, 2006 - 5:21:55 pm | | ray> | I dunno, it could just be a visual with no guts under the hood, but | I'll be taking a look tonight. | | | | ============================================================================ | | 142) Fri, Jan 13, 2006 - 6:17:57 pm | | glennmcc> | OK, now I see what you meant. | | Not to worry... she's 'fully operational'. | | ============================================================================ | | 143) Sun, Jan 15, 2006 - 2:57:38 pm | | ray> | Glenn, I gave it a try, but she wants to set values in the .cfg | like the options page and I think what we are looking for is something | more temporary. I can make an 'ah!' like the one I use for mail to | capture keysroke input only of course, otherwise it looks like | I'd have to create a new 'form' or whatever it is that makes | all that suff work and I dunno how <;-) | | | ============================================================================ | | 144) Sun, Jan 15, 2006 - 7:03:34 pm | | ray> | Or it could all be put on a new toolbar 'Toggle page'. | Gregy you like toggles, what do you say? | | | | | | ============================================================================ | | 145) Sun, Jan 15, 2006 - 7:30:59 pm | | Eric> | Ray, Glenn's page looks like a toggle page to me.....how | are you going to change those options without changing the | arachne.cfg ? I almost never use Arachne's toolbars. It is | much easier to understand a page like Glenn proposed since you | ca see very clearly what the settings are. I used to accidently | hit "*" and wonder what screwed up my screen. | | ============================================================================ | | 146) Sun, Jan 15, 2006 - 8:48:42 pm | | ray> | Eric, | | I'd prefer the page too, but the problem is that it makes the | change permanent. Which isn't necessarily a bad thing, mind, but | then it's just an ajunct to the options pages. I think what we have | in mind is a temporary toggle for the moment that doesn't change | the .cfg. To do that, the guts of the page have to me made to | perform a different opperation, namely just changing the structures | where these options are stored internaly, not the .cfg, and I haven't | any idea how to do that, although I'm sure it could be done easily | enough. Or, the page could just display options which are acted on | by keystrokes, that would be dead simple, but (as with that email | control page) there would be no mouse clickable selections. | | | ============================================================================ | | 147) Sun, Jan 15, 2006 - 11:27:06 pm | | Eric> | Ray, How is changing an option and over riding the arachne.cfg | less permanent? Are you going to have it automagically revert | back....I don't like that idea. Too many toggles leads to a | screwed up setup....then you need a button to reset all the | defaults to straighten out the setup. | | | ============================================================================ | | 148) Mon, Jan 16, 2006 - 10:42:03 am | | gregy> | Ray...Re: 119....thinking about making anything/something "permanent" | in those files is premature.....this project isn't even really "started" | yet... | ... | We'll discuss it later....but...I hafta tell you that my thinking is | the exact opposite of yours....and I have a valid argument to present | ...just...not's not the time... | | | ============================================================================ | | 149) Mon, Jan 16, 2006 - 10:42:30 am | | gregy> | ooops...."now's not the time..." | | ============================================================================ | | 150) Mon, Jan 16, 2006 - 10:49:37 am | | gregy> | Ray....Re: 143-144..."toggles"....hey...!!! I'll take what I can get | ...<g g g>....Glenn won't compile new toggles into CORE, so the page is | the next best thing....it's surely lots more convenient that "O"-ing | and searching thru the options looking for the setting you maybe wanna | "toggle" ON/OFF.... | ... | And, I can see Glenn's point....if they weren't so useful and | needed, I'd prolly hate toggle, too ....<g g g> | | Thanks, Glenn...I'll give it a workout.... | | Oh, and when I said that I could see where you were going with that... | you said you weren't going anywhere...but...BUT....you results page | was eggs-ACKer-ry what I figured you were up to....a "mini-OPTIONS" | page....<g g g g> | | | | ============================================================================ | | 151) Mon, Jan 16, 2006 - 10:52:38 am | | gregy> | Re: Glenn's "toggle" page....yes...it makes permanent changes in .CFG | ...but...BUT....by implementing that page, Glenn has made making those | changes only semi-permanent....so....it's almost as convenient as having | an actual toggle.. | ... | And...Glenn, just leave the CORE alone....we don't need any toggle to | bring up that "toggle.ah"...we (I and other knowledgeable users who | think they need that page) can stick a simple link to it on our "portal" | page.... | | | ============================================================================ | | 152) Mon, Jan 16, 2006 - 10:54:43 am | | gregy> | Oh, and I told Glenn (errrm, I mean, TheShadowLurking told Glenn) that | that page was gonna get "ripped off" and used for all manner of other | things....<g g g> | ... | So, Glenn, from ole Shadow, "thanks for the freebie".....<g g g> | ... | | | ============================================================================ | | 153) Mon, Jan 16, 2006 - 3:44:56 pm | | glennmcc> | I got a suggestion for the 'toggles page'. | | Right now there's a button on the dialpage(s) that lists all of our .ASFs | | If we also place that button on the 'toggles page'... any changes that | were made using said page can be put right back to the way they were by | hitting that button and then linking to the saved .ASF that had the | users' "prefered sttings" in it. | | Whatcha think Ray ? | | | | ============================================================================ | | 154) Mon, Jan 16, 2006 - 3:56:38 pm | | ray> | Eric, | | If one wanted to change a toggle setting 'permanently' then one could | do it in .cfg or using the options pages or a dedicated toggles | page like Glenn's but I'd say there is someting to be said for a | temporary toggle. Take JS for example, it should be ON most of the | time, you'd only toggle it off temporarily for some troublesome page. | So you would't want to change the setting in your .cfg, see what | I mean? BTW, Gregy, what I mean by 'permanent' is someting written to | .cfg i.e. permanent until you change it again. Hmmm, what's a better | word? | | | ============================================================================ | | 155) Mon, Jan 16, 2006 - 4:00:30 pm | | ray> | Glenn, re 153, sounds like it's worth a try; let's not limit our | options. BTW do you think you can engineer an HTML page so it | modifies a userinterface variable directly, not the .cfg? THat's my | idea of a toogle, it just works for the session. Your core and mine | could both use that, the only dif is mine would preserve the toggle | thru a restart. | | | ============================================================================ | | 156) Mon, Jan 16, 2006 - 7:12:05 pm | | glennmcc> | Nope... no-can-do via an HTML page. | | All we can do that way is as you said... | "permanent until you change it again" <ggg> | | Also... not all of the things we would want to toggle would be 'UI items' | | Some might be CFGvariables which aren't UIs | | Who knows what we might decide to add to that 'toggles page'. | | IMO, that's the _good thing_ about doing that way. | We can add any CFGvariable we wamnt to that page and it does | not require so much as a single change to core.exe | | We actually _can_ have our cake and eat it too. <ggg> | | | ============================================================================ | | 157) Mon, Jan 16, 2006 - 8:14:09 pm | | Eric> | Ray, glennmcc, Maybe, if we don't already, make a copy of the | arachne.cfg before any toggling takes place and then that could | be used to provide an "instant return" to the initial state of | the arachne.cfg. | | ============================================================================ | | 158) Mon, Jan 16, 2006 - 8:20:20 pm | | Eric> | glennmcc, What kind of cake do we get...angel food...since | we have those fluffy white wings sprouting out of our backs? | | ============================================================================ | | 159) Mon, Jan 16, 2006 - 8:36:01 pm | | ray> | Eric, | | That's a two-bit solution to a five dollar problem ;-) | Good thinking, that might be all it takes. But I still think these | toggles should not write the .cfg in a 'permanent' way, I'm convinced | these things should be add hoc. | | Hmmm, guinea-mouses with wings .... | | | | ============================================================================ | | 160) Mon, Jan 16, 2006 - 8:38:36 pm | | ray> | Todays special at the butchers: 13 surpluss calls to DefaultMsg(), | only two left. | | ============================================================================ | | 161) Mon, Jan 16, 2006 - 9:43:59 pm | | Eric> | Ray, No, no, no,....I was referring to Glenn's post to the list | that implied we were good little angels and wouldn't abuse "reply to all". | Mouses with wings are called bats.....of course we might be a little | batty also....after all we still use DOS. | | ============================================================================ | | 162) Mon, Jan 16, 2006 - 10:15:22 pm | | glennmcc> | Eric, | | Nope.... since I'm a chocoholic ....... devil's food cake it is. <ggg> | | | ============================================================================ | | 163) Mon, Jan 16, 2006 - 10:21:44 pm | | glennmcc> | if(strstr(GLOBAL.location,"toggles.ah")) | { | strcpy(cmd,"copy /b arachne.cfg arachne.asf"); | system(cmd); | } | | ============================================================================ | | 164) Mon, Jan 16, 2006 - 10:23:56 pm | | glennmcc> | Oops.. typo :( | | Make that arachne.acf not .asf | | We want to save it to a config file, not a script file. | | ============================================================================ | | 165) Mon, Jan 16, 2006 - 10:31:53 pm | | glennmcc> | Ray, | | Remember the code taht I started/you modified/and I modified once-again | to remove spaces and dots from the start of a URL ? | | --- in urlstat.c --- | //!!glennmcc: Jan 16, 2006 -- also remove backslashes and quotation marks | if (url->protocol[0] == ' ' || url->protocol[0] == '.' || | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\'') | do | { | strcpy(url->protocol, url->protocol + 1); | } | while (url->protocol[0] == ' ' || url->protocol[0] == '.' || | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\''); | //!glennmcc: end (PITA fixed)<g> | | | Fixes this by removing the \ and the " from the start of the image URL. | | <SCRIPT> | document.write("<IMG | SRC=\"http://www.idstat.com/cgi-binp/hits.cgi?a=62352461&d=64&r=" | +document.referrer + "\">"); | </SCRIPT> | | With that \" there... we get the 'Verifying images loop' | because \"http is an unknown protocol. | | | ============================================================================ | | 166) Tue, Jan 17, 2006 - 9:48:12 am | | Eric> | glennmcc, Re: Cake - Devilsfood variety - Now I understand | why you changed to "Reply to all". <:-) <gggg> | | ============================================================================ | | 167) Tue, Jan 17, 2006 - 5:40:15 pm | | ray> | Glenn, | | I'll incorporate that one on faith, thanks. However, this whole | thing bugs me, I don't like the idea of Arachne automaticaly fixing | this stuff, it's so add hoc. I suppose it needs to be done, | but I wish there was some other way, maybe bad URL's should beep | and let you edit them or show you the fixes or something ... dunno, | just musing but the idea of us trying to fix every possible bad | URL seems wrong, unless there is some established standard. | | | ============================================================================ | | 168) Tue, Jan 17, 2006 - 9:53:11 pm | | glennmcc> | Without the 'fix', Arachne _does_ give us the chance to edit the URL manuall | | She places the 'bad' URL in the URL bar and displays err_url.ah | | We can then manually remove the spaces, dots, backslashes and quotation mark | | Since I have run into about 97million of those suckers..... my core.exe | now removes them automatically. | | | | ============================================================================ | | 169) Tue, Jan 17, 2006 - 9:54:54 pm | URL | | glennmcc> | Try this URL with an 'unfixed' core.exe | | \"http://www.idstat.com:80/cgi-binp/hits.cgi?a=62352461&d=64&r=" | | ============================================================================ | | 170) Tue, Jan 17, 2006 - 9:56:58 pm | | glennmcc> | Oops... don't click the link under URL. | | This PHP did not preserve it correctly. | | Just left-click on the text, paste it into the URL bar and press enter. | | ============================================================================ | | 171) Tue, Jan 17, 2006 - 10:40:56 pm | | ray> | Hmmm, I can see that I might have to implement your 'multiple test' | stratagy. Up to now I've left it at the 'one test' as I had it before, | just to see if I'd ever find the need for more, but the above is it, | my code now strips the '\' but stops there and craps out at the '"'. | But I also see that my comments above are unfounded because the | defective URL *does* show and allow manual editing as and when needed. | | | | ============================================================================ | | 172) Wed, Jan 18, 2006 - 12:08:03 am | | glennmcc> | The major need for Arachne to do it automatically is for those times | when those URLs are in an image tag. | | Without the 'fix' ... we go into the 'verfying iamges loop'. | | With the 'fix'... no loop and the image is D/Led and displayed as it should | | ============================================================================ | | 173) Wed, Jan 18, 2006 - 4:04:49 am | | gregy> | Re: 155-156-etc | | Why bother...??? I mean, that new toggles.ah page is already the same | thing as "return to preferred preferences"....I mean2...you KNOW what | you just changed, and why, and you are only gonna use it for a limited | time...so....when you're done, you just popup that toggles.ah page, | again, reset the toggle, and reset/save/UseNew...and you're done... | and...all without adding anything new (or more) or altering CORE... | ... | | ============================================================================ | | 174) Wed, Jan 18, 2006 - 4:05:36 am | | gregy> | I mean...we need to answer the QUESTION...."Are we trying to get too | fancy, here....????"...... | ..<g g g g> | | | | ============================================================================ | | 175) Wed, Jan 18, 2006 - 6:00:30 am | | Eric> | Gregy, Remember, some peole like/need "Reply to all", and... | some like bow ties...and some like craveat ties...and some like | string tie...and some like no ties...and some are just ina funk | if they aren't wearing a tux! <ggg> | | ============================================================================ | | 176) Wed, Jan 18, 2006 - 6:06:06 am | | Eric> | Gregy, Me.....I can count the number of times I have worn | a tux on one hand...and...of course they never fit right because | they were rentals. <:-( I would have been better off to wear my own | custom made suit and I would have looked smarter and I would have | drawn less attention...and the pictures would have looked better. <ggg> | | ============================================================================ | | 177) Wed, Jan 18, 2006 - 11:50:17 am | | gregy> | Eric....when I was overseas, I had tailormade "dinner clothes"...I never | wore a tux before then..... | ... | Of course, my formal dinner clothes were ahhhh....gold-brocade, silver- | brocade dinner jackets, and silver-brocade mao-jacket....and, of course, | those stripped black pants, and my shirts were white or black formal, | with ruffs.... | ... | very elegant....<g g g>....(also cost thousands of dollars)....<g g g> | ... | glad I don't hafta pay the maintenance costs on that stuff anymore. | ....<g g g g> | | | | ============================================================================ | | 178) Wed, Jan 18, 2006 - 4:34:16 pm | | Eric> | Gregy, I can kind of relate to your situation since I had an uncle | who was in intellegence and became a provost marshall for a long time | in Germany in the 50's and 60's and his daughter and I used to double date | when I was in college so I heard lots of stories about service life. I | also had an uncle who was a marine pilot during WWII and Korea who told me l | of stories. He always had to have his shirts tailored. Those | pilots were always known to be a wild bunch. | | ============================================================================ | | 179) Wed, Jan 18, 2006 - 5:50:13 pm | | Eric> | Gregy, Re: cost of tailoring.....It ain't cheap! And we tend to change | shape which means there are maintenance costs since a well tailored | piece of clothing doesn't allow for much change of shape. There is | a reason we spend so much time trying on store bought ready made | clothing...it usually doesn't fit perfectly but it's a lot less | expensive and sometimes we actually find something that really fits. | | ============================================================================ | | 180) Wed, Jan 18, 2006 - 9:26:36 pm | | ray> | Glenn, | | If I understand what's happening, this should do the job a lot | simpler: | | while(!isalpha(url->protocol[0])) | strcpy(url->protocol, url->protocol + 1); | | It looks to me like all the protocols must start with alphabet | characters, no? Is there ever an exception? | | | | ============================================================================ | | 181) Thu, Jan 19, 2006 - 4:31:40 pm | | glennmcc> | Smart ass !!!! | | Yes, you're correct.... all protocols that are supported by Arachne do | begin with an alphabetic character. In-fact... _all_ of them contain nothing | but alphabetic characters. | | That little 'fix' of yours will take care of... spaces, dots, backlslashes, | quotation marks, and anything else taht happens to crop-up in the future tha | not an alphabetic character. | | I will implement your fix in just few min. | | THANK YOU !!!! | | ============================================================================ | | 182) Thu, Jan 19, 2006 - 5:01:39 pm | | ray> | Glenn, my man, what I do best is optimize other people's work :-) | | | ============================================================================ | | 183) Thu, Jan 19, 2006 - 5:14:15 pm | URL | | glennmcc> | And a fine job of it you do, sir. :) | | http://www.cisnet.com/glennmcc/spacedotbackslashdigit.htm | | --- in urlstat.c --- | | //!!glennmcc: Jan 16, 2006 -- also remove backslashes and quotation marks | //!!glennmcc: Jan 19, 2006 -- Ray came up with the 'perfect fix' | // now all 'non-alphabetic' characters will be stripped-off | /* | if (url->protocol[0] == ' ' || url->protocol[0] == '.' || | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\'') | */ | if(!isalpha(url->protocol[0])) | do | { | strcpy(url->protocol, url->protocol + 1); | } | while (!isalpha(url->protocol[0])); | /* | while (url->protocol[0] == ' ' || url->protocol[0] == '.' || | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\''); | */ | //!glennmcc: end (PITA fixed)<g> | | | | ============================================================================ | | 184) Thu, Jan 19, 2006 - 9:04:06 pm | | ray> | Glenn, | | Curious why you go back to the if() ... do-while() form. The plain | 'while() test is sufficient, is has the if() test built in so to | speak and it fails if there is no need to remove anything so the | first if() test is quite unneeded. | | | ============================================================================ | | 185) Fri, Jan 20, 2006 - 12:53:17 pm | | glennmcc> | There you go again. | | You're quite right... all that is needed are your 2 lines. | | while(!isalpha(url->protocol[0])) | strcpy(url->protocol, url->protocol + 1); | | ============================================================================ | | 186) Fri, Jan 20, 2006 - 1:17:30 pm | | glennmcc> | Nope, that does not work correctly after-all. | | The first 2 alphabetic characters get stripped-off from a | correctly formatted URL that does not contain any non-alphas. | | Till you come up with a better way...... if/do/while it remains. | <ggg> | | | ============================================================================ | | 187) Fri, Jan 20, 2006 - 3:58:55 pm | | ray> | What? Can you show me an example URL where that happens? There should | be no logical difference. And the loop should fail at the first | alpha. I this ain't so, I've got some studying to do. | | | ============================================================================ | | 188) Fri, Jan 20, 2006 - 4:06:19 pm | | glennmcc> | Study away ... | | As to 'example URLs' ......... _ALL URLs_ except file:// | | In addition, 100% freeze-up at.......... | http://www.cisnet.com/glennmcc/spacedotbackslashdigit.htm | | When using just your indicated 2 lines | | | | ============================================================================ | | 189) Fri, Jan 20, 2006 - 5:01:58 pm | | ray> | I dunno Glenn, there's something else afoot there. I have no pages | that are screwed up with my two lines and the URL you mention loads | just fine. | | | ============================================================================ | | 190) Fri, Jan 20, 2006 - 5:06:35 pm | | ray> | All the sub links work fine too. Beware, my logic is certain on this, | so if my lines don't work, and yours do, there is something else | in the soup. | | | ============================================================================ | | 191) Fri, Jan 20, 2006 - 8:14:54 pm | | glennmcc> | Here's the entire section in my copy of urlstat.c | | | //!!glennmcc: begin Dec 09, 2001 | // added to fix "HTTPS verifying images" loop by trying HTTP instead | //!!glennmcc: begin Dec 11,2001---- made it configurable y/n | if(http_parameters.https2http) | { | if(!strcmpi(url->protocol,"https")) | strcpy(url->protocol,"http"); | } | //!!glennmcc: end | | //glennmcc: begin Apr 22, 2004 | //added to remove a space or a . from the start of the protocol | //fixes this..... <a href=" http://www.cisnet.com/glennmcc/">My page</a> | //and this..... <a href=".http://www.cisnet.com/glennmcc/">My page</a> | //I have only seen this on the web a few times. | //But every time I have seen it....... It's a royal PITA :(( | /* | su=strstr(url->protocol," ");if(su)su+=1;else su=url->protocol; | if(su)strcpy(url->protocol,su); | su=strstr(url->protocol,".");if(su)su+=1;else su=url->protocol; | if(su)strcpy(url->protocol,su); | */ | // { RAY: 05-02-06: Simplify Glenn's code?: | /* | if (url->protocol[0] == ' ' || url->protocol[0] == '.') | strcpy(url->protocol, url->protocol + 1); | */ | // } | //!!glennmcc: begin Feb 06, 2005 -- Thank you Ray, it works great. | //and you instigated me to make it even better | //this now removes multiple spaces and dots :) | //(commented-out su above since it's no longer needed) | //!!glennmcc: Jan 16, 2006 -- also remove backslashes and quotation marks | //!!glennmcc: Jan 19, 2006 -- Ray came up with the 'perfect fix' | // now all 'non-alphabetic' characters will be stripped-off | if(!isalpha(url->protocol[0])) | do | { | strcpy(url->protocol, url->protocol + 1); | } | while (!isalpha(url->protocol[0])); | /* | if (url->protocol[0] == ' ' || url->protocol[0] == '.' || | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\'') | do | { | strcpy(url->protocol, url->protocol + 1); | } | while (url->protocol[0] == ' ' || url->protocol[0] == '.' || | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\''); | */ | //!glennmcc: end (PITA fixed)<g> | | ============================================================================ | | 192) Fri, Jan 20, 2006 - 8:15:49 pm | | glennmcc> | Let's have a look at yours. <ggg> | | | ============================================================================ | | 193) Fri, Jan 20, 2006 - 9:37:27 pm | | ray> | Ok, here it is. The macro does the obvious thing. | | // !!glennmcc: begin Dec 09, 2001 | // added to fix "HTTPS verifying images" loop by trying HTTP instead | if(sUI.https2http && PROTOCOL_IS "https")) | strcpy(url->protocol, "http"); | /* | if(url->protocol[0] == ' ' || url->protocol[0] == '.' || | //!!glennmcc: Jan 16, 2006 -- also remove backslashes and quotation marks: | url->protocol[0] == '\\'|| url->protocol[0] == '\"'|| | url->protocol[0] == '\'') | strcpy(url->protocol, url->protocol + 1); | */ | //4i Use reverse onus test, Glenn aproves? | while(!isalpha(url->protocol[0])) | strcpy(url->protocol, url->protocol + 1); | | if (PROTOCOL_IS "http")) url->port = 80; | Eif(PROTOCOL_IS "gopher")) url->port = 70; | Eif(PROTOCOL_IS "telnet")) url->port = 23; | Eif(PROTOCOL_IS "ftp")) url->port = 21; | // Eif(PROTOCOL_IS "news")) url->port = 119; | // Eif(PROTOCOL_IS "nntp")) url->port = 119; | Eif(PROTOCOL_IS "smtp")) url->port = 25; | Eif(PROTOCOL_IS "pop3")) url->port = 110; | // Eif(PROTOCOL_IS "irc")) url->port = 6667; | Eif(PROTOCOL_IS "finger")) url->port = 79; | | | ============================================================================ | | 194) Fri, Jan 20, 2006 - 9:44:35 pm | | ray> | There could be something else happening somewhere above, but there | is next to zero doubt that your interpretation and mine are as | alike as 1+2+3=6 and 1+1+4=6, there's no logical difference so they | have to work identicaly. Mind, the 'do-while' loop requires the | if test because do-while loops are always executed one time regardless | of the test but if it's a 'while' loop, nothing happens if the | condition is not true on the first test. | | ============================================================================ | | 195) Fri, Jan 20, 2006 - 9:50:19 pm | | ray> | The number of do-while loops in the code bugs the hell out of me, | come to think of it. One should never use that form unless it | is unavoidable because that form should indicate that the statement | or block *must* be executed one time regardless of the test. This | is a rare thing. One day I'm going to convert them all to plain 'while' | and then see how many really need to be do-while. | | | | ============================================================================ | | 196) Sat, Jan 21, 2006 - 1:55:04 pm | | gregy> | while you're playing with DO-WHILEs....remember that there is also (and, | in some code, more commonly used) the WHILE-DO statement construct... | .. | And...and...the twain are NOT the same... | .. | | | ============================================================================ | | 197) Sat, Jan 21, 2006 - 1:58:12 pm | | gregy> | I mean DO-WHILE comes into the code-block and executes the statements | down to the WHILE-check, then loops if necessary or drops to the next | code-block. | ... | The WHILE-DO comes into the code-block, first checks the WHILE-condition | and drops thru to the next code-block if indicated, OR does the DO-code | if the WHILE-condition is true.. | ... | The first checks the condition coming out of the code-block, the second | checks the condition coming in to the code-block... | | | ============================================================================ | | 198) Sat, Jan 21, 2006 - 3:26:06 pm | | glennmcc> | But.... what about "while _without_ do" ? | | As Ray says.... | | if(condition) | do {statement;} | while (condition) | | _should_ be identical to....... | | while(condition) | statement; | | But my tests failed. | | I'll try again. | | BRB | | | ============================================================================ | | 199) Sat, Jan 21, 2006 - 3:33:25 pm | | glennmcc> | OK, now it works the way it's supposed to. | | Have a look at what I did wrong that screwed-up my tests yesterday. | | while (!isalpha(url->protocol[0])); | strcpy(url->protocol, url->protocol + 1); | | Do you see the stupid mistake I made ? | | ============================================================================ | | 200) Sat, Jan 21, 2006 - 3:36:13 pm | | glennmcc> | So my first impression _was_ correct after-all. | | Ray came up with the 'perfect fix' | | But then I screwed-it-up. | | Thank you Ray. | | ============================================================================ | | 201) Sat, Jan 21, 2006 - 4:19:01 pm | | gregy> | Hey...I'm not tryin' to make you feel better, but...but (youknewthiswas | coming)...but...that "screwed-it-up" is a pretty constant companion | around my digs....<g g g> | ... | However, I kinda figure "a good recovery" is the important thing... | ...<g g g> | | I'm not at all competent with C-language...but...that statement is | a WHILE-DO construct....checks the condition on the ingress, then | does the DOstatement... | ...and the IF shouldn't be required (or even there)... | | | | | ============================================================================ | | 202) Sat, Jan 21, 2006 - 4:23:55 pm | | gregy> | Glenn...I've just installed my 16x-10x-40x CD-R/W drive (new Factory | REFURB) and will check it comprehensively for functions. After I do | that, I'll need a lot of hand-holding to walk me thru CDRoast-ing some | CD-R disks....but....not on this board...we'll be better doing it on my | MISC board.. | ... | | | ============================================================================ | | 203) Sun, Jan 22, 2006 - 2:06:15 pm | | ray> | Glenn, | | Don't feel bad about the rougue semi, every coder has spend | hours in agony wondering what is wrong with some piece of code | only to find one of them sitting so sweet and inocent looking after | a conditioal test. | | Gregy, there aint no such critter as a while-do loop, that's just | a 'while' loop plain and simple. | | | ============================================================================ | | 204) Sun, Jan 22, 2006 - 6:57:12 pm | | gregy> | Ray...yes...but WHILE-DO expresses the concept better...and...FWIW.. | that is NOT the proper name for that construct...but (youknewthiswas | coming)...but...I can't remember the proper name....it isn't FOR-NEXT, | ...that's not it....but...it's sumpin else....but it IS the reverse | of the DO-WHILE construct. The proper name isn't important as long as | we remember that that type of construct IS there, and valid...and we're | likely to run into it...if not in Arachne, probably in other code.. | .. | | | | ============================================================================ | | 205) Sun, Jan 22, 2006 - 7:34:54 pm | | ray> | Gregy, | | Rodger that, you did express what happens perfectly. Anyway, I know | all the C keywords and the loops are: | | for() | while() | do ... while() | | nothing else exists in C. | | | ============================================================================ | | 206) Sun, Jan 22, 2006 - 7:52:32 pm | | gregy> | yeah...I'll take your word for it....<g g g>....you KNOW I don't know | C.... | .. | But...all these concepts were thrashed out 30+ years ago, and these | things all had proper names...quite often the names adopted for them | in the various different languages. | .. | I'm sure that all of them can be found in the sort of pseudo-code | ProgramDevelopmentLanguage (PDL)....and...probably in ADA...but where | else they are all defined, I couldn't say.. | ... | But...you notice that the "for()" drops the "NEXT" keyword, and the | "while()" would be much the same, implied "DO"... | ... | But...different languages handle things their own way... | ... | I just go on doin' my own thang...<g g g> | ... | For instance....I always express the "IF" concept as IF-DO-ELSE-DO | of, for short, IF-ELSE....instead of the somewhat more common way of | stating it as IF-THEN or IF-THEN-ELSE.... | ... | But...I was indoctrinated in a HARRRRD school.....<g g g> | | | ============================================================================ | | 207) Sun, Jan 22, 2006 - 9:21:05 pm | | glennmcc> | That which we call a rose, by any other name would smell as sweet. | | And a pet skunk named "Rosie" still stinks. ;-) | | | ============================================================================ | | 208) Sun, Jan 22, 2006 - 10:27:43 pm | | ray> | Not if she's been de-scented which I'm told in now universal amongst | pet skunk owners -- I wonder why? | | Todays special at the butchers: 13 surpluss calls to DrawTitle(). | Only one remaining. How far can this go? Since I started this, I've | cut almost 100 function calls. It very much seems that one or two | carefuly placed calls do the whole trick. | | | | ============================================================================ | | 209) Mon, Jan 23, 2006 - 2:27:04 pm | | gregy> | Not being a "Coder" you may take my caveat with "a grain of salt"...but | (youknewthiswascoming)....I'm sure I don't have to caution you to be | BERY, BERY careful about what you "cut" out. I'm sure you're exercising | due restraint....but...but...just see that you do...otherwise we're | gonna "DING" you....hard....<g g g g> | | | ============================================================================ | | 210) Mon, Jan 23, 2006 - 6:03:46 pm | | ray> | Actually, I'm charging ahead like a Mongol warrior ;-) | No danger tho, 'cause if I foul something I just scurry back to | an older build. This stuff is the sort of thing I'd expect you to like, | though, because it involves a system wide reorganisation and rethink | of some of the worst of the spaghetti -- those functions that are | called more often than 911 in an earthquake. Also, these are all | drawing functions, the worst thing that could happen is that some | message or title or something isn't drawn when it should be, no | biggy. There will be mistakes, but so far all of the mistakes have | lead to major revelations about structure. | | | | | ============================================================================ | | 211) Mon, Jan 23, 2006 - 6:24:29 pm | | Eric> | Ray, Do you ever have Minor revelations? You know...... | something short of biblical. <ggg> Rachmaninoff's concerto | was not short, but it was Minor, C sharp minor, that is! <ggg> | | ============================================================================ | | 212) Mon, Jan 23, 2006 - 8:29:29 pm | | Eric> | Question....is there some good reason that Arachne ignores the | control keys as an input to return from the screensaver? | Pressing a control key is less likely to cause some activity | from the program running when the screensaver intervened.` | | ============================================================================ | | 213) Mon, Jan 23, 2006 - 8:41:59 pm | URL | | glennmcc> | Way Kewl......... | | 'Print Screen' captures the screen saver. | | http://www.cisnet.com/glennmcc/images/scn-svr.gif | | | ============================================================================ | | 214) Mon, Jan 23, 2006 - 9:36:05 pm | | ray> | That is kewl, I wouldn't have guessed. | | Eric, do you like classical music? Anywone who knows that the | first piano concerto was written in C# minor is a friend of mine ;-) | | | ============================================================================ | | 215) Mon, Jan 23, 2006 - 9:42:55 pm | | ray> | Gregy, | | If you ever get the time, I've got another project for you that would | take a lot of front end thinking, which you are demonstrably good | at. It's a bit abstract but It would help me get a better handle on | stack issues as well as organizational matters at the same time. | I've wanted to do it for a year but get stumped at the design | stage: I'd like a 'full depth' list of function calls, like the | one I sent you but rearanged so that one can find where the | 'deepest' set of nested calls is. And I'd like to flag all the | 'basement' functions -- those that don't call any other Arachne | defined functions. | | | ============================================================================ | | 216) Tue, Jan 24, 2006 - 1:42:48 am | | Eric> | Ray, I've been a classical music fan since I was in the womb! | Long before I can remember. But, I enjoy all kinds of music. | | | ============================================================================ | | 217) Tue, Jan 24, 2006 - 3:42:21 pm | | ray> | Yeah, me too, but classical is the deepest and the best. | | | ============================================================================ | | 218) Tue, Jan 24, 2006 - 4:44:18 pm | | Eric> | Ray, Re: Skunks - descented....is that a "wild" skunk that likes | to wag her tail, that has been made decent? Actually, skunks are relatively | harmless as long as you don't scare them or step on their | tail. However, they aren't very smart, IMHO. That's why many get squished o | the road....they don't try to get out of the way. I put them | in the same brain level as 'possums. | | ============================================================================ | | 219) Tue, Jan 24, 2006 - 4:48:05 pm | | Eric> | Oh Yeh, I never new a skunk that appreciated classical music..... | they tend to lean toward Blue Grass. | | | ============================================================================ | | 220) Tue, Jan 24, 2006 - 4:52:07 pm | | Eric> | I have attended more than one outdoor classical music concert when | some skunk's disapproval has wafted by on the breeze. | | ============================================================================ | | 221) Tue, Jan 24, 2006 - 6:13:25 pm | | ray> | Yeah, they are dumb, no doubt about that. We used to have them | all over the place here, then they all got wiped out by some | disease for about 15 years, but they are starting to reestablish | themselves. But my experince with them is that they always have that | smell about them so some extent, I've rescued a few of them that | fell into garbage cans and couldn't get out -- tip the can and RUN! | | Oh, just a little bit more arm twisting about the compiler: if you | had it you could also find your stack limits over there yourself, | then I'd have my limit, your limit and could then start to figure | this stuff out. And, MHT is going to give me a 'stack monitor' | that we could incorporate, and you could see what your high water | mark is. | | | | ============================================================================ | | 222) Tue, Jan 24, 2006 - 6:15:38 pm | | ray> | Hmmmm, | | decent, de-scent. Ah, he's was making fun of my spelling and | I'm sooo bad I didn't even get the pun <;-) | | | | ============================================================================ | | 223) Tue, Jan 24, 2006 - 6:22:46 pm | | Eric> | Ray, NO....not making fun of your spelling....just pun-ning around. | <gggg> | | ============================================================================ | | 224) Tue, Jan 24, 2006 - 6:36:02 pm | | Eric> | Ray, BTW, a minimum 10 foot pole is handy for tipping those garbage | cans over and of course I guess you don't use those cans again for | a while. I haven't had to perform that task yet....I keep a cover | on my garbage cans......It's the 'coons that are my nemesis. <ggg> | They're too smart for their own good! | | ============================================================================ | | 225) Tue, Jan 24, 2006 - 7:08:51 pm | | gregy> | Eric..Ray...."classical music nut since the womb"....you know, Eric, you | may have hit it dead on. Your Mom might have listened to classical | music while she was carrying you. I know my Mom always told us kids | she'd done that with us...just to calm her, and maybe calm us, too | ...<g g g> | ... | But, consequently, I learned classical piano, at an early age, and have | had a life-long love of classical music...especially piano...but... | hey...that Rachmaninov IS...just IS..!!!.... | he he he... | | | | ============================================================================ | | 226) Tue, Jan 24, 2006 - 7:19:34 pm | | gregy> | Ray...Re: "Next Project"....why...I've been thinking about that...now | how about that..???....!!!!....<g g g g> | ... | Actually, multi-pass compilers (AsFarAsIRecollect) can give you that, | or at least give you a start toward that. But AFAIR, the Borland | C/C++ compiler is a "one-pass" compiler, isn't it...?? | ... | But, back to "I've been thinking about that"....that's one of the | reasons why I went and bought that PCLint....it'll check out code, big | time, but, it also gives something like that function breakout that you | are looking for... | .. | HOWEVER (this is just an expanded BUT....<g g g>...)...BUT...this CD-RW | install, CDRoast project gets first priority....because...because I've | gotta get my boxes set up BEFORE I lock into the next project...I've | GOTTA get my poor old 486 copied all off, so I can swap the motherboard | for an IBM/Cyrix P150+ mobo/128MbyteRAM, etc, etc...because I don't have | a reliable box to put stuff on...and keep the stuff organized... | ... | So, after I get that done, I'll install the PCLint and see what it gives | us...and..FIRST..I've gotta move that PROJECT #1 along to the production | stage...and that's this week's project, along with getting the CD-RW | working with CDRoast.. | | | ============================================================================ | | 227) Tue, Jan 24, 2006 - 7:22:04 pm | | gregy> | Oh, and Re: the CarrierDetect idea...as I said...furgedaboudit...we | already have it...we just don't realize it...and it's not any key | priority....and...it was MY "nice thought"...so it's my perogative to | call it a "bad idea" for the time being..... | ... | We've got LOTS better things to worry about... | ... | | | ============================================================================ | | 228) Tue, Jan 24, 2006 - 7:25:21 pm | | gregy> | Oh, BTW...I have that BTC CD-RW drive installed on this P133 box, and | driver loaded, and fully READ accessable in Arachne, right now, while | I'm posting here.... | .. | I'm having some peculiar symptoms with the CD-RW driver, so I haven't | tried to "LOAD HIGH"...so it's loaded LO....but...I've still got over | 132Kbytes FREE, with Arachne ONLINE.....<g g g>....right now.. | | | | ============================================================================ | | 229) Tue, Jan 24, 2006 - 7:57:07 pm | | ray> | Eric, go ahead and make fun of my spelling, I do <:-) | Right about coons, tho I don't think there as smart as folks tend to | give them credit for, I think there basicaly just very bold and | agile. But skunks are so dumb the will jump into an empty garbage can | that's filling with water. | | As to projects, set your own pace my man. | This PClint sound very interesting. | But we DONT have CD detect built in AFAICT, the 'timeout' code | is totaly different and can trigger for reason besides loss of | carrier. I'll put it on ice for now, but I like it. | | | ============================================================================ | | 230) Tue, Jan 24, 2006 - 7:59:45 pm | | ray> | Gregy, | | Tis just such things that my core was made for, when memory is | tight. 132 is in the danger zone but my core will give you lots of | headroom (assuming it's debugged that is). | | | | ============================================================================ | | 231) Tue, Jan 24, 2006 - 8:00:33 pm | | gregy> | Oh, and that drive is kinda neat...it powers down after so long of "no | access"...I just found out, by doing a "test access" of it, and it'd | powered down, and I heard it spin back up for my access....<g g g> | .. | I mean...even it the BTC drivers aren't working...the Opti driver is... | and the drive seems to be working "jes fawn"..thank ya.....<g g g> | | | | ============================================================================ | | 232) Tue, Jan 24, 2006 - 8:03:55 pm | | ray> | Most cool, once you get that working I might tag along, CD writing | is one of the last things I've gota use windows for. | | | ============================================================================ | | 233) Tue, Jan 24, 2006 - 8:07:03 pm | | gregy> | Ray...trust me....we DO have CD...it's just hidden...<g g g>...just | shelve it, for now, and I'll future tell you eggs ACKery where it's | located, and how to slightly improve it, so it'll do sorta sumpin like | I was thinking of.. | .. | Re: "Headroom"..."danger zone"....???? what EVer are you talking | about...132 is "in the green" and it's more than I ever had before... | ..I mean, "back in the old days"....I used to cruise ONLINE with 75K | just fine....and.. | ..and...whenever I get this driver-quirk figured out, and this drive | has tested out fine, then I'll load it HIGH, and I'll be back to my | (usual, current) 177Kbytes... | ... | | | ============================================================================ | | 234) Tue, Jan 24, 2006 - 8:25:41 pm | | glennmcc> | Got a few words for 'ya | | Beethoven, symphony #9, choral theme. :)) | | | ============================================================================ | | 235) Tue, Jan 24, 2006 - 8:27:51 pm | | glennmcc> | Borland C/C++ v3.1 == single pass compiler/2 pass linker | | ============================================================================ | | 236) Tue, Jan 24, 2006 - 10:05:31 pm | | ray> | Gregy, | | There are things that need 150, like some .asf's, IIRC, right Glenn? | Mind they probably shouldn't need that much, one day I'll sniff | around there and see what I can see. | | | ============================================================================ | | 237) Tue, Jan 24, 2006 - 10:14:14 pm | | gregy> | Ray...Glenn....nothing in the past 6 years has needed "150"...'cause | I've been running with less than that, always, until just this past | year, when I switched over to OpDOS 7.01, etc, and started loading most | of my drivers high, especially the EPPPD packet driver..... | ... | After making this transition, I now run with normal 177KbytesFREE..but | I could still get by with my old-style 75KbytesFREE....I did it right | up until last year.. | | | | ============================================================================ | | 238) Tue, Jan 24, 2006 - 10:15:50 pm | | gregy> | And...my current rock-solid 132+KbytesFREE is more than enough.... | .. | | | ============================================================================ | | 239) Tue, Jan 24, 2006 - 10:53:17 pm | | glennmcc> | general 'rule of thumb' ... | | My core needs 550kb free before starting Arachne. | | CORE 428,320 ( 418K ) | | 550 - 418 = 132kb inside of Arachne | | Since I have 628 free before starting... | | 628 - 418 = 210 after starting. | | ============================================================================ | | 240) Tue, Jan 24, 2006 - 11:08:09 pm | | gregy> | yep...that sounds about right....and..."back in the old days"...we used | to run online with anything more than about 75KbytesFREE.... | | | | ============================================================================ | | 241) Tue, Jan 24, 2006 - 11:17:47 pm | | Eric> | glennmcc, I've got a few words for you..."Roll over Beethoven!" | Piatorevski needs more room ! <ggg> | | ============================================================================ | | 242) Wed, Jan 25, 2006 - 12:25:05 pm | | Eric> | spelling correction: Piatorevski == Paderewski | | I knew it didn't look right...just couldn't get the data banks in sync. | | ============================================================================ | | 243) Wed, Jan 25, 2006 - 12:28:07 pm | | ray> | Gregy, well you can't argue with sucsess, but I do remember that there | is something that won't work with less than 150, Glenn and I talked | about it but that's all I remember. If it's not a problem there then | it's not a problem. | | | | ============================================================================ | | 244) Wed, Jan 25, 2006 - 1:44:35 pm | | glennmcc> | Most (but not all), .ASF scripts need 150+ | | Some (very few), will work OK with 130 | | ============================================================================ | | 245) Wed, Jan 25, 2006 - 1:45:44 pm | | glennmcc> | Ray, | | What is your core using according to memcore.dgi | | ============================================================================ | | 246) Wed, Jan 25, 2006 - 1:46:49 pm | | glennmcc> | file/memcore.dgi >HTM|[10]mem /C|$esystem\\dgi\\fixmem.com /C>$2 | | | ============================================================================ | | 247) Wed, Jan 25, 2006 - 1:47:21 pm | | glennmcc> | CORE 428,320 ( 418K ) 68920 | | ============================================================================ | | 248) Wed, Jan 25, 2006 - 3:28:24 pm | | ray> | | DOS memory information Arachne 1.85:B6- | file:u:\source\arachne\core\working\memc.dgi Wed, 25 Jan 2006 14:2 | ____________________________________________________________________________ | | | DOS memory information | | | Note: Arachne requires at least 425 KB of | conventional memory to run correctly | ==================================================== | | | Modules using memory below 1 MB: | | Name Total Conventional Upper Memory | -------- ---------------- ---------------- ---------------- | SYSTEM 18,080 (18K) 10,960 (11K) 7,120 (7K) | HIMEM 1,168 (1K) 1,168 (1K) 0 (0K) | EMM386 4,320 (4K) 4,320 (4K) 0 (0K) | 4DOS 9,648 (9K) 432 (0K) 9,216 (9K) | CORE 369,424 (361K) 369,424 (361K) 0 (0K) | 4DOS 4,064 (4K) 1,024 (1K) 3,040 (3K) | NANSI 3,184 (3K) 0 (0K) 3,184 (3K) | RAMDRIVE 1,456 (1K) 0 (0K) 1,456 (1K) | IFSHLP 2,864 (3K) 0 (0K) 2,864 (3K) | SMARTDRV 35,056 (34K) 0 (0K) 35,056 (34K) | 320-180C 5,296 (5K) 0 (0K) 5,296 (5K) | KSTACK 1,072 (1K) 0 (0K) 1,072 (1K) | CTMOUSE 3,360 (3K) 0 (0K) 3,360 (3K) | NOVA_RAY 5,264 (5K) 0 (0K) 5,264 (5K) | PRTSCR 1,440 (1K) 0 (0K) 1,440 (1K) | LSPPP 28,624 (28K) 0 (0K) 28,624 (28K) | Free 318,624 (311K) 267,296 (261K) 51,328 (50K) | | Memory Summary: | | Type of Memory Total Used Free | ---------------- ----------- ----------- ----------- | Conventional 655,360 388,064 267,296 | Upper 158,320 106,992 51,328 | Reserved 0 0 0 | Extended (XMS) 132,945,296 15,865,232 117,080,064 | ---------------- ----------- ----------- ----------- | Total memory 133,758,976 16,360,288 117,398,688 | | Total under 1 MB 813,680 495,056 318,624 | | Largest executable program size 267,280 (261K) | Largest free upper memory block 49,920 (49K) | MS-DOS is resident in the high memory area. | | ================================ | | That's with 0x6000 of stack. With 0x8000 it'd be about 10K more | and maybe even 0x8000 aint enough for Eric's machine. | | | ============================================================================ | | 249) Wed, Jan 25, 2006 - 3:58:25 pm | | ray> | Enough fartin' around. Eric, I just sent a core with the original | stack size restored, let's get at least that sorted out once and for | all. | | | | ============================================================================ | | 250) Wed, Jan 25, 2006 - 4:25:14 pm | | glennmcc> | 428,320 | - 369,424 | _________ | 58,896 bytes less..... not too shabby dude. :)) | | ============================================================================ | | 251) Wed, Jan 25, 2006 - 4:28:25 pm | | glennmcc> | //velikost stacku (tr.: size of stack) | //!!glennmcc: July 16, 2005 -- bad idea... it causes many, many crashes :( | //unsigned _stklen=32750u;//!!glennmcc: July 09, 2005 -- reduced stack size | unsigned _stklen=65500u; | | | ============================================================================ | | 252) Wed, Jan 25, 2006 - 4:30:16 pm | | ray> | It's been a lot of work, and from what I've discovered in the last | few weeks, the fun has only started. I see now how carefully MP | designed Arachne, but how that design failed to change when needed, | and also how he went off the rails toward the end. | | | ============================================================================ | | 253) Wed, Jan 25, 2006 - 4:32:24 pm | | ray> | Yeah, 0x6000 (24,576) if fine here, but it seems you were right, there | are troubles lurking. I should be able to get by with a smaller stack | due to some of my restructures, but we'll let Eric be the guinea-mouse | as far as that goes. | | | ============================================================================ | | 254) Wed, Jan 25, 2006 - 5:01:39 pm | | glennmcc> | 0x6000 is OK on yours. | 0x8000 == 32768 == many crashes in my tests | | My current setting is right back where it was originally at 0xffdc | | ============================================================================ | | 255) Wed, Jan 25, 2006 - 5:03:16 pm | | glennmcc> | BTW, | | 65500u is a lot easy to interpret that is 0xffdc <ggg> | | | ============================================================================ | | 256) Wed, Jan 25, 2006 - 5:57:06 pm | | Eric> | Squeak.....Squeak.....Squeeeeeeeak !!!! | | ============================================================================ | | 257) Wed, Jan 25, 2006 - 5:59:21 pm | | ray> | True, but 0xF000 is easier yet. I always use hex for these big numbers, | it's easier to get a nice round value that is machine friendly. | Glenn, it would be interesting to see what size stack you needed using | my core, it would give a bit of a reference point vis. this trouble | with Eric -- is 0x6000 usable just on my machine? 0x8000 ? Are | Eric's troubles really stack troubles or is it something else? | | BTW, just for fun I traced some calls from head to toe: | | main() | calls ClockAndTimer() | calls RedrawAll() | calls Toolbox() | calls DrawIkons() | calls GetListNext() | calls IEgetSwap() | | And I'm sure there's worse out there. Add in modem interrups and | it's no surprise we need a big stack. | | | | ============================================================================ | | 258) Wed, Jan 25, 2006 - 6:00:06 pm | | ray> | Glenn, the mice need feeding. | | | | ============================================================================ | | 259) Wed, Jan 25, 2006 - 6:14:02 pm | | glennmcc> | Feeding, you say ? <g> | | Eric, | Are you up for a test-compile of my core at the stack level Ray suggests of | 0x8000 ? | | ============================================================================ | | 260) Wed, Jan 25, 2006 - 6:19:53 pm | URL | | glennmcc> | If you're game....... http://www.cisnet.com/glennmcc/0x8000.zip | | BTW, | | Reducing the stack from 0xffdc to 0x8000 only saves 1kb of memory usage. | | CORE 427,296 ( 417K ) | | ============================================================================ | | 261) Wed, Jan 25, 2006 - 8:10:10 pm | | Eric> | glennmcc, Does this new 8000 core have vgaguard? | | | ============================================================================ | | 262) Wed, Jan 25, 2006 - 8:15:54 pm | | glennmcc> | yep :) | | ============================================================================ | | 263) Thu, Jan 26, 2006 - 1:56:24 am | | Eric> | glennmcc, Hey, this version says: "Arachne 1.91" | | ============================================================================ | | 264) Thu, Jan 26, 2006 - 4:42:49 pm | | glennmcc> | <gggggggggggggg> | | | ============================================================================ | | 265) Thu, Jan 26, 2006 - 4:50:29 pm | | Eric> | glennmcc, You better watch it.....with a grin that big an | Albatros might fly into your mouth and set up house keeping. | | ============================================================================ | | 266) Thu, Jan 26, 2006 - 5:03:30 pm | | glennmcc> | Well, so be it. | | But he can only stay if he agrees to use my latest/greatest compile of core. | <gggggggg> | | ============================================================================ | | 267) Thu, Jan 26, 2006 - 5:07:42 pm | | ray> | This should be interesting, the stack wars ;-) | BTW I have a very tentative maybe might work fix for these | overflows that could make it possible to use a small stack and still | not have Eric's problems (if stack size is the problem, that is). | | | | | ============================================================================ | | 268) Thu, Jan 26, 2006 - 5:14:26 pm | | glennmcc> | If that latest core I made causes the same kinds of problems... | that will pretty much confirm that the problem is the smaller stack. | (only change made..... reduced stack from 0xffdc to 0x8000) | | ============================================================================ | | 269) Thu, Jan 26, 2006 - 5:24:13 pm | URL | | glennmcc> | http://www.cisnet.com/glennmcc/my-stuff/stack_wars.jpg <gggg> | | ============================================================================ | | 270) Thu, Jan 26, 2006 - 6:40:10 pm | | ray> | Laugh out loud. Man you always have something wierd going on <G> | | Now, getting hold -- maybe not, there could be some other bug | in my core, but I'm hoping it is the stack. I should be able to | get by with less, mostly becuase of the hundreds of dead variables | I removed and other optimizations but how much smaller remains to | be seen. Also, it the stack is waaay to small it will crash with | an EMM386 msg. and where the overflow shows up can't be predicted, | it all depends on scads of things that can't be predicted, like | hardware (read modem) interrupts. MHT is going to make me a | stack monitor and it should work with your core too, I'll keep you | posted. | | | | ============================================================================ | | 271) Thu, Jan 26, 2006 - 6:41:30 pm | | ray> | Hey I just did a cool thing, made my mouse go 'hot' when it's | on the toolbar, they are an active part of the screen, so the color | shouldn't be the 'cold' color. | | | ============================================================================ | | 272) Thu, Jan 26, 2006 - 7:23:07 pm | | gregy> | Ray...Re: "Stack Wars" we used to play "Core Wars" on the old IBM and | UNIVAC mainframes, and on the early DEC PDPs.... | ... | That's similar to "Stack Wars"..... | ... | | | ============================================================================ | | 273) Thu, Jan 26, 2006 - 9:32:56 pm | | ray> | Core Wars' eh? I think I'd like it ;-) | | | | ============================================================================ | | 274) Thu, Jan 26, 2006 - 9:46:41 pm | | gregy> | well, that greaaat biiiigggg IBM 360 had an enormouse 16Kbyte of core | storage, so...we could have a real battle, just trying to find the | "enemy"'s code in all that space.......<g g g g g g g> | | | ============================================================================ | | 275) Thu, Jan 26, 2006 - 9:50:12 pm | | gregy> | AFAIK...you can play "Stack Wars" in the same way we played "Core Wars" | ... | But...you'd hafta have the stack confined to one locked segment, and | everybody'd hafta "promise" to not jump out of there to go find the | "other guy's" control-code (as opposed to "war-code") in another program | or data segment... | ... | And, of course, suitable sanctions (say, round for the troops) would be | agreed upon BEFORE the war ('cause we KNOW that someone's gonna cheat, | sooner or later....<g g g>....)..... | | | ============================================================================ | | 276) Thu, Jan 26, 2006 - 10:30:20 pm | | ray> | Those were the days. A mainframe with 16K. | Being the stingy, byte scrounging fella I am, I would have liked it | back then. | | | | ============================================================================ | | 277) Fri, Jan 27, 2006 - 12:36:06 am | | Eric> | Ray, 'made your mouse go hot when it was on the "toolbar" ' | Eh? Seems someone else made that claim to me, once.....no... | t'was a hot rodent...but...t'weren't a mouse....I had a biggger, | flatter tail and swam a lot. | | ============================================================================ | | 278) Fri, Jan 27, 2006 - 1:04:11 pm | | Eric> | Ray, You like 16 K. Ram so much.....find yourself a Radio Shack | Model I that had to use a tape player/recorder to load/save programs. | You don't need so much room to run it and it should keep you busy | saving bytes for a long time! <ggg> | | ============================================================================ | | 279) Fri, Jan 27, 2006 - 1:12:46 pm | | glennmcc> | Hey... I got 2 of 'em upstairs in my storage room. | | TRS-80 model I, level 2 BASIC, 16k RAM, audio cassette deck for | program/data storage. | | BRB | | | ============================================================================ | | 280) Fri, Jan 27, 2006 - 1:15:24 pm | URL | | glennmcc> | http://www.cisnet.com/glennmcc/images/trs-80_1.jpg | http://www.cisnet.com/glennmcc/images/trs-80_2.jpg | http://www.cisnet.com/glennmcc/images/trs-80_3.jpg | http://www.cisnet.com/glennmcc/images/trs-80_4.jpg | | ============================================================================ | | 281) Fri, Jan 27, 2006 - 1:17:41 pm | | glennmcc> | See... I _told_ ya' I saved _EVERYTHING_. ;-) | | ============================================================================ | | 282) Fri, Jan 27, 2006 - 1:19:27 pm | | Eric> | glennmcc, Yeh, I knew you had some RS's but I wasn't sure | which exact models. Anyway, I don't think you want to part | with them based on your previous "pack rat" post. | | | ============================================================================ | | 283) Fri, Jan 27, 2006 - 1:22:00 pm | URL | | Eric> | Hey Guys, Use this for your "stack war" graphic! <ggg> | | ============================================================================ | | 284) Fri, Jan 27, 2006 - 1:40:16 pm | | glennmcc> | Oh, YEAH !!!! | | And the winner is ........ | | <gggg> | | ============================================================================ | | 285) Fri, Jan 27, 2006 - 1:55:33 pm | | Eric> | glennmcc, Does it matter who the winner is ??? <ggg>...... | in any "stack war" ??? | | | | ============================================================================ | | 286) Fri, Jan 27, 2006 - 2:15:21 pm | | glennmcc> | In _that_ kind of war... we _all_ win. <ggg> | | ============================================================================ | | 287) Fri, Jan 27, 2006 - 3:22:22 pm | | ray> | Eric, | | Love it. As to the winner, too bad there will not be a hard | answer to that one, cause stack usage will always vary a bit when | online. All we can do it find a size that works for our respective | cores for all of the people most of the time. | | ============================================================================ | | 288) Fri, Jan 27, 2006 - 6:55:42 pm | | Eric> | Ray, Re: stack usage....are you sure we don't want a size that will | work for "most" of the people "all" of the time. And then, we can help | the rest set their stacks so their setups work for them most (or all) | the time as each individual case allows. | | | ============================================================================ | | 289) Fri, Jan 27, 2006 - 8:00:59 pm | | Eric> | Darn it Ray , There you go playing with your "toolbar" again. | Leave the toolbars alone, hot or cold. Wouldn't you like to know more | about Javascript or secure connections? <ggg> I'm sure a sharp guy | like you could probably figure out how they work faster than I can. <ggg> | | ============================================================================ | | 290) Fri, Jan 27, 2006 - 8:06:13 pm | | Eric> | Ray, Udo would like you to make sure that he can't overwrite his | files. <ggg> | | ============================================================================ | | 291) Sat, Jan 28, 2006 - 12:56:58 pm | | ray> | Eric, | | What about Udo?? | As to stack size, once we know what's what, of course we can always | make custom cores for any size needed by anyone in particular, what | we need now is knowledge, you are doing fine with 0x8000 in Glenn's | core but he himself found that inadequate, I use 0x6000 with no | problem but ... | | | | ============================================================================ | | 292) Sat, Jan 28, 2006 - 1:05:34 pm | | ray> | Anyway, it that last core sent to you still gives you trouble then | it can't be stack related, that seems sure. | | | ============================================================================ | | 293) Sat, Jan 28, 2006 - 4:53:32 pm | | Eric> | Ray, What do you mean "what about Udo?" Haven't you been reading | his emails on the List? | | About "my troubles",I couldn't download Gregy's boards again last night/ | early this morning. I'm not sure if it's my ISP/Library or something | else, but it isn't Arachne's fault, and it isn't DNS failure 'cause it | connects initially but it then stalls. I don't know that much about | stack use to comment on that but Glenn's cores don't have the problems. | | ============================================================================ | | 294) Sat, Jan 28, 2006 - 5:14:55 pm | | ray> | Eric, | | RE Udo, not really, when I idenfity a message about something that | I'm not involved in at the moment I just give it a brief scan -- | gotta focus on problems on my own plate. | | RE connection to the boards, I have times when they don't work too, | but I don't think its any of our fault, seems to be at the other | end. If it was a core problem it would be more common I'd say. | I'm conserned about the Google thing, tho, that does sound like | it's core related. And of course the screensaver hangs were | probably stack related. FYI, the stack is where the program | stores stuff when it has to stop doing what it's doing to do | something else. For example, If a function calls another function, | all the variables created by the first function are stored on the | stack while the program fires up the second function. When the | 2nd returns, the stacked values are retrieved and the first function | continues on it's way. It there is a hardware interrupt, say | by the modem, the program also has to store what it's doing, | handle the interrupt and then resume. | | | | ============================================================================ | | 295) Mon, Jan 30, 2006 - 2:01:05 pm | | gregy> | Re: Boards didn't load. In the future, when these boards don't load, | to reassure yourselves, just try to load: | http://home.onewest.net/ (which is my ISP's home page) and you will | be able to tell whether or not it's just the boards, or all the servers. | ... | In last weekend's case, all my ISP's servers were almost down (not quite | but nothing >10K would download)....almost all of Friday night and early | Saturday morning... | ... | I posted a headsup over on Glenn's AQC....so...that's also a place to | check...if these boards aren't downloading.. | | | ============================================================================ | | 296) Mon, Jan 30, 2006 - 3:18:00 pm | | ray> | Gregy, | | Thanks for that. One of the most unpleasant things when testing or | hacking away at the code is that when something does't work you've | gota figure out if it's the code or some external thing or other. | Or it can even be something in the code that reacts differently to | different users, like this stack thing. My tests show that 0x6000 | gives me about 300 bytes of freeboard in every situation that I've | come across so far, but that's not enough for Eric. | | | ============================================================================ | | 297) Mon, Jan 30, 2006 - 3:39:31 pm | | Eric> | Ray, If it's my stack, why don't I get an "out of stack" | message? How do you know for sure that the stack space is the problem? | | | ============================================================================ | | 298) Mon, Jan 30, 2006 - 3:41:44 pm | | Eric> | Ray, Can't I somehow check my stack space? | | ============================================================================ | | 299) Mon, Jan 30, 2006 - 4:16:45 pm | | gregy> | et al...Re: these boards down.....I'm thinking about putting "huricane | alternates" up (identical boards) on AVA, then, when (not IF, when) | these go down, you guys can immediately access those AVA ones and know | two things (1) YOU are NOT dead, and (2) the others aren't, either. | ... | <g g g g> | .. | At all other times, we can still keep on using these...they're pretty | reliable....but...in the past 6-8 months, my ISP has had 3 problems.. | ..which record is NOT bad, but, we might could do with emergency | alternates.. | .. | Thoughts...???....Comments....??? | | | ============================================================================ | | 300) Mon, Jan 30, 2006 - 4:51:29 pm | | glennmcc> | AVA has been 'flaky' for about 2 weeks now. | | The new PHP board you put up is veerrryyy sslllooowww to load. | | 'The other place' is again unusable in Arachne on my DSL connection | just like it was a couple of months ago. :(( | | BRB | | | ============================================================================ | | 301) Mon, Jan 30, 2006 - 5:04:54 pm | | glennmcc> | Still no go. | | My 'fix' for the same problems a couple of months ago does not work this tim | (56k dial-up with Miniterm/Epppd and MSS=1024) | | Choosing to show additional posts results in the same message. | | "There have been no messages submitted in the last 1800 seconds!" | | If I make a post... that post shows, but it will not show any other | posts from more that 1800 seconds ago. | | ============================================================================ | | 302) Mon, Jan 30, 2006 - 5:12:28 pm | | glennmcc> | Same problem with Lsppp as dialer/packet driver. :( | | ============================================================================ | | 303) Mon, Jan 30, 2006 - 5:57:19 pm | | ray> | Eric, | | Funny you should ask, see the other board ;-) | | Anyway, these overflows usualy won't give any message because the | overflowing stack can trash the .exe in memory so bad that it | can't even scream before it dies. If the overflow is 'mild' there | is sometimes a message. FYI, the stack works 'upside down' that | is, the very top of the code in memory is the very bottom of the | stack, so when the stack overflows, it starts to overwrite exectutable | code as it writes downward. | | | | ============================================================================ | | 304) Mon, Jan 30, 2006 - 6:00:56 pm | | ray> | So .... | | .... what would happen if the code at the top of memory was something | not to important? Supposing 'finger.c' was linked last and if the | stack overwrote it, so what? It would be easy to put piles of code | up there that is hardly ever used. | | | ============================================================================ | | 305) Mon, Jan 30, 2006 - 6:36:37 pm | | glennmcc> | Nevermind all of my ramblings... I found the problem. | | It was a bug in my experiment. :( | | | --- in CGIQUERY.C --- | | //!!glennmcc: Jan 11, 2006 -- if value="" ... value=(blank) | if(strlen(ptr)<3 && !strstr(GLOBAL.location,"file:")) | makestr(p->buf,"\0",BUF); else | //!!glennmcc: end | | | //!!glennmcc: Jan 11, 2006 -- if value="" ... value=(blank) | if(strlen(ptr)<1 && !strstr(GLOBAL.location,"file:")) | makestr(p->buf,"\0",BUF); else | //!!glennmcc: end | | Fixed it... <1 not <3 | | | AVA now working perfectly. :) | | ============================================================================ | | 306) Mon, Jan 30, 2006 - 8:39:25 pm | | gregy> | would you like to post the new core, with that fix, since the problem | on AVA is showing up in 1.87, too... | ... | | | | ============================================================================ | | 307) Mon, Jan 30, 2006 - 8:42:36 pm | | glennmcc> | Dangit... that fixed the problem at AVA, but the problem at the game | site was back again. :(( | | http://www.freelists.org/archives/arachne/01-2006/msg00042.html | | Now I got BOTH problems fixed. :)) | | //---------------------------------------------------------- | else if(subtype==SELECT && cgi) | | //Note: select tag cannot modify ARACHNE.CFG. It would be nice, | //maybe when everything else is done we can take a look at it. | { | i=0; | while(i<tmpeditor.lines && qlen<MAXQUERY-80-IE_MAXLEN) | { | ptr=ie_getline(&tmpeditor,i); | if(ptr) | { | if(*ptr=='1') //selected value: | { | if(ptr[1]) | strcpy(p->buf,&ptr[1]); | else | //!!glennmcc: Jan 11, 2006 -- if value="" ... value=(blank) | if(strlen(ptr)==1 && i==0) makestr(p->buf,"\0",BUF); else | //!!glennmcc: end | makestr(p->buf,ie_getline(&tmpeditor,i+1),BUF); | | | OK Ray, | | Now you go to work on it and find an even better way to do it. <ggg> | | ============================================================================ | | 308) Mon, Jan 30, 2006 - 8:44:50 pm | | glennmcc> | Gregy, | | That line can't possibly be the problem with 1.87 | | I did not add that line till Jan 11 | | BRB.. I'll now try AVA with v1.87 | | ============================================================================ | | 309) Mon, Jan 30, 2006 - 8:46:28 pm | | glennmcc> | AVA working fine with v1.87 | | | ============================================================================ | | 310) Mon, Jan 30, 2006 - 9:25:49 pm | | ray> | Let me know when you are happy with it, then I'll see if I can | optimize it. | | BTW, you know that line in main() that calls XAnimateGIFs()? | That call is made furiously every second while looking at these | boards. AFAICT, there are no animated GIF's here, it looks like | the images at the top are some how believed by Arachne to | be animated. | | | ============================================================================ | | 311) Mon, Jan 30, 2006 - 9:49:42 pm | URL | | glennmcc> | http://www.hi-line.net/~gfeig/adev/xchaos1.gif == animated GIF | | ============================================================================ | | 312) Mon, Jan 30, 2006 - 9:51:48 pm | | glennmcc> | As to being happy with my line in cgiquery.c | | I'm ecstatic with it. :)) | | | ============================================================================ | | 313) Mon, Jan 30, 2006 - 10:01:16 pm | | glennmcc> | Correction.... | | _Now_ I'm ecstatic. <ggg> | | if(strlen(ptr)==1 && i==0) strcpy(p->buf,"\0"); else | | ============================================================================ | | 314) Tue, Jan 31, 2006 - 12:21:17 am | | gregy> | Glenn...I don't think that's an ani-gif...it's just that | rectangle..thing...I don't think it CAN be animated.... | | | ============================================================================ | | 315) Tue, Jan 31, 2006 - 1:25:10 am | | glennmcc> | The blue lightning bolts inside of the Xchaos logo are animated. | | | ============================================================================ | | 316) Tue, Jan 31, 2006 - 10:36:38 am | | Eric> | glennmcc, Correction, the lightening is sometimes animated. | Right now when I F5 to the animated XH gif, the lightening | flashes once and then goes away. | | ============================================================================ | | 317) Tue, Jan 31, 2006 - 10:38:30 am | | Eric> | glennmcc, to be more precise, the lightening keeps working until | this board is loaded, then it goes away. | | ============================================================================ | | 318) Tue, Jan 31, 2006 - 3:08:10 pm | | ray> | I never noticed that, they are animated indeed. | Here, they stay on all the time. But is there some performance | penalty for this, if so, I'd rather have a faster download maself. | | | | ============================================================================ | | 319) Tue, Jan 31, 2006 - 4:41:52 pm | | glennmcc> | Eric, | | Yep, the XH logo on the GUI itself will only animate with its various | indicators while something is going on. | | The animated GIF we are refering to is this one... | http://www.hi-line.net/~gfeig/adev/xchaos1.gif | | It is 'embeded' within the SRC of this page just to the right of... | 'Arachne DOS Coders1 Message Board' | | | | | | ============================================================================ | | 320) Tue, Jan 31, 2006 - 4:44:30 pm | | glennmcc> | Ray, | | No there is no 'performance penalty'. | | And as for 'faster download'. | | Grabbing a 2708 byte GIF don't slow ya down... do it ? <ggg> | | ============================================================================ | | 321) Tue, Jan 31, 2006 - 5:59:17 pm | | ray> | I dunno, if you say so. But, I find it animates all the time, | my core and yours (187 right now). | | | | ============================================================================ | | 322) Tue, Jan 31, 2006 - 6:03:27 pm | | glennmcc> | Yes... it's _supposed_ to animate all the time. | That's what animated GIFs do. <gggg> | | But it does not slowdown the downloading of the page. | | So changing anything in the way that anmaited GIFs are handled is not | got to give you... "I'd rather have a faster download maself." | | <ggg> | | ============================================================================ | | 323) Tue, Jan 31, 2006 - 6:29:44 pm | | ray> | ok | | | ============================================================================ | | 324) Tue, Jan 31, 2006 - 6:33:06 pm | | ray> | BTW, you can't do this stack monitoring the way I can, but, once | I've figured out if the low points always occur in the same | group of functions, and if it's not a big list, there's no | reason why you couldn't put in some monitoring yourself: | | if(_SP < [some safe size]) | { Beep(); Outsf("RED ALERT! STACK IS LOW!"); } | | | ============================================================================ | | 325) Tue, Jan 31, 2006 - 8:33:24 pm | | gregy> | Glenn...pardon me...but I think you're nuts...<g>...that .GIF that is | on this board does NOT animate here, with 1.87...and NEVER has with | any previous version....you surely are kiddin', aren't you....?? | ...<g g g> | | | ============================================================================ | | 326) Tue, Jan 31, 2006 - 8:36:08 pm | | ray> | It's very hard to see, I never noticed it until I looked very | closely and saw the very faint blue lightning inside the logo. | | | | ============================================================================ | | 327) Tue, Jan 31, 2006 - 9:18:38 pm | | glennmcc> | gregy, | | Nope... no kiddin' it _is_ indeed animated. | | Need new glasses... do we ? | | <ggg> | | ============================================================================ | | 328) Tue, Jan 31, 2006 - 11:22:59 pm | | gregy> | he he....you're right...but...(youknewthiswascoming)...I wouldn't | call | that "animation"....that's more like "micro-animation"...<g g g g g> | .... | BTW...I'm gonna archive this board at midnight... | ... | | | ============================================================================