HP3000-L Archives

February 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Mon, 24 Feb 1997 07:52:03 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Chris Breemer asks:

>1) How does one get around the CR/LF difference ? Files on MPE created by
>Samba
>   now get CR/LF instead of just LF. Conversely, because of missing CR's,
>MPE files are
>   not displayed correctly by Notepad (Wordpad does them just fine though).

This is one of the joys of using a mixed environment. There's no way to
get around it without either (a) using tools that don't care about the
difference between line terminations, or (b) using a conversion program.

We use both Samba (for Wintel) and Netatalk (for Apple) on our Unix box
(we're just one big, happy file server here!). Since all three use
different line termination conventions, there are some difficulties with
file sharing. It turns out that most Macintosh text editors, and
Microsoft's PC developer tools, are unfazed by the line termination
differences. You just need to find a PC editor that'll deal with the
problem.

Netatalk has an option for doing line termination conversion, but we keep
it turned off. It turns out that such conversions can cause more problems
than they solve, if a binary file masquerades as a text file.

-- Bruce


--------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
[log in to unmask]                   |     -- Edna St. Vincent Millay

ATOM RSS1 RSS2