HP3000-L Archives

October 1996, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tony Peters <[log in to unmask]>
Reply To:
Date:
Thu, 31 Oct 1996 17:11:03 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Neil Harvey wrote:
>We use:-
>setvar hpprompt "!hpgroup.!hpaccount:"
>We put this into our system wide logon udc, and we replace the chgroup
>command with a command file that ends with this.

If you double reference the variable, it stays dynamic at all times.
   eg: SETVAR HPPROMPT,"!!HPGROUP.!!HPACCOUNT:"
                         ^--causes dynamic dereferencing
You can also set this in the CI PROMPT thru Sysgen,MIsc, CIPROMPT for system
wide use.  This remains dynamic as well.

      SYSTEM command          parameter           VALUE
      -----------------      -----------          -----
      USER VERSION           userversion          C.50.00
      LOGON PROMPT           logonprompt          FRED V:
--->  CI PROMPT              ciprompt             !HPACCOUNT(!HPGROUP):
      RELEASE                                     C.50.00
Note: in the Sysgen form, only single Exclamations are required.

                                       Tony Peters
      _/_/_/_/_/           _/_/_/_/_/  Project Manager - New Technology
     _/            _/     _/      _/  S&C Electric Canada Ltd
    _/            _/     _/          90 Belfield Rd
   _/_/_/_/_/  _/_/_/   _/          Toronto ON  M9W 1G4
          _/    _/     _/          Ph  416 249-9171
         _/    _/     _/          Fax 416 249-3193
_/_/_/_/_/           _/_/_/_/_/  Email   [log in to unmask]

ATOM RSS1 RSS2