Date: Mon, 15 Dec 2003 00:16:31 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 269 ************************************************** Sunday 14 December 2003 Number 269 ************************************************** Subjects for today 1 Re: curses! this libncurses thing... : John Poltorak 2 Pine problem : John Poltorak 3 Unix to DOS text file conversion. : John Poltorak 4 Re: Unix to DOS text file conversion. : Henry Sobotka 5 Re: Unix to DOS text file conversion. : Henry Sobotka 6 Re: Pine problem : Nicholas Sheppard 7 Re: Unix to DOS text file conversion. : John Poltorak 8 Re: Pine problem : John Poltorak **= Email 1 ==========================** Date: Sat, 13 Dec 2003 20:04:29 +0000 From: John Poltorak Subject: Re: curses! this libncurses thing... On Fri, Dec 12, 2003 at 07:15:04PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > On Thu, Dec 11, 2003 at 02:58:04PM -0500, Henry Sobotka wrote: > > > > > > Try changing -lstdc++ to -lstdcpp or -lstdcxx (depending on what version > > > of gcc you're using). > > > > How? > > > > I'm running autoconf and configure. What do I change? Configure.in? > > If you're talking about the Kismet 3.0.1, -lstdc++ is hardwired as LIBS > on line 117 of configure.in. I actually managed to figure out the culprit for myself this time... ;-) > You could add a case os2*) that just sets > LIBS to $LIBS (and add the appropriate -lstdc.. to LIBS in your > environment, but all I did was change "-lstdc++" to "-lstdcpp" and that worked, but I guess that isn't the correct way to do it... > or that tests for the gcc version (I believe there's an AC > macro for that; Andreas would likely know) and sets it appropriately. Should we ask Andreas to come up with a definitive patch? > h~ -- John **= Email 2 ==========================** Date: Sat, 13 Dec 2003 21:02:35 +0000 From: John Poltorak Subject: Pine problem I just noticed something strange in the PINE (v4.58) archive... Can anyine tell me if line 1 of pine4.58/imap/src/osdep/makefile.os2 is correct? I'm sure it isn't something I have just introduced on my system. Maybe I have just discovered why I haven't been able to build it so far... -- John **= Email 3 ==========================** Date: Sat, 13 Dec 2003 21:23:36 +0000 From: John Poltorak Subject: Unix to DOS text file conversion. Is there any way to convert Unix line termination to OS/2 format when the files are included in a tar.gz archive? Maybe there is just such an option on gzip or tar which I haven't found so far... If REXX scripts are included in a tar archive they may well have Unix terminators but unless they are converted to CRLF the scripts will not run. I don't want to add an extra step to the extraction process unless I can help it. -- John **= Email 4 ==========================** Date: Sat, 13 Dec 2003 20:47:50 -0500 From: Henry Sobotka Subject: Re: Unix to DOS text file conversion. John Poltorak wrote: > > Is there any way to convert Unix line termination to OS/2 format when the > files are included in a tar.gz archive? gzip has an -a flag for that. After "tounix tester tester2": 12-13-03 7:51p 156 0 tester 12-13-03 8:44p 145 0 tester2 After "gzip tester2" and "gzip -da tester2": 12-13-03 7:51p 156 0 tester 12-13-03 8:44p 156 0 tester2 h~ **= Email 5 ==========================** Date: Sat, 13 Dec 2003 20:47:50 -0500 From: Henry Sobotka Subject: Re: Unix to DOS text file conversion. John Poltorak wrote: > > Is there any way to convert Unix line termination to OS/2 format when the > files are included in a tar.gz archive? gzip has an -a flag for that. After "tounix tester tester2": 12-13-03 7:51p 156 0 tester 12-13-03 8:44p 145 0 tester2 After "gzip tester2" and "gzip -da tester2": 12-13-03 7:51p 156 0 tester 12-13-03 8:44p 156 0 tester2 h~ **= Email 6 ==========================** Date: Sun, 14 Dec 2003 20:07:13 +1100 (AED) From: Nicholas Sheppard Subject: Re: Pine problem On Sat, 13 Dec 2003, John Poltorak wrote: > Can anyine tell me if line 1 of pine4.58/imap/src/osdep/makefile.os2 is > correct? Do you mean pine4.58/imap/src/osdep/os2/makefile.os2? Line 1 in my copy is just a comment line that says "Portable C client makefile". The copy of that file in the pine4.58-os2.zip archive has Unix line breaks (not sure how that happened), though my make (GNU 3.76.1) doesn't seem to have a problem with it. If you are using the Makefile.os2 (etc.) from the original Uni of Washington distribution, I don't think it will work because their copy hasn't been updated since David Nugent did the port (3.9x). I know at least one of their make files does have a syntax error in it. Nicholas S. |\ Location: Wollongong, Australia | Most people would die sooner than think; |\ E-mail: nps at zeta.org.au | in fact, they do so. | WWW: http://www.zeta.org.au/~nps | | ---> Cynicism & Negativity | - Bertrand Russell **= Email 7 ==========================** Date: Sun, 14 Dec 2003 12:34:52 +0000 From: John Poltorak Subject: Re: Unix to DOS text file conversion. On Sat, Dec 13, 2003 at 08:47:50PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > Is there any way to convert Unix line termination to OS/2 format when the > > files are included in a tar.gz archive? > > gzip has an -a flag for that. After "tounix tester tester2": Thanks for pointing that out. Do you know any way to incorporate the '-a' option of gzip into:- ? tar zxf foo.tar.gz > h~ -- John **= Email 8 ==========================** Date: Sun, 14 Dec 2003 12:56:57 +0000 From: John Poltorak Subject: Re: Pine problem On Sun, Dec 14, 2003 at 08:07:13PM +1100, Nicholas Sheppard wrote: > On Sat, 13 Dec 2003, John Poltorak wrote: > > > Can anyine tell me if line 1 of pine4.58/imap/src/osdep/makefile.os2 is > > correct? > > Do you mean pine4.58/imap/src/osdep/os2/makefile.os2? Sorry, my mistake. That is what I did mean. > Line 1 in my copy is > just a comment line that says "Portable C client makefile". The original source has:- e# Program: Portable C client makefile -- OS/2 version I'm trying to build IMAPD using the original source coupled with your npine patches. I guess I have done something wrong here. I've tried to follow the instructions but am having lots of problems getting things to compile. > The copy of that file in the pine4.58-os2.zip archive has Unix line breaks > (not sure how that happened), though my make (GNU 3.76.1) doesn't seem to > have a problem with it. The Unix newlines don't usually cause a problem but REXX scripts just won't run. A couple seem to be used by various makefiles. Another problem is that quite a files such as fdstring.* seem to be missing, although I have managed to locate them in in the nt directory. As I understand it, I should be able to extract the UW archive, then your patches over the top and run build.cmd and I should end with imapd.exe in one of the subdirectories. Or have I misunderstood something?... > If you are using the Makefile.os2 (etc.) from the original Uni of > Washington distribution, I don't think it will work because their copy > hasn't been updated since David Nugent did the port (3.9x). I know at > least one of their make files does have a syntax error in it. See above. > > Nicholas S. > > |\ Location: Wollongong, Australia | Most people would die sooner than think; > |\ E-mail: nps at zeta.org.au | in fact, they do so. > | WWW: http://www.zeta.org.au/~nps | > | ---> Cynicism & Negativity | - Bertrand Russell -- John