[Coco] Text Files in Coco OS-9
Helio Emery Jr.
helioemery at hotmail.com
Mon Aug 15 20:06:37 EDT 2011
Thanks Lothan, with your directions I finally made it.
My keyboard is not a regular US keyboard, but a Brasilian one, so I´m not able to use Ctrl+, (comma) and Ctrl+. (period).
Neither Natural keyboard worked also, probably because of the same reason, not US keyboard.
The trigraphs also didn´t work, I do not know why.
But copying files from windows to OS-9 worked, but requires a little more work to get it done.
Since OS-9 and windows have differences about CR/LF (carriage return / line feed) formats, I needed to address this before copying the files to OS-9.
Obs: the correct comand for copying files is like bellow:
os9 copy xxx.dsk,SOURCES/yourfile.c yourfile.c
<or> xxx.dsk is the disk image
os9 copy yourfile.c xxx.dsk,SOURCES/yourfile.c
Thanks for the help,
Helio
> From: lothan at newsguy.com
> To: coco at maltedmedia.com
> Date: Mon, 15 Aug 2011 17:30:28 -0400
> Subject: Re: [Coco] Text Files in Coco OS-9
>
> Try Ctrl+, (comma) and Ctrl+. (period). You can also use the natural
> keyboard instead of the emulated keyboard (Options+Keyboard->Natural.
>
> If all else fails, the Microware C compiler supports trigraphs for special
> characters:
>
> ?= is #
> ?/ is \
> ?' is ^
> ?( is [
> ?) is ]
> ?! is |
> ?< is {
> ?> is }
> ?- is ~
>
> Another option is to edit the source files on the host computer using your
> favorite text editor and then using ToolShed to transfer the source files to
> the disk image. The syntax is something like
>
> os9 get disk1.os9,DEFS/OS9Defs C:\Defs\OS9Defs
> os9 put C:\Defs\OS9Defs disk1.os9,DEFS/OS9Defs
>
> Note the comma between the virtual disk image and the path.
>
> -----Original Message-----
> From: Helio Emery Jr.
> Sent: Monday, August 15, 2011 4:43 PM
> To: Lista de discussão Color Computer
> Subject: Re: [Coco] Text Files in Coco OS-9
>
>
> Hey guys, another newbee question. I'm trying to program in OS-9 C using the
> MESS as emulator.So far so good, but I didn't find a way to create the {
> and } characters in Coco2.I was looking at Coco2 character set and those two
> are not listed.This means they don't exist in Coco2. How can I create them,
> using the standart "edit" editor in OS-9?There is any other character that
> is accepted in OS-9 C language to start and and a function description?
> Thanks again,Helio
>
> --
> 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
More information about the Coco
mailing list