EE: Does anyone have a unix-based (or tcl-based) viewer of WinHelp files?See if you can find something called SGML-Tools, which appears to be able to translate SGML files into html, DVI, postscript, latex, PDF, LyX, GNU info, RTF, text, Unix nroff man macro, and MS WinHelp formats. Unfortunately, http://www.sgmltools.org/ doesn't appear to be working right now...Bristol at one time had a commercial product called HyperHelp [1] which supposedly maintained a single source for help across Windows, Linux, and other Unix systems.2004-04-24: See Microsoft .chm Help Format for several MS WinHelp links, including a viewer of .chm files on X-Windows.
LES 2004-04-24: Speaking of that, I just started using Tcllib. I love typing command gobbledygook in Tkcon and getting that very nice tip about what commands and parameters I can use, but the Tcllib commands are not available until you package require them. That's bad because sometimes I am not really sure of what Tcllib command I want to indulge myself with. I wish I could pick from a menu and make my pick. Looking at that menu very often will slowly build a more complete knowledge of what is available the next time I consider my possibilities and let me know beforehand just what I need.I got tired of looking up Tcllib commands in a separate HTML page, so I started building a script that will give me a nice command-line based help system. I find this solution better than everything else because:
An entirely different Tclhelp: #Tcl [does "#Tcl" need its own page?], where is written: "We've added a new feature! You can now paste by flushing raw data down out socket. Examples:LES 2004-04-24: Speaking of that, I just started using Tcllib. I love typing command gobbledygook in Tkcon and getting that very nice tip about what commands and parameters I can use, but the Tcllib commands are not available until you package require them. That's bad because sometimes I am not really sure of what Tcllib command I want to indulge myself with. I wish I could pick from a menu and make my pick. Looking at that menu very often will slowly build a more complete knowledge of what is available the next time I consider my possibilities and let me know beforehand just what I need.I got tired of looking up Tcllib commands in a separate HTML page, so I started building a script that will give me a nice command-line based help system. I find this solution better than everything else because:
- it's completely cross-platform (there are no man pages in Windows)
- it's more convenient and is supposed to be more straight to the point
- I find man pages boring and long-winded
- it can include help for any Tcl-related command, even extensions that are foreign to the core - the script can even check and tell you if you have the extension, and maybe provide a URL from where it can be obtained or, heck, the script can download the extension for you (see Tcl Standard Library Specification for a related concept).
/help ftpreturns all possible ::ftp::[*] commands
/help ftp openreturns syntax, parameters and a brief explanation of ::ftp::Open.The worst part of the idea is that every Tcl command is a switch option, which can also have its own switch options, and a puts command with the information, so I have a lot of typing ahead. I hardly ever have any free time lately, so don't hold your breath.Suggestions welcome.
cat scripts/file.tcl | netcat -q 2 tclhelp.net 55555 (cat scripts/file.tcl && sleep 2) | telnet tclhelp.net 55555 "