X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd588,f04105921e11bfd4 X-Google-Attributes: gidfd588,public From: llizard Subject: Re: tapdance - new Javascript ASCII-animation Date: 1999/05/08 Message-ID: <373432BC.6604@iNOdirect.ca>#1/1 X-Deja-AN: 475507521 Content-Transfer-Encoding: 7bit References: <372F6FCE.36D6@iNOdirect.ca> <3730bde0.3409877@NEWS.DATAWEB.NL> <37317FA2.52E0@iNOdirect.ca> <37339aee.20679253@NEWS.DATAWEB.NL> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@bigmomma.com X-Trace: momma.bigmomma.com 926167742 216.154.1.152 (Sat, 08 May 1999 08:49:02 EDT) Organization: Canada; zone 6A (or is it 5b?) MIME-Version: 1.0 Reply-To: cq547@freent.toronto.on.ca NNTP-Posting-Date: Sat, 08 May 1999 08:49:02 EDT Newsgroups: alt.ascii-art.animation In article <37339aee.20679253@NEWS.DATAWEB.NL>, mmiicc@dataweb.nl (miK) wrote: > > llizard wrote: > > [emergency snip] > > >I have changed my template to remove any reference to /r/n that was in > >there before. (It was an earlier version of MSIE that caused us to even > >add the extra /r in the first place.) > > Oops! I didn't know you had changed the code (haven't read the last > part of the thread "Advanced Ascii Animation - NEW [1/1]") :(( > > First the good news: Your modified script _does_ work in MSIE4 on > Windows95 (that's the platform I used to watch your tapdance). > The bad news is it's no good in MSIE4 on a Mac! Boxes instead > of line breaks. > > Felt pretty bad about handing over false information. So with > the device "Thou shalt not extrapolate!" in mind, I ran the 4 > possible scripts -- using \n, \r, \n\r and \r\n (not /r/n!!) -- > on the 3 OS'es that I have at my disposal, and drew a > conclusion, just based on "trial & error". =) Hmmm. /r/n was a dyslexic typo in the post only. Sorry about that. I'm positive that I have never used it in the animations themselves. > Here are the results: > \n \r \n\r \r\n > msie4.0 (windows) + + - 3) + > ns4.04 (windows) + + - 3) + > msie4.01 (mac) - 1) + - 2) + > ns4.5 (mac) + + - 3) + > ns4.05 (linux) + + - 3) + > > sidenotes 1) no line breaks > 2) boxes > 3) extra blank lines > > It's either \r or \r\n I guess. But \n isn't that bad. > > ~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o~o > > About the remarks made by Matthew Thomas and Martin Atkins... > > Matthew -- using ns4.5 (mac) -- noticed extra blank lines. I didn't. > ...?? No offence, llizard, but did you by accident put in \n\r > instead of \r\n? > > Martin suspected the problems had something to do with the different > ways dos/windows, un*x/linux and mac treat the end of a line. He made > his remarks with this diagram in mind, probably: > > systems ____end-of-a-line______ ........... > ascii hex acr | javascript > dos&windows #13#10 0D 0A CR/LF | \r\n ? > un*x&linux #10 0A LF | \n ? > mac #13 0D CR | \r ? > > [out of RAM snip] > > >I have changed my template to remove any reference to /r/n that was in > >there before. (It was an earlier version of MSIE that caused us to even > >add the extra /r in the first place.) > > Was that the reason? But we couldn't even find a way to adjust a > fixed-width font to the anims in MSIE3... Thanks for doing the tests, Mic, but... ___ / Oh Woe is me! _/ | \_,v=--- |_____| _/< ' --- == > ' [_____] __>,^ ' ejm | | //| | I can't stand it. I will change everything to \r instead of \n. And no, I'm pretty sure that I didn't put \n\r instead of \r\n. (no offense taken) Matthew wasn't the only person who was getting double spacing. I guess it must have been the Mac that caused the addition of the \r. I knew the problem occurred in some machine I didn't have.... I suppose I could do two pages for each one (grrrr) or is there some way that I can put into the script something like "ifWin95 choose \n; if Mac choose \r" ? NOTE: I do not pick up my mail from the idirect address. If you are e-mailing and hit the reply button, add an "e" to "freent"; its absense is to stop the torment of automatic mailers. -- ___ llizard aka ejm cq547@freene+.+oron+o.on.ca _/ | ,^%--- |_____| __<_ \ Clearly, I know virtually --- == >/ NOTHING about the actual language. [_____] __>,^ ejm| | //| | www.geocities.com/SoHo/Studios/9334/