💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › FAQs.and.INFO › UNIX.A2.GS.IN… captured on 2023-03-20 at 22:55:50.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Path: news.weeg.uiowa.edu!news.uiowa.edu!hobbes.physics.uiowa.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!toddpw
From: toddpw@cco.caltech.edu (Todd P. Whitesel)
Newsgroups: comp.binaries.apple2
Subject: Re: binsciis
Date: 30 Nov 1992 08:28:55 GMT
Organization: California Institute of Technology, Pasadena
Lines: 21
Message-ID: <1fcjc7INNkdk@gap.caltech.edu>
References: <1aB1uB4w165w@bluemoon.use.com> <1992Nov29.222123.9140@scott.skidmore.edu>
NNTP-Posting-Host: sandman.caltech.edu

mcobb@scott.skidmore.edu (mary cobb) writes:

>Hi... use the unix format.  Unix doesn't like Apple CR's too much, most of
>the time it prefers it's own newline.  Your upload will be stored on a unix
>file system, so use the unix format.

NO! Not Everyone Has Unix. If you are having problems with CR-LF conversion,
then it means you are uploading your text files in binary mode (shame shame).
Besides, it is easy to convert those characters on the unix system:

alias lf2cr "cat \!^ | tr '\012' '\015' > \!^.X ; rm -f \!^; mv \!^.X \!^"
alias cr2lf "cat \!^ | tr '\015' '\012' > \!^.X ; rm -f \!^; mv \!^.X \!^"

add these two lines to your .cshrc (unless you use a Bourne compatible shell,
in which case get a local guru to help you translate) and use:

cr2lf file	to convert "file" from apple to unix format, and
lf2cr file	to convert "file" from unix to apple format.

Todd Whitesel
toddpw @ cco.caltech.edu