Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

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

Search the Archive

Re: Download from Mathsource

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg1661] Re: Download from Mathsource
  • From: wjrowe at ccgate.hac.com (Bill Rowe)
  • Date: Tue, 11 Jul 1995 03:37:11 -0400
  • Organization: Hughes Space Company

In article <3s5kle$5hs at news0.cybernetics.net>, supermac at bart.nl (stecchin)
wrote:

|I have experienced some problems downloading .m files (packages) from
|Mathsource to my Mac.
|The files arrive as text files and when I open them with MMA everything
|seems ok, but when I execute the file I get error messages.
|This is because of the different way computers deals with line feeds and
|carriage returns.
|I can see this by saving the loaded file with MMA. Now it has become a MMA
|file and the next time I load it I can see the "missing character" sign in
|place of the LF/CR characters.
|I can use find and replace to solve the problem, but it's lengthy and annoying.
|Is there a better way to get the files with the corect characters right
|away from the Net? I normally/preferrably download with Netscape 1.1 "save
|link" command, but I could also use Fetch or something else if necessary.

You might also try opening the file with BBEdit Lite and saving the file
with the appropriate line terminator. BBEdit Lite will correctly translate
either DOS or UNIX line terminators to Mac or vice versa using the
appropriate options when saving the file. BBEdit Lite should be on your
favorite sumex mirror. If you can't find it there email me at
browe at netcom.com and I will glady give you the URL for BBEdit Lite on
netcom.com.

Also, there are a variety of drag and drop utilities available that will
do the same thing. I believe in the same directory is a program called
Text Changer that will also do the trick.

Neither of these are quite as convienent as having the line terminator
changed as the file is being downloaded but I don't know of any program
that does this.

-- 
#include std disclaimers


  • Prev by Date: Re: How do I find my current directory?
  • Next by Date: Re: I'm looking for an algorithm: Cartesian Product
  • Previous by thread: Re: Formated output
  • Next by thread: Re: Download from Mathsource