Mail Archives: cygwin/2000/11/28/05:17:18
Hi,
My guess is it has something to do with the O_BINARY setting which
invalidates the generated info.exe for use with INFOPATH set to a DOS-like
path. The trouble is that NTemacs cannot handle the cygwin style INFOPATH.
I solved it by hiding the info.exe behind the following Perl script info.pl:
-----8<-----
#!D:/Perl/bin/Perl.exe
## info.pl - adjust Windows style INFOPATH environment variable to Unix
style
# then call the real info program to process the arguments
$ENV{INFOPATH} =~ s/;$//; # drop trailing semi-colon if any
chomp($ENV{INFOPATH} = `cygpath --unix --path $ENV{INFOPATH}`);
@args = ('c:\cygwin\bin\info.exe', @ARGV);
system(@args);
-----8<-----
I had to use a similar trick for man, apropos, whatis, and makewhatis (to
convert MANPATH).
Cheers,
Karel
--
Karel Sprenger, senior solution specialist
COMPAQ, Professional Services
Mobile: +31 (6) 5178 5034 Home: +31 (20) 670 0942
E-mail: karel DOT sprenger AT compaq DOT com Private: cjas AT xs4all DOT nl
"The best way to have a good idea is to have lots of ideas." - Linus
Pauling
> -----Original Message-----
> From: Sprenger, Karel
> Sent: Tuesday, November 28, 2000 10:24
> To: 'Town, Brad'; 'cygwin AT cygwin DOT com'
> Subject: texinfo-4.0-3 (was RE: texinfo-4.0-2)
>
>
> Hi again,
>
> When looking for the texinfo source, I found texinfo-4.0-3 is
> now available
> (at least on the ftp.sunsite.utk.edu mirror). The info in
> that distribution
> works well again, i.e., it processes all directories in
> INFOPATH=/emacs/info:/usr/info:/usr/local/info.
>
> Oops! It is still not entirely correct as in a CMD box with
> INFOPATH set to
> c:/emacs/info;c:/cygwin/usr/info;c:/usr/local/info, it skips the first
> directory and processes the remaining two in reverse order.
>
> I think I'll have a look at the source.
>
> Cheers,
> Karel
>
> --
> Karel Sprenger, senior solution specialist
> COMPAQ, Professional Services
> Mobile: +31 (6) 5178 5034 Home: +31 (20) 670 0942
> E-mail: karel DOT sprenger AT compaq DOT com Private: cjas AT xs4all DOT nl
> "The best way to have a good idea is to have lots of ideas." - Linus
> Pauling
>
>
> > -----Original Message-----
> > From: Sprenger, Karel
> > Sent: Tuesday, November 28, 2000 09:02
> > To: 'Town, Brad'; 'cygwin AT cygwin DOT com'
> > Subject: RE: texinfo-4.0-2
> >
> >
> > Hi,
> >
> > Just noted that the info in texinfo-4.0-2 works in a CMD box
> > with INFOPATH
> > set to c:/emacs/info;c:/cygwin/usr/info;c:/usr/local/info,
> > but only looks
> > into /usr/info when run in a bash shell. So maybe you should
> > concentrate on
> > what info does with the INFOPATH variable.
> >
> > Cheers,
> > Karel
> >
> > --
> > Karel Sprenger, senior solution specialist
> > COMPAQ, Professional Services
> > Mobile: +31 (6) 5178 5034 Home: +31 (20) 670 0942
> > E-mail: karel DOT sprenger AT compaq DOT com Private: cjas AT xs4all DOT nl
> > "The best way to have a good idea is to have lots of ideas." - Linus
> > Pauling
> >
> >
> > > -----Original Message-----
> > > From: Town, Brad [mailto:btown AT ceddec DOT com]
> > > Sent: Monday, November 27, 2000 18:38
> > > To: 'cygwin AT cygwin DOT com'
> > > Subject: RE: texinfo-4.0-2
> > >
> > >
> > > > The cygwin build of texinfo (texinfo-4.0-2) doesn't look in
> > > > /usr/local/info.
> > > > However, a quick rebuild of the source (obtained by clicking
> > > > on the Source
> > > > checkbox during setup) works correctly.
> > >
> > > Oops, still doesn't work. I'm looking into it.
> > >
> > > Brad Town
> > >
> > > --
> > > Want to unsubscribe from this list?
> > > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> > >
> >
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> >
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -