Aucbvax.6813
fa.info-vax
utzoo!decvax!harpo!npois!ucbvax!info-vax
Tue Apr 20 07:55:22 1982
Re: Foreign command line
>From Samuelson@SANDIA Tue Apr 20 07:49:13 1982
Mail-from: ARPANET site DEC-MARLBORO rcvd at 20-Apr-82 0756-MST
Date: 20 Apr 1982 0956-EST
From: Rich Schneider <ECG.RICH AT DEC-MARLBORO>
To: info-vax at SANDIA
Dept: ECS Engineering
Subject: Foreign command line
Message-ID: <"MS10(2055)+GLXLIB1(1056)" AT DEC-MARLBORO 11817352604.17.111.13570>

 I've just finished writing a menu driven front-end for most of our
utilities.  What I've found out from user's is that initially they
love the menu, mainly because they have no idea of what util's are
available.  However after a few weeks of use they know what util's are
there and their names.  It would be easier for them just to type in
the util name at DCL.  So what I want to do is examine the command name
that invoked the image and if it's not UMENU (Utility MENU) then use
it as an option name.  Unfortuneately LIB$GET_FOREIGN doesn't return
the command name.  Is there any way I can call CLI$ to get this info?
  --------
If you define the command symbol like this:

       UMENU :== $progname UMENU

Then the UMENU will show up in the command line read with CLI (or
LIB$GET_FOREIGN).

- Sam -
-------

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.