🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.micro.atari
4 messages
4 total messages Started by Bart Atwell Mon, 17 Feb 1986 22:33
Downloading Un*x files
#2512
Author: Bart Atwell
Date: Mon, 17 Feb 1986 22:33
10 lines
865 bytes
I have been trying to download some files from  a Un*x machine
and apparently what arrives doesn't have carriage returns.  Can 
anyone send me a program to convert from Un*x to ST text format,
either to run on the ST or the host?

Thanks in advance

Bart Atwell

-------
Re: Downloading Un*x files
#2537
Author: info-atari
Date: Thu, 20 Feb 1986 16:43
12 lines
1076 bytes
While I don't have an ST, you may want to check what the value of a
carriage return is on the ST, then use the UNIX 'tr' command to translate
a UNIX CR ('^J' or 012 octal) to the ST CR (lets say it's '^M' or 015 octal).
So on UNIX issue the command:

	tr "\012" "\015" <Unix_file >ST_file

this will change the '^J' to '^M' in the Unix_file and put the result in the
ST_file, which can then be downloaded.  This is what I do to download UNIX
files to my Atari 8-bitter (CR=233 octal).

					Owen Alexander
Re: Downloading Un*x files
#2539
Author: Clayton Cramer
Date: Thu, 20 Feb 1986 17:45
15 lines
1099 bytes
> I have been trying to download some files from  a Un*x machine
> and apparently what arrives doesn't have carriage returns.  Can 
> anyone send me a program to convert from Un*x to ST text format,
> either to run on the ST or the host?
> 
> Thanks in advance
> 
> Bart Atwell
> 
> -------

One of the annoying things about UNIX (compared to SENSIBLE operating
systems) is that "line feed" is the end of line marker.  Your best
bet is to write a filter under UNIX to replace '\n' with "\0x0d\n" in
the file you are downloading.
Re: Downloading Un*x files
#2550
Author: Fred Fish
Date: Sat, 22 Feb 1986 18:41
8 lines
976 bytes
In article <522@kontron.UUCP> cramer@kontron.UUCP (Clayton Cramer) writes:
>One of the annoying things about UNIX (compared to SENSIBLE operating
>systems) is that "line feed" is the end of line marker.  Your best
>bet is to write a filter under UNIX to replace '\n' with "\0x0d\n" in
>the file you are downloading.

Hmm.., why didn't you recommend he do it at the other end since it is 
obviously more "SENSIBLE"...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads