[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: audiodev v0.1



In <9504270929.AA15090@mailhost.jet.uk>, David.Stevenson@jet.uk wrote:

> >Nothing keeps a GEM-shell from doing a stat() on the files you double-
> >click, instead of relying on some obscure extensions. I assume that
> >for example Gemini will do something like that.

> But most desktops don't do that.

If your software is broken, fix it!

> Anyway, on a TOS filesystem how does stat()
> tell a desktop that a file is executable?

On TOS filesystems the first two bytes of a file tell whether it's an
executable file or not. A file that starts with CMAGIC or "#!" should
be considered an executable. Isn't there some UNIXMODE flag for this?


Waldi