From help-octave-request at bevo dot che dot wisc dot edu Thu Dec 6 06:46:54 2001 Subject: partial solution for "help -i" under windoz; how to change "dir" topmost node? From: Lorenzo Fiorentini To: Help-Octave Date: Thu, 06 Dec 2001 13:43:58 +0100 ------------KgIEl0kycPRwTZq9dkHmlG Content-Type: text/plain; charset="windows-1252" Hello, I have succesfully installed Octave under Windoz, then I have worked out a hack to make the "help -i" command work (which I want to share for other M$Wz users) Finally I need support to recover the "dir" file in the info directory, which i have probably corrupted SOLUTION, here is the story: 0- I read somewhere that the "help -i" pbm has been identified in: a) missing info executable b) wrong format of the octave.info-* files (or info can't manage multiple, or they have to be concatenated) 1- download info.exe version 2.18 from ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Khan_Mumit/ports/info-2.18-cygb20.exe.gz, installed OK, solved) 2- now some "* items" in the info files actually do work (so the format isn't that bad) 3- I cat-ted all info files with the attached DOS batch file (save and run it in the info dir), thus making the octave-all.info file (which is ok, see 7) 4- ...but launching info from DOS still reads the same old octave.info file (same partial result) ... 5- ...so I edited the "dir" file, trying to change the supposed pointer (octave) into (octave-all) [used DOS "edit.exe" editor) 6- but doing so corrupted something, since now (even after switching back to (octave) there) launching info gives the error: INFO.EXE: Cannot find the node "Top". 7- BTW the concatenated octave-all.info file seems to work perfectly, as you can see launching "info --file octave-all.info". From Octave you can then change the INFO_FILE variable in the startup as follows: INFO_FILE = "/usr/local/info/octave-all.info"; now help -i works PERFECT! MY PROBLEM: Still I need to fix the .../info/dir file (attached too). Could please someone explain what is the problem, and explain me how to make the Octave link point to octave-all.info instead of octave.info? Thank you very much Lorenzo ------------KgIEl0kycPRwTZq9dkHmlG Content-Disposition: attachment; filename="dir(corrupted)" Content-Type: application/octet-stream; name="dir(corrupted)" Content-Transfer-Encoding: Base64 LSotIFRleHQgLSotDQpUaGlzIGlzIHRoZSBmaWxlIC4uLi9pbmZvL2Rpciwg d2hpY2ggY29udGFpbnMgdGhlIHRvcG1vc3Qgbm9kZSBvZiB0aGUNCkluZm8g aGllcmFyY2h5LgkgVGhlIGZpcnN0IHRpbWUgeW91IGludm9rZSBJbmZvIHlv dSBzdGFydCBvZmYNCmxvb2tpbmcgYXQgdGhhdCBub2RlLCB3aGljaCBpcyAo ZGlyKVRvcC4NCh8NCkZpbGU6IGRpcglOb2RlOiBUb3AJVGhpcyBpcyB0aGUg dG9wIG9mIHRoZSBJTkZPIHRyZWUNCiAgVGhpcyAodGhlIERpcmVjdG9yeSBu b2RlKSBnaXZlcyBhIG1lbnUgb2YgbWFqb3IgdG9waWNzLiANCiAgVHlwaW5n ICJkIiByZXR1cm5zIGhlcmUsICJxIiBleGl0cywgIj8iIGxpc3RzIGFsbCBJ TkZPIGNvbW1hbmRzLCAiaCIgDQogIGdpdmVzIGEgcHJpbWVyIGZvciBmaXJz dC10aW1lcnMsICJtSXRlbTxSZXR1cm4+IiB2aXNpdHMgdGhlIG1lbnUNCiAg aXRlbSBuYW1lZCBgSXRlbScsIGV0Yy4NCg0KKiBNZW51OiBUaGUgbGlzdCBv ZiBtYWpvciB0b3BpY3MgYmVnaW5zIG9uIHRoZSBuZXh0IGxpbmUuDQoNCiog T2N0YXZlOiAob2N0YXZlKS4gICAgIEludGVyYWN0aXZlIGxhbmd1YWdlIGZv ciBudW1lcmljYWwgY29tcHV0YXRpb25zLg0K ------------KgIEl0kycPRwTZq9dkHmlG Content-Disposition: attachment; filename==?windows-1252?Q?cat=5Fall=5Finfo.bat?= Content-Type: application/octet-stream; name==?windows-1252?Q?cat=5Fall=5Finfo.bat?= Content-Transfer-Encoding: Base64 ZWNobyBvbg0KDQonIGluaXRpYWxpemUNCmNvcHkgb2N0YXZlLmluZm8gb2N0 YXZlLWFsbC5pbmZvDQoNCicgZG9uJ3QgcmVtZW1iZXIgaG93IHRvIGxvb3Ag aW4gRE9TLi4uDQoNCmNvcHkgb2N0YXZlLWFsbC5pbmZvICsgb2N0YXZlLmlu Zm8tMSBvY3RhdmUtYWxsLmluZm8NCmNvcHkgb2N0YX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Ygb2N0YXZlLWFsbC5pbmZvDQoNCmVjaG8gb2ZmDQo= ------------KgIEl0kycPRwTZq9dkHmlG-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------