HP3000-L Archives

August 2004, Week 4

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:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Thu, 26 Aug 2004 12:51:22 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
All our scripts reside in a group that has 'access=(r,w,a,l,s:cr;x:any)'. This prevents users from looking at the contents via the :help <scriptname> command. They can only see the help text if they supply a question-mark (?) as the first parameter. Using this method you can have imbeded passwords/lockwords, etc that are kept safe.

regards,

Robert W.Mills
Systems Development Manager
Windsong Services
(020) 8309 3604


HP-3000 Systems Discussion wrote:
> (in my non-guru experience)
> as others have noted, the way to display a help-text is to use a
> "help" or "?" parameter (with a default-value), it does, however, not
> work with the 
>> help command.
> To disable the :help-commands helpful feature of listing a
> commandfile, you can use the "option nohelp" option.
> 
> hth
> 
> /per
> 
> --------------------------------------------------
> Per Östberg  / [log in to unmask]
> tel 08-58581213 / fax 08-58587710 / mob 070-4840253
> LabMedicin-IT
> Karolinska Universitetssjukhuset, Huddinge
> C1 56 / 141 86  HUDDINGE
> --------------------------------------------------
> 
> 
> HP-3000 Systems Discussion <[log in to unmask]> skrev 2004-08-25
> 20:59:12:
> 
>>  I wrote a command file includeing a bit of long CI code. When I
>> type :help startpro my return is a print out of the startpro.command
>> file. 
>> 
>>  I was wondering if I could change that so when I type help
>> startpro it just gives a breif description of the useage, and
>> not a print out of the whole script?
>> 
>> Any help would be much appricated :)
>> 
>> Thanks,
>> Gehan G.
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2