Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.vms > #58154

Re: Where to locate software

From Paul Sture <nospam@sture.ch>
Newsgroups comp.os.vms
Subject Re: Where to locate software
Date 2016-06-10 06:23 +0200
Organization PostgreSQL and SQLite
Message-ID <aurp2d-qu12.ln1@news.chingola.ch> (permalink)
References <ls2dnRrl1dtKOsXKnZ2dnUU7-avNnZ2d@westnet.com.au> <njc19o$kka$1@reader1.panix.com> <AeWdnZmLCdxAlMfKnZ2dnUU7-YXNnZ2d@westnet.com.au>

Show all headers | View raw


On 2016-06-10, Paul Richards <paulrichards@iinet.net.au> wrote:
> Dale Dellutri wrote:
>
>> On Wed, 08 Jun 2016 19:18:47, Paul Richards
>> <paulrichards@iinet.net.au> wrote:
>> > I'm running OpenVMS 8.4 on FreeAXP and am a comparative newbie. So,
>> > a noob question: I am planning to install some of the HP Open-source
>> > software and Freeware.
>> > 
>> > For those applications which don't automatically install where
>> > should I locate them such that I can run them from any directory?
>> > 
>> 
>> Here's what I do for my "acquired software".
>> 
>> First I create a hierarchy on the system disk:
>> $ CRE/DIR/LOG SYS$SYSDEVICE:[AS]
>> $ CRE/DIR/LOG SYS$SYSDEVICE:[AS.CKERMIT]
>> $ CRE/DIR/LOG SYS$SYSDEVICE:[AS.TOOLS]
>> $ CRE/DIR/LOG SYS$SYSDEVICE:[AS.LYNX]
>> $ CRE/DIR/LOG SYS$SYSDEVICE:[AS.VIM]
>> 
>> Then in system startup I define a system logical for the top:
>> $ DEFINE /SYSTEM /EXECUTIVE_MODE -
>>         /TRANSLATION_ATTRIBUTES=CONCEALED AS_ROOT SYS$SYSDEVICE:[AS.]
>> And logicals for the rest of the directories
>> $ @SYS_DEFINE_LOGICALS_STARTUP AS
>> 
>> which executes:
>> $!
>> $! DEFINE_LOGICALS.COM - Define logical names for a hierarchy on
>> SYS$SYSDEVICE $!
>> $! P1 = Top level directory name
>> $!
>> $ ON ERROR THEN EXIT
>> $ IF p1 .EQS. ""
>> $ THEN
>> $  WRITE SYS$OUTPUT "No top level directory name given"
>> $  EXIT
>> $ ENDIF
>> $ IF F$TRNLNM("''p1'_ROOT") .EQS. ""
>> $ THEN
>> $  WRITE SYS$OUTPUT "''p1'_ROOT not defined"
>> $  EXIT
>> $ ENDIF
>> $GET_DIRNAME:
>> $ filespec = F$SEARCH("SYS$SYSDEVICE:[''p1']*.DIR")
>> $ dirname = F$PARSE(filespec,,,"NAME","SYNTAX_ONLY")
>> $ IF dirname .EQS. "" THEN EXIT
>> $ trnname = F$TRNLNM("''p1'_''dirname'")
>> $ IF trnname .NES. "" THEN GOTO GET_DIRNAME
>> $ DEFINE /SYSTEM /EXECUTIVE_MODE 'p1'_'dirname' 'p1'_ROOT:['dirname']
>> $ GOTO GET_DIRNAME
>> $!
>> 
>> I've put all of the ckermit files in [as.ckermit], and
>> miscellaneous tools like zip in [as.tools].
>> 
>> Then for all the *.exe files in as_tools, I have this
>> in the system login procedure:
>> ...
>> $!
>> $get_as_tools_exe:
>> $ f = f$search("AS_TOOLS:*.*EXE")
>> $ if f .eqs. "" then goto done_as_tools_exe
>> $ e = f$parse(f,,,"NAME","SYNTAX_ONLY")
>> $ t = f$parse(f,,,"TYPE","SYNTAX_ONLY")
>> $ 'e' :== $as_tools:'e''t'
>> $ goto get_as_tools_exe
>> $!
>> $done_as_tools_exe:
>> ...
>> 
>> and something similar for the specific directories
>> like [as.ckermit]
>> 
>> However, HP has in the past used a different hierarchy for
>> some tools.  For example, LTT gets put in
>>   sys$sysdevice:[vms$common.opt.ltt]
>> I assume that if I installed LTT on some Linux system, it
>> woudl get put in /opt/ltt.
>> 
>> You might consider that as well.
>
> Dale: thank you for that. I've still not decided what I'm going to do
> but, probably, I'll create a 'MISCELLANEOUS' directory on my second
> virtual disk - not the system disk - and keep all my
> freeware/open-source software in subdirectories. Essentially what you
> and others have suggested. I prefer not to mix up 'my' stuff with the
> system directories, at least where I have the option of choosing.

Hi Paul,

I've been watching this thread with interest, and I particularly like
Dale's solution.  I would probably put a copy of the last code snippet
above in its own file so that it is easily executed on demand when new
utilities are added, or the rare occasions when logging in via
<username>/NOCOMMMAND is appropriate (this to skip execution of the
system wide login procedure, for example a runaway process hogging the
system and you wish to login as quickly as possible without the normal
login file overhead, or simply when you've broken something in there).

Dale's approach of putting utilities such as kermit, lynx, "tools"
(which I envisage to be things like zip/unzip, gzip, gunzip etc) on the
system disk is a favourite too, because they are available when only the
system disk mounted, often precisely the time you need them.

What I would refer to as "applications" or "end-user" utilities would
probably, but not necessarily, live on a separate disk; benefits:

a) a clear separation of system and applications for management purposes
b) performance: not only to avoid I/O contention between the system and
   applications but to avoid unnecessary file fragmentation

Wherever you decide to put them, applications should live in a well
defined directory structure of their own.

FWIW, the "naming" bit of my sig is entirely serious.  Well thought out
and easily enforceable naming conventions at the beginning of a project
*will* save much pain later.

-- 
There are two hard things in computer science, and they are cache invalidation,
naming, and off-by-one errors.

Back to comp.os.vms | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-08 18:18 -0500
  Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-08 19:39 -0400
    Re: Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-08 20:28 -0500
  Re: Where to locate software "Bill Pedersen" <pedersen@ccsscorp.com> - 2016-06-08 19:40 -0400
    Re: Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-08 20:30 -0500
      Re: Where to locate software "Bill Pedersen" <pedersen@ccsscorp.com> - 2016-06-08 22:24 -0400
        Re: Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-08 22:57 -0500
  Re: Where to locate software Steven Schweda <sms.antinode@gmail.com> - 2016-06-08 17:02 -0700
    Re: Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-08 20:31 -0500
    Re: Where to locate software lawrencedo99@gmail.com - 2016-06-08 21:53 -0700
      Re: Where to locate software Steven Schweda <sms.antinode@gmail.com> - 2016-06-08 22:19 -0700
      Re: Where to locate software Richard Levitte <richard@levitte.org> - 2016-06-09 02:47 -0700
        Re: Where to locate software lawrencedo99@gmail.com - 2016-06-09 13:39 -0700
  Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 08:42 -0400
    Re: Where to locate software Jan-Erik Soderholm <jan-erik.soderholm@telia.com> - 2016-06-09 14:58 +0200
      Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 10:27 -0400
        Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 11:33 -0400
          Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 11:43 -0400
            Re: Where to locate software johnwallace4@yahoo.co.uk - 2016-06-09 09:19 -0700
              Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 13:13 -0400
                Re: Where to locate software Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2016-06-09 18:58 +0000
                Re: Where to locate software Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2016-06-09 18:59 +0000
              Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 22:01 -0400
                Re: VMS FAQ (was Re: Where to locate software) Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-10 10:58 -0400
                Re: VMS FAQ (was Re: Where to locate software) Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-10 16:50 +0000
          Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-09 13:28 -0400
            Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 22:06 -0400
    Re: Where to locate software   VAXman-  @SendSpamHere.ORG - 2016-06-09 13:58 +0000
      Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 11:16 -0400
    Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-09 14:46 +0000
      Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 12:43 -0400
        Re: Where to locate software lawrencedo99@gmail.com - 2016-06-09 13:50 -0700
        Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 22:20 -0400
          Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-10 11:11 -0400
            Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-10 11:56 -0400
              Re: Where to locate software johnwallace4@yahoo.co.uk - 2016-06-10 10:19 -0700
              Re: Where to locate software Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2016-06-10 18:03 +0000
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-10 15:59 -0400
                Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-13 09:02 -0400
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-13 16:34 +0200
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-10 16:53 -0400
                Re: Where to locate software Hans Vlems <hvlems@freenet.de> - 2016-06-11 00:27 -0700
                Re: Where to locate software johnwallace4@yahoo.co.uk - 2016-06-11 01:37 -0700
                Re: Where to locate software Hans Vlems <hvlems@freenet.de> - 2016-06-11 03:21 -0700
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-11 22:02 -0400
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-11 22:27 -0400
                Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-13 09:05 -0400
            Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-10 16:13 +0000
              Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-10 15:50 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-10 20:54 +0000
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-10 17:47 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-11 01:59 +0000
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-10 19:13 -0700
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-11 03:01 +0000
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-10 22:47 -0700
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-11 12:45 +0000
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-11 15:02 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-12 02:07 +0000
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-11 22:05 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-12 04:17 +0000
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-11 03:09 +0000
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-10 23:39 -0400
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-10 22:44 -0700
                Re: Where to locate software johnwallace4@yahoo.co.uk - 2016-06-11 01:42 -0700
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-11 18:25 -0700
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-11 11:15 +0200
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-11 13:44 -0400
                Re: Where to locate software johnwallace4@yahoo.co.uk - 2016-06-11 11:54 -0700
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-11 15:23 -0400
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-11 18:28 -0700
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-11 22:38 -0400
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-12 00:59 -0700
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-12 14:09 +0000
                devops / source control - (Was: Where to locate software) "John E. Malmberg" <wb8tyw@qsl.net_work> - 2016-06-12 10:43 -0500
                Re: devops / source control - (Was: Where to locate software) "John E. Malmberg" <wb8tyw@qsl.net_work> - 2016-06-12 11:08 -0500
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-12 12:53 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-12 17:31 +0000
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-12 15:23 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-12 20:28 +0000
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-12 17:49 -0700
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-13 13:02 +0000
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-13 09:40 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-13 14:33 +0000
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-13 16:20 +0200
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-13 15:12 +0000
                Re: Where to locate software RobertsonEricW <robertsonericw@netzero.net> - 2016-06-13 08:55 -0700
                Re: Where to locate software John Reagan <xyzzy1959@gmail.com> - 2016-06-13 09:07 -0700
                Re: Where to locate software "John E. Malmberg" <wb8tyw@qsl.net_work> - 2016-06-16 15:16 -0500
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-16 20:25 -0700
                Re: Where to locate software Richard Levitte <richard@levitte.org> - 2016-06-16 23:24 -0700
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-19 06:21 +0200
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-19 06:08 +0200
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-18 21:52 -0700
                Re: Where to locate software "John E. Malmberg" <wb8tyw@qsl.net_work> - 2016-06-19 19:17 -0500
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-13 15:03 -0700
                Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-13 09:08 -0400
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-13 21:05 -0500
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-14 03:49 +0000
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-13 21:28 -0700
                Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-14 09:52 -0400
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-14 12:11 -0400
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-14 14:27 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-14 20:14 +0000
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-19 12:20 +0200
                Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-21 09:30 -0400
                Re: Where to locate software Richard Levitte <richard@levitte.org> - 2016-06-21 09:34 -0700
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-07-02 08:23 +0200
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-14 16:22 -0700
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-14 16:20 -0700
                Re: Where to locate software koehler@eisner.nospam.decuserve.org (Bob Koehler) - 2016-06-21 09:28 -0400
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-14 18:55 -0500
                Re: Where to locate software Johnny Billquist <bqt@softjar.se> - 2016-06-15 11:18 +0200
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-15 12:17 +0000
                Re: Where to locate software Johnny Billquist <bqt@softjar.se> - 2016-06-15 14:30 +0200
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-15 07:39 -0500
                Re: Where to locate software Johnny Billquist <bqt@softjar.se> - 2016-06-15 15:23 +0200
                Re: Where to locate software "Craig A. Berry" <craig.a.berry@gmail.com> - 2016-06-15 08:03 -0700
                Re: Where to locate software Johnny Billquist <bqt@softjar.se> - 2016-06-15 19:41 +0200
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-15 19:10 -0500
                Re: Where to locate software Johnny Billquist <bqt@softjar.se> - 2016-06-16 11:24 +0200
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-16 08:33 -0500
                Re: Where to locate software Johnny Billquist <bqt@softjar.se> - 2016-06-16 17:09 +0200
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-16 11:12 -0500
                Re: Where to locate software Richard Levitte <richard@levitte.org> - 2016-06-16 12:32 -0700
                Re: Where to locate software "Craig A. Berry" <craigberry@nospam.mac.com> - 2016-06-16 17:48 -0500
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-16 20:29 -0700
                Re: Where to locate software Richard Levitte <richard@levitte.org> - 2016-06-16 23:21 -0700
                Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-19 05:56 +0200
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-13 13:21 -0400
                Re: Where to locate software John Reagan <xyzzy1959@gmail.com> - 2016-06-12 14:46 -0700
                Re: Where to locate software lawrencedo99@gmail.com - 2016-06-12 17:53 -0700
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-12 12:57 -0400
                Re: Where to locate software Kerry Main <kerry.main@backtothefutureit.com> - 2016-06-12 18:03 +0000
                Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-12 12:46 -0400
                Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-11 22:37 -0400
            Re: Where to locate software Chris Scheers <chris@applied-synergy.com> - 2016-06-10 13:28 -0500
    Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 11:30 -0400
      Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 12:48 -0400
    Re: Where to locate software Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2016-06-09 18:55 +0000
      Re: Where to locate software Stephen Hoffman <seaohveh@hoffmanlabs.invalid> - 2016-06-09 16:00 -0400
        Re: Where to locate software johnwallace4@yahoo.co.uk - 2016-06-09 14:18 -0700
          Microsoft "innovation", was: Re: Where to locate software Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> - 2016-06-10 17:47 +0000
      Re: Where to locate software David Froble <davef@tsoft-inc.com> - 2016-06-09 22:26 -0400
  Re: Where to locate software Dale Dellutri <daQQQle@panQQQix.com> - 2016-06-09 15:17 +0000
    Re: Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-09 19:29 -0500
      Re: Where to locate software Paul Sture <nospam@sture.ch> - 2016-06-10 06:23 +0200
        Re: Where to locate software "Paul Richards" <paulrichards@iinet.net.au> - 2016-06-09 23:45 -0500
        Re: Where to locate software Steven Schweda <sms.antinode@gmail.com> - 2016-06-09 21:51 -0700
          Re: Where to locate software Hans Vlems <hvlems@freenet.de> - 2016-06-10 00:15 -0700
            Re: Where to locate software "John E. Malmberg" <wb8tyw@qsl.net_work> - 2016-06-10 08:26 -0500

csiph-web