* VMS Help libraries
@ 1995-04-22 4:00 Lars Kellogg-Stedman
1995-04-23 4:00 ` fairfield
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Lars Kellogg-Stedman @ 1995-04-22 4:00 UTC (permalink / raw)
I want to take a VMS help library and decompile it back into its
text-only representation.
How do I do this? The eventual goal is to convert a small help file into
a series of web pages.
-- Lars
--
Lars Kellogg-Stedman | Someday we'll find it,
bb08188@binghamton.edu | The rainbow connection,
CoRE - SIH at Binghamton University | The lovers, the dreamers, and me...
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: VMS Help libraries 1995-04-22 4:00 VMS Help libraries Lars Kellogg-Stedman @ 1995-04-23 4:00 ` fairfield 1995-04-24 4:00 ` mathog 1995-04-25 4:00 ` Brian Tillman 2 siblings, 0 replies; 4+ messages in thread From: fairfield @ 1995-04-23 4:00 UTC (permalink / raw) In article <3nbk79$bka@bingnet1.cc.binghamton.edu>, consp01@bingsuns.cc.binghamton.edu (Lars Kellogg-Stedman) writes: > I want to take a VMS help library and decompile it back into its > text-only representation. > > How do I do this? The eventual goal is to convert a small help file into > a series of web pages. There's no "decompile" required. Simply use the LIBRARY command with the /EXTRACT qualifer to extract individual "modules" into plain ASCII text files. Start with a /LIST of the library, as in, $ LIB/LIST SYS$HELP:HELPLIB.HLB or $ LIB/HELP/LIS SYS$HELP:HELPLIB to see the names of the modules in the library. Next, extract the one you want: $ LIB/HELP/EXTR=COPY/OUT=COPY.HLP HELPLIB This example produces the text file COPY.HLP. Formatting the result for useful WEB pages may be another matter. Note only that the implicit hierarchy of the help topics, subtopics, sub-subtopics, etc., is signified by a character 1, 2, 3, etc., in column 1 of the text file. Having said all that (prompted mainly by the word "decomplie"), you may find it easier to use the HELP command's /OUTPUT qualifer. For example, to get the full text of COPY and its subtopics, etc., you could do the following (note that the ellipses are required, as shown, to get the main topic and its subtopics): $ HELP/OUT=COPY.TXT COPY... In this case, each topic and subtopic is formatted with the topic header, subtopic header, sub-subtopic header, etc., in the output file. That may or may not be easier to deal with than the .HLP file itself. Finally, in case the point has otherwise been missed, you can specify your user-written help library to the HELP command by using the /LIBRARY qualifier (not to be confused with the /LIBLIST qualifier): $ HELP/LIBR=MY_DIR:MY_HELP/OUT=NEATO.TXT NEATO... -Ken -- Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX) Stanford, CA 94309 | Voice: 415-926-2924 FAX: 415-926-3515 ------------------------------------------------------------------------- These opinions are mine, not SLAC's, Stanford's, nor the DOE's... ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: VMS Help libraries 1995-04-22 4:00 VMS Help libraries Lars Kellogg-Stedman 1995-04-23 4:00 ` fairfield @ 1995-04-24 4:00 ` mathog 1995-04-25 4:00 ` Brian Tillman 2 siblings, 0 replies; 4+ messages in thread From: mathog @ 1995-04-24 4:00 UTC (permalink / raw) In article <3nbk79$bka@bingnet1.cc.binghamton.edu>, consp01@bingsuns.cc.binghamton.edu (Lars Kellogg-Stedman) writes: >I want to take a VMS help library and decompile it back into its >text-only representation. > >How do I do this? The eventual goal is to convert a small help file into >a series of web pages. > The answer you asked for: $ library/extract/output=myname.hlp wherever:name.hlb The answer you want: You don't need to do this. There is a help gateway available that runs on the OSU and CERN VMS WWW servers. It converts help requests to HTML on the fly. The only downside with respect to physically converting it all to HTML is that one can't index the help files. You can pick up the OSU server from FTP.WKU.EDU, but I don't know the address for the CERN server. Regards, David Mathog mathog@seqvax.bio.caltech.edu Manager, sequence analysis facility, biology division, Caltech ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: VMS Help libraries 1995-04-22 4:00 VMS Help libraries Lars Kellogg-Stedman 1995-04-23 4:00 ` fairfield 1995-04-24 4:00 ` mathog @ 1995-04-25 4:00 ` Brian Tillman 2 siblings, 0 replies; 4+ messages in thread From: Brian Tillman @ 1995-04-25 4:00 UTC (permalink / raw) In a previous article, consp01@bingsuns.cc.binghamton.edu (Lars Kellogg-Stedman) wrote: ->I want to take a VMS help library and decompile it back into its ->text-only representation. -> ->How do I do this? The eventual goal is to convert a small help file into ->a series of web pages. Just put the Ohio State HTTP server on your VMS system. It contains a Web/Help gateway that will present the contents of VMS Help libraries to your WWW viewer. -----------------------------+-------------------------------- Brian Tillman | Internet: tillman@swdev.si.com Smiths Industries, Inc. | tillman_brian@si.com 4141 Eastern Ave., MS129 | Hey, I said this stuff myself. Grand Rapids, MI 49518-8727 | My company has no part in it. -----------------------------+-------------------------------- ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-04-25 4:00 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1995-04-22 4:00 VMS Help libraries Lars Kellogg-Stedman 1995-04-23 4:00 ` fairfield 1995-04-24 4:00 ` mathog 1995-04-25 4:00 ` Brian Tillman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox