Date: Thu, 26 Mar 1992 19:55 CST From: DARREL HANKERSON Subject: Re: globbing and texindex (texinfo) To: dj AT ctron DOT com Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Status: O Hankerson said: >I found that glob.c (obtained as part of the GNUish project) is easily added >and provides acceptable globbing for texindex. I'm very much a novice, so >please excuse this if it is just saying the obvious. Delorie replied: >By all means, please post and/or send to me! As long as it can handle >the virtual argc/argv (ie: it has to be called from inside control.c) >and fits into the TEXT segment I'll put it in. I'm terribly sorry for not being more clear. I meant that I used glob.c to give globbing to the ONE application: texinfo. I believe that adding globbing as you describe is more difficult. I just had glob.c do the globbing and pass it to the original main() of texinfo. (I renamed main in texinfo--no other change to texinfo was required. Then gcc the works.) Can globbing be added in general this way? Can't crt0 (or whatever is responsible) simply call the main() from glob (let's call it glob_main()) and then glob_main() can call main()? Remark: someone suggested letting something like glob simply execute texinfo (ms_sh works great for this), but this does have a length limit (but it would probably work for many cases). Hankerson said: >Is there a termcap for djgpp? Delorie replied: >Nope; use libpc.a for direct (really *really* fast screen updates!). >I have a curses port to libpc.a that I'll try to make available with >1.06. As I said above, I'm new at this. I wanted an easy port of texinfo's info (which apparently can be done with the termcap lib?). --darrel hankerson hank AT ducvax DOT auburn DOT edu