[Coco] Os9 Intercept
Retro Canada
retrocanada76 at gmail.com
Tue Oct 30 12:35:07 EDT 2012
well I fount out that getchar demands an ENTER, like gets(stdin). This
C compiler is very buggy.
On Tue, Oct 30, 2012 at 12:12 PM, Bill Pierce <ooogalapasooo at aol.com> wrote:
>
> 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
>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
--
Panasonic FSA1-WSX
Commodore 64
Commodore 64C
Commodore 128
Apple //c
TRS-Color Computer 3
TI-99/4A
..and more coming!
More information about the Coco
mailing list