[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

714.0. "Help Widget on Ultrix?" by LDP::WEAVER (Laboratory Data Products/Science) Tue May 02 1989 12:25

    What type of file specification do I have to give to the Help widget
    on Ultrix to get it to find my help text in the current directory?
    I tried ./my_help.hlp and ~/dir/my_help.hlp with no success.
    
    Is the help file on Ultrix really a straight ASCII file?
    
    						Thanks,
    						-Dave

T.RTitleUserPersonal
Name
DateLines
714.1Hello...LDP::WEAVERLaboratory Data Products/ScienceTue May 02 1989 18:402
    Surely someone has some quick answers for this???

714.2Ultrix Help Library organizationCASEE::RAYNERDoug -- CLT/CASEE, Valbonne, FranceWed May 03 1989 04:2529
    A Help "library" on Ultrix is a directory.  The top-level topics in the
    library are the names of the files in that directory.  Each file
    contains the text for the top-level topic, and its sub-topics.
    
    > What type of file specification do I have to give to the Help widget
    > on Ultrix to get it to find my help text in the current directory?
    > I tried ./my_help.hlp and ~/dir/my_help.hlp with no success.
    
    First of all, it is unlikely that you want the current directory to be
    the help library since you will likely have files there that are not
    help topics.  It might make sense to use a sub-directory of the current
    directory as the help library.  In that case the help library name is
    simply the name of the directory.  For example, the help library for
    application Foo (library name "FooHelp") might be organized as follows: 

	    ./FooHelp/Overview	    (Overview and various sub-topics)
	    ./FooHelp/About	    (Single About topic)
	    ./FooHelp/CSH	    (Context Sensitive Help topics)
    
    > Is the help file on Ultrix really a straight ASCII file?

    Each top-level topic (e.g. file) is a text file which must conform to
    the VMS Help Library syntax with special extensions provided by
    DECwindows Help.  This is documented in the VMS DECwindows Guide to
    Applications Programming (and, I assume, in the equivalent Ultrix
    document). 

    P.S. Sorry for the delayed answer -- we're 6 hours ahead of you!

714.3"."HGOVC::KENBERKUNPeople that meltWed May 03 1989 07:115
    Actually, I just used "." and it worked fine under Ultrix.  VMS
    isn't too happy about it...
    
    Ken B.

714.4Different mechanisms for different platformsRTL::GRASSSteve GrassWed May 03 1989 10:139
 > Actually, I just used "." and it worked fine under Ultrix.  VMS
 > isn't too happy about it...

   That's because VMS expects a file spec (.HLB file) and Ultrix expects a
   directory (where the .HLP files are).

			steve
  

714.5LDP::WEAVERLaboratory Data Products/ScienceWed May 03 1989 12:536
    Thanks, it would be nice if the Ultrix WS Guide to Writing Applications
    using XUI Toolkit Widgets was a little clearer on all of this.
    
    						Thanks again,
    						-Dave