To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 411
410  |  412
Subject: 
Re: LF vs. CRLF in server .DAT script
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 27 Feb 1999 01:25:03 GMT
Viewed: 
1062 times
  
In lugnet.cad.dev, lehman@javanet.com (Todd Lehman) writes:
p.s.  Paul:  while testing the change to the script, I accidentally wrote
   print "$_\013\010";
when I meant to write
   print "$_\013\012";
\010 is ASCII backspace and it caused LDLITE 1.5 to GPF on me.  No biggie but
you probably wanna know.

Grrr, where is my brain today.

I meant that I wrote
   print "$_\015\010";
when I meant to write
   print "$_\015\012";

I always get octal wrong, durnit.  (But ASCII octal values "\015\012" are more
portable than writing "\r\n" in this case, because here we specifically want
13 and 10, not whatever \r and \n happen to evaluate to.)

--Todd



Message has 1 Reply:
  Re: LF vs. CRLF in server .DAT script
 
Todd Lehman wrote in message ... (...) Try this ( actual method used at SVCC in 1974 ). Tape your thumb to the second joint of your index finger of your right hand. Now put your left hand in your pocket. Now count to count to 6 in octal with your (...) (26 years ago, 27-Feb-99, to lugnet.cad.dev)

Message is in Reply To:
  LF vs. CRLF in server .DAT script
 
[Added lugnet.cad.dev & lugnet.cad to newsgroups list; followups set to lugnet.cad.dev] (...) Jonathan: Thank You for noticing this and reporting this!! Please let me know if the fix doesn't work for you (worked for me, but I only tested with LDLITE (...) (26 years ago, 27-Feb-99, to lugnet.admin.general, lugnet.cad.dev, lugnet.cad)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR