[Coco] Nitros9 and Smartwatch

Robert Gault robert.gault at att.net
Sat Dec 10 15:54:38 EST 2016


To add to Bill's comments, the NitrOS-9 WIKI is at
https://sourceforge.net/p/nitros9/wiki/Main_Page/

There are some differences between OS-9 and NitrOS-9 which are minor but 
confusing. Many of the commands can take parameters and some have been changed.
For example, in OS-9 the command dir can have two parameters: x display current 
execution directory, e display full description of each file. However, in 
NitrOS-9 these parameters now require the - sign: dir -x   or  dir -e .

As it happens, the built in Help function indicates the syntax for dir.
help dir

and you will get

Syntax: Dir [<opts>] [<path>]
Usage : Displays formatted list of file names in a directory
Opts  :
   -e = extended dir
   -x = execution dir

Unfortunately not all commands or programs are included in Help but you could 
edit the SYS/helpmsg file to include new command/program names. Also some 
programs have their own built-in help messages. Unfortunately many of these have 
been turned off in the current NitrOS-9 build. You could edit the source code to 
turn on the built-in help and recompile the programs.

Robert



More information about the Coco mailing list