Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* VMS OS and programming questions
@ 1999-05-13  4:00 Eric Fish
  1999-05-13  4:00 ` Hoff Hoffman
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Fish @ 1999-05-13  4:00 UTC (permalink / raw)


I'm new to VMS and have the following questions:

Is there a way to automatically execute a script when logging on?

Can I change the VT100 backspace key to "Backspace" from "Delete"?

In a simple DCL, I tried to execute a series of CC commands.  I don't see
the output from any of these on the screen.  Any clues as to why?

Is there a way to test, in a DCL command file, for the presence of a file,
then conditionally execute something if the file exists?

Is there something along the lines of Unix's make for compiling and linking
C programs?

Can I make references to files inside a VMS program with Unix-style
directory references, such as "mydir/file1"?

Is there a good reference to DCL on the 'net?

The programming support for POSIX is very unclear.  I just discovered that
the fcntl and getcwd calls are not supported in V7.1.  And the POSIX shell
went away in 7.2.  What's going on here?

Thanks for any and all responses.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: VMS OS and programming questions
  1999-05-13  4:00 VMS OS and programming questions Eric Fish
@ 1999-05-13  4:00 ` Hoff Hoffman
  0 siblings, 0 replies; 2+ messages in thread
From: Hoff Hoffman @ 1999-05-13  4:00 UTC (permalink / raw)



In article <6JE_2.63$wq2.3845@nuq-read.news.verio.net>, "Eric Fish" <efish@ggsoftware.com> writes:
:Is there a way to automatically execute a script when logging on?

  Ayup, LOGIN.COM.

:Can I change the VT100 backspace key to "Backspace" from "Delete"?

  Assuming this is a real VT100 (wow, antique), the delete key is the
  delete key, and changing it is not easy.  If this is really DECwindows 
  (X Windows) or you are making remote access to the OpenVMS system from 
  a remote box, you can mess with the key mappings to make this change.
  (More information is required...)

:In a simple DCL, I tried to execute a series of CC commands.  I don't see
:the output from any of these on the screen.  Any clues as to why?

  Well, if you didn't ask for a display of output from the command
  procedure via SET VERIFY or f$verify(1), you won't see it...

:Is there a way to test, in a DCL command file, for the presence of a file,
:then conditionally execute something if the file exists?

  $ if f$search("SYS$LOGIN:LOGIN.COM") .eqs. "" then write sys$output "nope"

:Is there something along the lines of Unix's make for compiling and linking
:C programs?

  Yes, make and mms and similar are all available.  See the OpenVMS FAQ.
  MMS is a product, part of DECset.  Various versions of make are around, 
  including versions on the OpenVMS Freeware.  See the FAQ.

:Can I make references to files inside a VMS program with Unix-style
:directory references, such as "mydir/file1"?

  Assuming DEC C, yes, you can.  You may need to set up a logical name
  or two to help the C run-time figure out where certain stuff in the
  Unix file path is actually located, however.

:Is there a good reference to DCL on the 'net?

  See the OpenVMS FAQ for pointers to the OpenVMS documentation set, as 
  well as to various new-user FAQs around.  The OpenVMS FAQ is available
  via a link at:

    http://www.openvms.digital.com/

  I'm partial to the _Writing Real Programs in DCL_ book, available via
  various sources including http://www.bh.com/ or http://www.amazon.com/.
  But then I'm also hardly a disinterested party...

:The programming support for POSIX is very unclear.  I just discovered that
:the fcntl and getcwd calls are not supported in V7.1.  And the POSIX shell
:went away in 7.2.  What's going on here?

  Both fcntl and getcwd are listed in help in DEC C on OpenVMS V7.2.
  getcwd has been around since V6.1, donno when fcntl was added...

	--

  comp.os.vms is a better spot for OpenVMS questions -- comp.sys.dec
  covers far more than just OpenVMS...

 -------------------------- pure personal opinion ---------------------------
 Hoff (Stephen) Hoffman   OpenVMS Engineering   hoffman#xdelta.zko.dec.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-05-13  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-13  4:00 VMS OS and programming questions Eric Fish
1999-05-13  4:00 ` Hoff Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox