[Coco] Os9 Intercept

Bill Pierce ooogalapasooo at aol.com
Tue Oct 30 12:12:18 EDT 2012


Gene, from what the C manual says, with puts, the CR is added in software, as the command is executed so there's no way to trim it that I know of. Since write terminates with a null, this may be what I need to use.

Bill P

Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Bill Pierce
ooogalapasooo at aol.com



-----Original Message-----
From: Gene Heskett <gheskett at wdtv.com>
To: coco <coco at maltedmedia.com>
Sent: Tue, Oct 30, 2012 12:03 pm
Subject: Re: [Coco] Os9 Intercept

That sounds like a problem, because the cr is treated as the implicit 
FFlush signal IIRC. About the only way I can think of at this late date is 
the "echo -n text" but I'd think in a C program that would be described as 
clumsy, and that is being kind.

Since you control the length of the string using puts, what happens if you 
declude the cr when setting how much it writes?  OTOH, I haven't carved any 
C since I put PF out to pasture when the ribbon supply for my big xerox DWP 
went dry. Circa 15 or more years back up the log.  To say my wet ram is 
rusty is being kind. :(

> Music from the Tandy/Radio Shack Color Computer 2 & 3
> https://sites.google.com/site/dabarnstudio/
> Bill Pierce
> ooogalapasooo at aol.com
> 
> 
> 
Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
As the trials of life continue to take their toll, remember that there
is always a future in Computer Maintenance.
		-- National Lampoon, "Deteriorata"

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco

 



More information about the Coco mailing list