Example #1
0
File: vmshelp.c Project: hankem/jed
int vms_get_help(char *helpfile, char *helptopic) /*{{{*/
{
   int LBR$OUTPUT_HELP(), output_help_to_buf(), input_new_helptopic();
   int istat;
   unsigned int flags;
   struct dsc$descriptor_s topnam, filnam;

   $STR_DESC(topnam,helptopic);
   $STR_DESC(filnam,helpfile);

   flags = HLP$M_PROMPT;

   istat = LBR$OUTPUT_HELP(&output_help_to_buf,
			   0,  /* output width 0 is 80 */
			   &topnam,  /* topic */
			   &filnam, /* lib file */
			   &flags,
			   /* Also try:
						   M_LIBLIST
						   M_HELP */
			   &input_new_helptopic);
   if (istat != 1) return 0;
   return 1;
}
Example #2
0
void histHelp()
{
    OUTPUT_HELP("\nHelp for the history function\n");
    OUTPUT_HELP("<show> - show all history entries\n");
}