MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: PowerMac kernel eccentricity

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg1816] Re: PowerMac kernel eccentricity
  • From: rdieter at mathlab41.unl.edu (Rex Dieter)
  • Date: Thu, 17 Aug 1995 00:03:34 -0400
  • Organization: University of Nebraska--Lincoln

In article <DDDr6t.B2K at wri.com> wmm at chem.wayne.edu (Martin McClain) writes:
> Dear mathgroupers-
> Advice from Paradise
> "...this issue has come up a couple of times in different places. The
> PowerMacintosh native version of Mathematica handles \r and \n differently
> from other versions of Mathematica... ."  Where the PowerMac uses \r
> (return), all other kernels use \n (newline).
> 
> The Fix
> In the package script, just above BeginPackage, I wrote
> 
> This seems basically to solve the problem, and it is invisible to the user.
> But if WRI  continues to make print variants in the kernels on different
> machines,  this stuff could get out of hand.

It is not WRI's fault neccisarily.  Mac, MSDOS, and UNIX all treat text files  
a little differently.  I bet your problem may arise when porting items  
between any of these platforms.  I personally have seen odd things (= lots of  
extra spaces between paragraphs, etc) when porting documents from MSDOS to  
UNIX, because MSDOS uses a \r AND \n and the ends of line, whereas UNIX only  
uses \n.

--
Rex A. Dieter                            rdieter at math.unl.edu (NeXT/MIME)
Research Associate                       Voice: (402)472-9747 
Department of Mathematics and Statistics FAX:   (402)472-8466 
University of Nebraska - Lincoln         http://www.math.unl.edu/~rdieter/


  • Prev by Date: PowerMac kernel eccentricity
  • Next by Date: Re: Problem with ComplexExpand[Abs[]]
  • Previous by thread: PowerMac kernel eccentricity
  • Next by thread: Re: PowerMac kernel eccentricity