Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Does OS9 have

76 views
Skip to first unread message

Earl_Colby_Pottinger

unread,
Jan 30, 2012, 9:36:21 AM1/30/12
to
Does OS9 have a 'true' command?

See: http://www.osnews.com/comments/25552

Bill Gunshannon

unread,
Jan 30, 2012, 11:04:36 AM1/30/12
to
In article <ef764651-989b-44a4...@1g2000yqv.googlegroups.com>,
Earl_Colby_Pottinger <earlcolby...@sympatico.ca> writes:
> Does OS9 have a 'true' command?
>
> See: http://www.osnews.com/comments/25552

It's been a long time since I last used OS9 (and, yes, I miss it!) so
I am not sure, but does it really matter?

How hard is it to compile the following:

int
main(void)
{
return 0;
}


bill

--
Bill Gunshannon | de-moc-ra-cy (di mok' ra see) n. Three wolves
bill...@cs.scranton.edu | and a sheep voting on what's for dinner.
University of Scranton |
Scranton, Pennsylvania | #include <std.disclaimer.h>

Microware OS-9

unread,
Jan 30, 2012, 3:16:39 PM1/30/12
to
OS-9 does not have a 'true' command as described in the article. mshell does have a 'TRUE' logical constant; the use of which avoids the overhead of forking another process.

let a = TRUE
if (%a == FALSE)
print("%s\n", "Something is very wrong here!")
endif

Earl_Colby_Pottinger

unread,
Jan 30, 2012, 8:13:06 PM1/30/12
to
On Jan 30, 11:04 am, billg...@cs.uofs.edu (Bill Gunshannon) wrote:

> It's been a long time since I last used OS9 (and, yes, I miss it!) so
> I am not sure, but does it really matter?

I just wondered if AT&T copyright made sense in light of other early
OSes out there.

Earl_Colby_Pottinger

unread,
Jan 30, 2012, 8:11:16 PM1/30/12
to
On Jan 30, 3:16 pm, Microware OS-9 <microware...@gmail.com> wrote:
> OS-9 does not have a 'true' command as described in the article.
> mshell does have a 'TRUE' logical constant;

Thank you for the information. I never used OS9 myself, I just
remembered reading something in my old Micro magazines.

Bill Gunshannon

unread,
Jan 30, 2012, 9:25:30 PM1/30/12
to
In article <1838eb39-9b28-43dc...@t8g2000yqg.googlegroups.com>,
The blurb I posted is not and never was copyrighted by AT&T. I believe
their "true" was a shell script containing only "exit 0" but I would have
to research it a bit to make sure.

To be honest, like many computer patents and "trade secrets", I don't
think this makes much sense. Some things have limited ways of doing
them and those ways are intuitively obvious to practitioners of the
art. :-)
0 new messages