From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,40ccb9791340111b X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) Subject: Re: VMS OS and programming questions Date: 1999/05/13 Message-ID: <7hf7i8$6f3@usenet.pa.dec.com>#1/1 X-Deja-AN: 477520211 Distribution: world References: <6JE_2.63$wq2.3845@nuq-read.news.verio.net> Organization: Compaq Computer Corporation Reply-To: hoffman@xdelta.zko.dec.nospam Newsgroups: comp.sys.dec In article <6JE_2.63$wq2.3845@nuq-read.news.verio.net>, "Eric Fish" 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