Changeset cf4d8f in git
- Timestamp:
- Jul 26, 2005, 6:51:52 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- aaa49cc6aa7665f191223675066ceaf1f337254e
- Parents:
- 457bd5039e1e1fb3f2f0753e4cc37c6ba141af1e
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/help.cnf
r457bd50 rcf4d8f 1 # Singular help browser file $Id: help.cnf,v 1. 7 2005-04-18 08:45:40 brickenExp $1 # Singular help browser file $Id: help.cnf,v 1.8 2005-07-26 16:51:52 Singular Exp $ 2 2 # each line which start with an # is a comment 3 3 # each other line defines a (possible) help browser … … 9 9 # h- requires html dir 10 10 # D- requires the enviroment variable DISPLAY 11 # C- requires Windows-help: Manual.chm 11 12 # E:executable:- requires the named exectable 12 13 #---------------------------------------------------- … … 20 21 #---------------------------------------------------- 21 22 # the default help browsers builtin, dummy and emacs are always 22 # available and should NOT be mentioned here 23 # ix86_Win: has 2 additional default browsers: html and winhlp 23 # available and should NOT be mentioned here 24 # ix86_Win: has additional default browsers: htmlhelp, html and winhlp 25 # also not mentioned here 24 26 #---------------------------------------------------- 25 27 htmlview!xDhE:htmlview:!htmlview %h & -
Singular/fehelp.cc
r457bd50 rcf4d8f 4 4 /* 5 5 * ABSTRACT: help system 6 * versin $Id: fehelp.cc,v 1.4 6 2005-07-25 09:05:08 wienandExp $6 * versin $Id: fehelp.cc,v 1.47 2005-07-26 16:51:39 Singular Exp $ 7 7 */ 8 8 … … 145 145 assume(heCurrentHelpBrowser != NULL); 146 146 #ifdef ix86_Win 147 if (strcmp(heCurrentHelpBrowser->browser,"htmlhelp")==0) { 147 if (strcmp(heCurrentHelpBrowser->browser,"htmlhelp")==0) 148 { 148 149 // In Windows always let htmlhelp handle request, if standard 149 150 strcpy(hentry.key, str); … … 221 222 fseek(f,0,SEEK_SET); 222 223 #ifdef ix86_Win 223 // for the 6(!) default browsers and make htmlhelp the default default 224 heHelpBrowsers=(heBrowser_s*)omAlloc0((br+9)*sizeof(heBrowser_s)); 225 br = 0; 226 heHelpBrowsers[br].browser="htmlhelp"; 227 heHelpBrowsers[br].init_proc=heGenInit; 228 heHelpBrowsers[br].help_proc=heWinHtmlHelp; 229 heHelpBrowsers[br].required="C"; 230 // heHelpBrowsers[br].action=NULL; 231 br++; 224 // for the 7(!) default browsers and make htmlhelp the default default 225 heHelpBrowsers=(heBrowser_s*)omAlloc0((br+7)*sizeof(heBrowser_s)); 232 226 #else 233 227 // for the 4(!) default browsers 234 228 heHelpBrowsers=(heBrowser_s*)omAlloc0((br+4)*sizeof(heBrowser_s)); 229 #endif 235 230 br = 0; 236 #endif237 231 while (fgets( buf, sizeof(buf), f)) 238 232 { … … 266 260 } 267 261 #ifdef ix86_Win 262 heHelpBrowsers[br].browser="htmlhelp"; 263 heHelpBrowsers[br].init_proc=heGenInit; 264 heHelpBrowsers[br].help_proc=heWinHtmlHelp; 265 heHelpBrowsers[br].required="C"; 266 // heHelpBrowsers[br].action=NULL; 267 br++; 268 268 heHelpBrowsers[br].browser="winhlp"; 269 269 heHelpBrowsers[br].init_proc=heGenInit; … … 719 719 h=ggetid(s); 720 720 if (h!=NULL) 721 { 721 { 722 722 Print("help for %s from package %\n",ss,s); 723 723 char s_help[200];
Note: See TracChangeset
for help on using the changeset viewer.