Date: Tue, 11 Feb 2003 02:34:37 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 74 ************************************************** Monday 10 February 2003 Number 74 ************************************************** Subjects for today 1 Re: Perl prefix : John Poltorak 2 pager : John Poltorak 3 Re: #include : John Poltorak 4 Re: #include : Stefan.Neis at t-online.de 5 Re: pager : andreas.buening at nexgo.de 6 libintl.a & intl.a : John Poltorak 7 Re: REGEX - please test : John Poltorak 8 Re: ED : Maynard" 9 Re: BZIP2 : Maynard" 10 Re: TERMCAP : Maynard" 11 Re: REGEX - please test : Henry Sobotka **= Email 1 ==========================** Date: Tue, 11 Feb 2003 09:09:35 +0000 From: John Poltorak Subject: Re: Perl prefix On Mon, Feb 10, 2003 at 05:29:45PM +0100, Stefan.Neis at t-online.de wrote: > Hi, > > > >perl -V (that's uppercase V) > > > > The prefixes shown so far are: > > /usr > > /usr/local > > /opt/perl (one Solaris box) > > > > The rest of it (lib/perl5 ...) is automatic after > the prefix is > set, > > Actually, you didn't look careful enough. ;-) > That was: > at INC: > /opt/perl/lib/5.6.0/sun4-solaris > /opt/perl/lib/5.6.0 > /opt/perl/lib/site_perl/5.6.0/sun4-solaris > /opt/perl/lib/site_perl/5.6.0 > /opt/perl/lib/site_perl > > No "perl5" subdirectory! It seems that perl5 is used when the prefix is /usr or /usr/local. In this case it must have been set to /opt/perl. I think we should set it to /usr to be compatible with most Unix systems. > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Tue, 11 Feb 2003 09:12:36 +0000 From: John Poltorak Subject: pager I suggest setting PAGER to less. Does anyone have any alternative suggestions? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Tue, 11 Feb 2003 13:29:28 +0000 From: John Poltorak Subject: Re: #include On Tue, Feb 11, 2003 at 01:55:32PM +0100, Stefan.Neis at t-online.de wrote: > John Poltorak schrieb: > > > I've seen some patches which include several instances of > > the following > > code:- > > > > +#ifdef __EMX__ > > +#include > > +#endif > > > > > > Isn't is better to handle something like this with > > configure? > > It would be better to handle it by simple > > +#include > > There are more systems than EMX which require explicit > inclusion of . That's yet again some of > the famous "Linux-only" code... The patches I'm referring to are included in fetchmail:- http://os2power.dnsalias.com/yuri/software/fetchmail621b1.zip Fetchmail is supposed to work on non-Linux Unix systems so why don't they also need this additional code? Or is it simply to do with the order of the includes?... > Regards, > Stefan -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Tue, 11 Feb 2003 13:55:32 +0100 (CET) From: Stefan.Neis at t-online.de Subject: Re: #include John Poltorak schrieb: > I've seen some patches which include several instances of > the following > code:- > > +#ifdef __EMX__ > +#include > +#endif > > > Isn't is better to handle something like this with > configure? It would be better to handle it by simple +#include There are more systems than EMX which require explicit inclusion of . That's yet again some of the famous "Linux-only" code... However, in the long run, it will be simpler to take the same approach as all other unices and just "break" the headers by adding #include in there as needed. > How would I go about replacing the code with configure > checks? It's rather difficult. There are many headers (essentially everything under sys) which enforce explicit inclusion of "sys/types.h" under OS/2, whereas they implicitly include "sys/types.h" themselves under Linux. Regards, Stefan _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Tue, 11 Feb 2003 19:17:00 +0100 (CET) From: andreas.buening at nexgo.de Subject: Re: pager John Poltorak wrote: > > I suggest setting PAGER to less. > > Does anyone have any alternative suggestions? That's a reasonable default setting, but finally it's the user's choice. Bye, Andreas One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie.---------------------------------------------------------------------------- Schlagen Sie sofort zu - mit Arcor und eBay Viele Artikel zum Sofort Kaufen! http://www.arcor.de/auk/ebay_sk.php ----------------------------------------------------------------------- _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 6 ==========================** Date: Tue, 11 Feb 2003 19:51:15 +0000 From: John Poltorak Subject: libintl.a & intl.a I've just built the latest GETTEXT and noticed that the library created is called intl.a rather than libintl.a. I always thought that a standard Unix build always added a lib prefix to libs. How does this manage to avoid it? Is it some feature of libtool? -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 7 ==========================** Date: Tue, 11 Feb 2003 20:02:29 +0000 From: John Poltorak Subject: Re: REGEX - please test On Mon, Feb 10, 2003 at 08:14:18PM +0100, andreas.buening at nexgo.de wrote: > John Poltorak wrote: > > On Sun, Feb 09, 2003 at 12:23:22PM +0100, Andreas Buening wrote: > > > Stefan.Neis at t-online.de wrote: > > [snip] > > > > > No problem at all. I just don't like the idea to put every single function > > > > (or every group of a 3 or 4 functions) into its own DLL. That's why I don't > > > > like regex.dll. > > > > > > Me, too. So let's standardize this. :-) > > > > regex.dll is an old established DLL which is used by a number of apps. > > Really? I thought I was the only one who uploaded a regex.dll to hobbes. I was referring to the general use of a regex library as such, so I have programs which use regex.dll, regex012.dll, gnuregex.dll and gnurx.dll - a real mess! I want to get rid of all the old programs and replace them with ones which use a standard regex.dll. > > I would prefer to have it available. > > There is no problem to recompile existing programs with the "new standardized > dll" (tm) or to provide regex.dll as legacy dll for a while. That's fine by me. I think it's too big a jump to replace all those versions of a regex lib with some all encompassing unixos2.dll at the moment. > If we at least could > kill those nasty gcc*.dll stuff. :-( Yes, I've managed to accumulate this lot so far:- gcc29160.dll gcc29166.dll gcc2952m.dll gcc2952s.dll gcc302m.dll gcc302s.dll I have no real idea where it has come from either... > > Bye, > Andreas > > One OS to rule them all, One OS to find them, > One OS to bring them all and in the darkness bind them > In the Land of Mordor where the Shadows lie.---------------------------------------------------------------------------- > Sichern Sie sich jetzt den neuen Otto Katalog mit über 40.000 > Artikeln auf über 1.300 Seiten - kostenlos und ganzalias= readwrite,single,cd,g:\ unverbindlich. > http://www.arcor.de/home/redir.php/email.otto > ----------------------------------------------------------------------- > -- John _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 8 ==========================** Date: Tue, 11 Feb 2003 21:02:23 -0600 (CST) From: "Maynard" Subject: Re: ED [x:\unixos2\scripts]type post-process\ed emxbind \usr\bin\ed && rm \usr\bin\ed emxbind \usr\bin\red && rm \usr\bin\red ed and red were installed into \usr\local\bin something needs to be fixed. Catching up ....., -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 9 ==========================** Date: Tue, 11 Feb 2003 21:17:29 -0600 (CST) From: "Maynard" Subject: Re: BZIP2 On Mon, 10 Feb 2003 14:06:16 +0000, John Poltorak wrote: >Let me know if it builds. just fine; though it's operation doesn't preserve datestamps -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 10 ==========================** Date: Tue, 11 Feb 2003 21:27:37 -0600 (CST) From: "Maynard" Subject: Re: TERMCAP On Mon, 10 Feb 2003 19:56:00 +0000, John Poltorak wrote: >Can someone try building TERMCAP using:- ? from the log: mv: /usr/lib/libtermcap.a: No such file or directory emxomf: Cannot open input file `/usr/lib/termcap.a' file created by the build: \usr\local\lib\libtermcap.a Is this the second report tonight of a mixup with /usr/local/ ? -- Maynard _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs **= Email 11 ==========================** Date: Tue, 11 Feb 2003 22:05:59 -0500 From: Henry Sobotka Subject: Re: REGEX - please test John Poltorak wrote: > > I was referring to the general use of a regex library as such, so I have > programs which use regex.dll, regex012.dll, gnuregex.dll and gnurx.dll - a > real mess! > > I want to get rid of all the old programs and replace them with ones which > use a standard regex.dll. If those DLLs contain different regex engines and flavors, they have to be kept separate. They may all have headers declaring functions with the same or similar names (re[g]_[comp|exec|free]), resulting for errorfree linkage even when the names are mapped with a #define. But their workings may differ, as might their interpretation of metacharacters (^+*| etc.) If, for instance, you link the regex library intended for grep with sed, you might find yourself scratching your head over all kinds of makefiles not behaving on OS/2 as they do on other platforms, and developing all kinds of patches that would be unnecessary had the right regex implementation been used. > Yes, I've managed to accumulate this lot so far:- > > gcc29160.dll > gcc29166.dll > gcc2952m.dll > gcc2952s.dll > gcc302m.dll > gcc302s.dll > > I have no real idea where it has come from either... Looks like the contents of the zip with fixed versions Andy put together a while back. h~ _______________________________________________ UX2BS mailing list UX2BS at powerusersbbs.net http://powerusersbbs.net/mailman/listinfo/ux2bs