Favorite operating systems query (UNIX vs VMS flaming!!!)
johnth at batcomputer.UUCP
johnth at batcomputer.UUCP
Mon Jun 23 02:42:49 AEST 1986
In article <1000 at ttrdc.UUCP> levy at ttrdc.UUCP (Daniel R. Levy) writes:
>Could you then do me a favor. Show me how, in Fortran, I would go about
>setting the protection (no fancy ACL stuff, just basic RWED protections)
>on a file which I am creating. (In C it's easy enough, since the protec-
>tion is specified when the file is created, which of course is tied to the
>straightforward Unix way of doing things!) Please show actual code, such as
>a USEROPEN program, together with the OPEN() statement that calls it, to run
>....
The following is a trivial (and slow) way to do this. I'm sure there is a
better way but sitting here this is the best I can do.
OPEN()
...
Close()
Call Lib$Spawn('Set Protection=....')
Personally I love to play with UNIX. It is a lot of fun to poke around in.
On the other hand when I need to get things done I like VMS. It is easy
because I don't need to think about how to do thinks, only about what I'm
trying to get done. When I first started on VMS I just sat down at a terminal
and started to see if I could make it go. My first command was EDIT TEST and
it worked! Love at first sight. I would never have guessed vi.
Now that I know a little about UNIX I like it. What I like about VMS is
that I didn't need to take two weeks of workshops to learn enough to be
able to use it.
John Thurtell
More information about the Comp.unix
mailing list