[Coco] Looking for "C" utils

Wayne Campbell asa.rand at gmail.com
Wed Mar 7 01:07:11 EST 2012


Mac and CoCo both use $0D (<cr>).

-- 
Basic09 is the language of the future ;)

Need to recover Basic09 I-Code source?
http://cococoding.com/wayne/
Download http://cococoding.com/wayne/decode.os9

asa.rand at gmail.com

-- 

----- Original Message ----- 
From: "Stephen H. Fischer" <SFischer1 at Mindspring.com>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Tuesday, March 06, 2012 6:39 PM
Subject: Re: [Coco] Looking for "C" utils


> Hi,
>
> I have a vague memory that Apple uses <LF> to separate lines.
>
> OS-9 uses <CR>.
>
> MSDOS and Windows uses "0D 0A" <CR><LF>.
>
> DECB uses <CR>??? I cannot find any file that can be trusted to be a SAVE 
> "DECB.BAS,A" on my laptop, all have "0D 0A" which must be wrong. All my 
> editing work is done on Windows these days and the transfer programs do 
> the conversion.
>
> But I doubt that it has ever changed.
>
> The removal of <CR> from a file is exactly what the intended application 
> needs. They are noise.
>
> I suspect that the "Rcr" routine is on the OP's computer, perhaps even the 
> source. It just has not been found yet.
>
> SHF
>
>
> ----- Original Message ----- 
> From: "Ries, Rich (S&FS)" <Rich.Ries at Honeywell.com>
> To: <coco at maltedmedia.com>
> Sent: Tuesday, March 06, 2012 5:55 AM
> Subject: [Coco] Looking for "C" utils
>
>
>> Stephen H. Fischer wrote:
>>
>> ... "Rcr" perhaps is a routine to remove Carriage Returns, but why would 
>> you want to do that?
>>
>> SHF
>>
>> Didn't the original CoCo use just a Line Feed ($0A) for the end-of-line 
>> marker? If so, and IF removing CRs was the purpose of the utility, then 
>> the utility would be useful for files transferred from MS-DOS/Windows 
>> machines, which use Carriage Return-Line Feed ($0D $0A) for the EoL 
>> marker.
>>
>> If our wild-eyed guess is correct, then it would be possible to create 
>> this routine from the "cat" program found in K&R's "The C Programming 
>> Language."
>>
>>
>> --Rich
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco 




More information about the Coco mailing list