Date: Mon, 8 Mar 2004 00:04:01 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 308 ************************************************** Sunday 07 March 2004 Number 308 ************************************************** Subjects for today 1 Lynx and Ncurses was Re: tar & at LongLink : Patrick Ash " 2 Re: Lynx and Ncurses : John Poltorak 3 Re: Re: Lynx and Ncurses : Patrick Ash " 4 Zope 2.6.4 : John Poltorak 5 Re: Re: Lynx and Ncurses : John Poltorak 6 Re: Re: Lynx and Ncurses : Thomas Dickey 7 Re: Re: Lynx and Ncurses : Thomas Dickey 8 Re: Re: Lynx and Ncurses : Christian Hennecke" 9 Re: Zope 2.6.4 : Christian Hennecke" 10 Re: Zope 2.6.4 : John Poltorak 11 Re: Zope 2.6.4 : T.Sikora" 12 Re: Zope 2.6.4 : John Poltorak 13 Re: GCC 3.2.2 Beta 4 : Knut St. Osmundsen" 14 Re: GCC 3.2.2 Beta 4 : Knut St. Osmundsen" 15 Re: ash : Knut St. Osmundsen" 16 Re: InnoTek builds : Knut St. Osmundsen" 17 Re: Re: Lynx and Ncurses : Nicholas Sheppard 18 Re: ash : John Poltorak 19 Re: InnoTek builds : John Poltorak **= Email 1 ==========================** Date: Sat, 06 Mar 2004 08:39:11 +0000 From: "Patrick Ash " Subject: Lynx and Ncurses was Re: tar & at LongLink Lynx 2.8.5rel.1 builds without problem here. I built it yesterday with ncurses 5.4 (now in hobbes incoming) and had no problems with either. Haven't had much chance to do a lot of testing, but I didn't see any problems with the minimal testing I was able to do. Pat On Sat, 6 Mar 2004 06:53:12 -0500 (EST), Thomas Dickey wrote: >> Any news on tin & lynx ? > >not much. I did test compile/run lynx shortly before the 2.8.5 >release (same with ncurses). So they should work. -- Patrick Ash patash at comcast.net There are only 10 kinds of people in the world -- Those who understand binary and those who don't. This OS/2 system uptime is 2 days, 11:25 hours and 23 seconds **= Email 2 ==========================** Date: Sat, 6 Mar 2004 13:49:02 +0000 From: John Poltorak Subject: Re: Lynx and Ncurses On Sat, Mar 06, 2004 at 08:39:11AM +0000, Patrick Ash wrote: > Lynx 2.8.5rel.1 builds without problem here. I built it yesterday > with ncurses 5.4 (now in hobbes incoming) and had no problems with > either. Haven't had much chance to do a lot of testing, but I didn't > see any problems with the minimal testing I was able to do. I didn't know there was a new version of NCURSES... I'd better make sure it builds under UX2BS. Incidentally, is there anything like a list of apps which require NCURSES for getting built? > Pat > > On Sat, 6 Mar 2004 06:53:12 -0500 (EST), Thomas Dickey wrote: > > >> Any news on tin & lynx ? > > > >not much. I did test compile/run lynx shortly before the 2.8.5 > >release (same with ncurses). So they should work. > > -- > Patrick Ash > patash at comcast.net > > There are only 10 kinds of people in the world -- > Those who understand binary and those who don't. > > This OS/2 system uptime is 2 days, 11:25 hours and 23 seconds > -- John **= Email 3 ==========================** Date: Sat, 06 Mar 2004 09:04:03 +0000 From: "Patrick Ash " Subject: Re: Re: Lynx and Ncurses On Sat, 6 Mar 2004 13:49:02 +0000, John Poltorak wrote: >I didn't know there was a new version of NCURSES... > >I'd better make sure it builds under UX2BS. > >Incidentally, is there anything like a list of apps which require >NCURSES for getting built? > Don't know of any list, but the only apps I have found that can use (not necessarily require) ncurses are lynx, tin and mutt. There are probably others, but I have not found any but these 3. Pat -- Patrick Ash patash at comcast.net There are only 10 kinds of people in the world -- Those who understand binary and those who don't. This OS/2 system uptime is 2 days, 11:50 hours and 16 seconds **= Email 4 ==========================** Date: Sat, 6 Mar 2004 14:16:06 +0000 From: John Poltorak Subject: Zope 2.6.4 If anyone has ever heard of Zope, you may be interested to know that I managed to build v2.6.4 yesterday using the latest release of Python. Zope is probably the best known Python application and provides a nice web server and integrated web development environment. I even got Plone working with it too. You may get more information about it on the zope-os2 support site in due course. -- John **= Email 5 ==========================** Date: Sat, 6 Mar 2004 14:56:44 +0000 From: John Poltorak Subject: Re: Re: Lynx and Ncurses On Sat, Mar 06, 2004 at 09:04:03AM +0000, Patrick Ash wrote: > On Sat, 6 Mar 2004 13:49:02 +0000, John Poltorak wrote: > > >I didn't know there was a new version of NCURSES... > > > >I'd better make sure it builds under UX2BS. > > > >Incidentally, is there anything like a list of apps which require > >NCURSES for getting built? > > > Don't know of any list, but the only apps I have found that can use > (not necessarily require) ncurses are lynx, tin and mutt. There are > probably others, but I have not found any but these 3. I think Python and ADA also use NCURSES... > Pat > > -- > Patrick Ash > patash at comcast.net > > There are only 10 kinds of people in the world -- > Those who understand binary and those who don't. > > This OS/2 system uptime is 2 days, 11:50 hours and 16 seconds -- John **= Email 6 ==========================** Date: Sat, 6 Mar 2004 10:22:55 -0500 (EST) From: Thomas Dickey Subject: Re: Re: Lynx and Ncurses On Sat, 6 Mar 2004, John Poltorak wrote: > On Sat, Mar 06, 2004 at 08:39:11AM +0000, Patrick Ash wrote: > > Lynx 2.8.5rel.1 builds without problem here. I built it yesterday > > with ncurses 5.4 (now in hobbes incoming) and had no problems with > > either. Haven't had much chance to do a lot of testing, but I didn't > > see any problems with the minimal testing I was able to do. > > I didn't know there was a new version of NCURSES... > > I'd better make sure it builds under UX2BS. > > Incidentally, is there anything like a list of apps which require > NCURSES for getting built? I don't really keep track. Occasionally I look at one of the Linux /usr/bin's and do an ldd, looking for ncurses. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 7 ==========================** Date: Sat, 6 Mar 2004 10:35:34 -0500 (EST) From: Thomas Dickey Subject: Re: Re: Lynx and Ncurses On Sat, 6 Mar 2004, Patrick Ash wrote: > On Sat, 6 Mar 2004 13:49:02 +0000, John Poltorak wrote: > > >I didn't know there was a new version of NCURSES... > > > >I'd better make sure it builds under UX2BS. > > > >Incidentally, is there anything like a list of apps which require > >NCURSES for getting built? > > > Don't know of any list, but the only apps I have found that can use > (not necessarily require) ncurses are lynx, tin and mutt. There are > probably others, but I have not found any but these 3. The ones I use: dialog, cdk, ded, vile. There are others at the termcap level: xterm for example. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 8 ==========================** Date: Sat, 06 Mar 2004 18:09:44 +0100 (CET) From: "Christian Hennecke" Subject: Re: Re: Lynx and Ncurses On Sat, 06 Mar 2004 09:04:03 +0000, Patrick Ash wrote: >>Incidentally, is there anything like a list of apps which require >>NCURSES for getting built? >> >Don't know of any list, but the only apps I have found that can use >(not necessarily require) ncurses are lynx, tin and mutt. There are >probably others, but I have not found any but these 3. Gramofile does. An OS/2 port of version 1.6 is available at http://www.os2world.com/cdwriting. Christian Hennecke **= Email 9 ==========================** Date: Sat, 06 Mar 2004 19:19:47 +0100 (CET) From: "Christian Hennecke" Subject: Re: Zope 2.6.4 On Sat, 6 Mar 2004 14:16:06 +0000, John Poltorak wrote: >If anyone has ever heard of Zope, you may be interested to know that I >managed to build v2.6.4 yesterday using the latest release of Python. > >Zope is probably the best known Python application and provides a nice web >server and integrated web development environment. I even got Plone >working with it too. Great! I'm still thinking about using Zope and extensions as CMS for an OS/2 site. Christian Hennecke **= Email 10 ==========================** Date: Sat, 6 Mar 2004 18:57:53 +0000 From: John Poltorak Subject: Re: Zope 2.6.4 On Sat, Mar 06, 2004 at 07:19:47PM +0100, Christian Hennecke wrote: > On Sat, 6 Mar 2004 14:16:06 +0000, John Poltorak wrote: > > >If anyone has ever heard of Zope, you may be interested to know that I > >managed to build v2.6.4 yesterday using the latest release of Python. > > > >Zope is probably the best known Python application and provides a nice web > >server and integrated web development environment. I even got Plone > >working with it too. > > Great! I'm still thinking about using Zope and extensions as CMS for an > OS/2 site. Zope has only just started to make any sense to me after I'd been messing around with it for ages. As a starting point for OS/2 you may want to check:- http://zope.os2ports.com/ZopeOS2 > Christian Hennecke -- John **= Email 11 ==========================** Date: Sat, 06 Mar 2004 14:18:12 -0500 From: "T.Sikora" Subject: Re: Zope 2.6.4 Christian Hennecke wrote: > On Sat, 6 Mar 2004 14:16:06 +0000, John Poltorak wrote: > > >>If anyone has ever heard of Zope, you may be interested to know that I >>managed to build v2.6.4 yesterday using the latest release of Python. 2.3.3? Cool! Straight up build with the python bin? >> >>Zope is probably the best known Python application and provides a nice web >>server and integrated web development environment. I even got Plone >>working with it too. > > > Great! I'm still thinking about using Zope and extensions as CMS for an > OS/2 site. > > Christian Hennecke > > -- T.Sikora tsikora at ntplx dot net **= Email 12 ==========================** Date: Sat, 6 Mar 2004 19:22:55 +0000 From: John Poltorak Subject: Re: Zope 2.6.4 On Sat, Mar 06, 2004 at 02:18:12PM -0500, T.Sikora wrote: > Christian Hennecke wrote: > > On Sat, 6 Mar 2004 14:16:06 +0000, John Poltorak wrote: > > > > > >>If anyone has ever heard of Zope, you may be interested to know that I > >>managed to build v2.6.4 yesterday using the latest release of Python. > > 2.3.3? Cool! Straight up build with the python bin? Yup! This is the one you need:- http://www.pcug.org.au/~andymac/python-2.3/python-2.3.3-emx-bin-031225.zip I couldn't get Plone working with with Zope 2.6.1 and that version used an old version of Python which was probably causing the underlying problem, but 2.6.4 does build with Python 2.3.3 and the Plone problem has now gone. > > -- > T.Sikora > tsikora at ntplx dot net -- John **= Email 13 ==========================** Date: Sun, 07 Mar 2004 00:43:30 +0100 From: "Knut St. Osmundsen" Subject: Re: GCC 3.2.2 Beta 4 Stefan Neis wrote: > Hi, > > >>I noticed two things while trying to build wxWindows with that build: > > (snipp) > Here comes the third: > For linking, I used to not use ".def files" (it's ugly to auto-create > them), instead I used to run "emxbind -ep" on the wxWindows exectuables > at the end of the build to set the application type to "PM application". > With the new gcc build, I just get "emxbind: invalid option". > > For now, I created a "dummy" .def file and manually added that to the "gcc > -o minimal.exe ..." line and now I have the minimal sample up and running, > but having to create a definition file everytime I want to link something > is not something I actually like. Is there some easier way to set the > application type? Passing some suitable option to the linker or a way to > make "emxbind -ep" work on the executable again? Thanks for the report. It's a bug, missing "e" in the getopt arguments. Have fixed it now. Kind Regards, knut **= Email 14 ==========================** Date: Sun, 07 Mar 2004 00:42:01 +0100 From: "Knut St. Osmundsen" Subject: Re: GCC 3.2.2 Beta 4 Stefan Neis wrote: > Hi (Knut), > > >>Thers a GCC build have available at: > > (snipp) > > I noticed two things while trying to build wxWindows with that build: > 1. As was the case with plain EMX, also in this build os2emx.h is > missing the type SPBCDATA, taking what I found in toolkit documentation, > it should look like this: > typedef struct _SPBCDATA { > ULONG cbSize; /* Size of control block. */ > ULONG ulTextLimit; /* Entryfield text limit. */ > LONG lLowerLimit; /* Spin lower limit (numeric only). */ > LONG lUpperLimit; /* Spin upper limit (numeric only). */ > ULONG idMasterSpb; /* ID of the servant's master spinbutton. */ > PVOID pHWXCtlData; /* Handwriting control data structure flag. */ > } SPBCDATA; > > typedef SPBCDATA *PSPBCDATA; Thanks, this have been added now. > 2. In sys/locale.h, the definition of "struct lconv" is surrounded by > #ifdef __INTERNAL_DEFS, which limits the usefulness of function > localeconv from "locale.h" since you can't actually reasonably access > the function's result, unless you explicitly add something like > #define __INTERNAL_DEFS > at the beginning of the source code. That's a bug. I'm fixing it. Kind Regards, knut **= Email 15 ==========================** Date: Sun, 07 Mar 2004 01:08:05 +0100 From: "Knut St. Osmundsen" Subject: Re: ash John Poltorak wrote: > There is a new build of ASH here:- > > http://www.innotek.de/products/gccos2/ > > > Is this fully functional? It's just the old ash port with a couple of new fixes/workarounds. I will try find some time to update the stuff to FreeBSD 5.2 level or something similar. (For those who didn't know, ash is called /bin/sh on FreeBSD. Which implies that it's supposed to be 100% bourne shell compatible.) There are still a configure (the gcc one IIRC) which doesn't work with ash, but works nice (but very slowly) with bash v2.00.0(266). Kind Regards, knut **= Email 16 ==========================** Date: Sun, 07 Mar 2004 01:02:48 +0100 From: "Knut St. Osmundsen" Subject: Re: InnoTek builds John Poltorak wrote: > I've just noticed quite a few OS/2 friendly GNU apps here:- > > http://www.innotek.de/products/gccos2/ > > > How do I go about building these from the original GNU source? Well, basically you would like to get the changed sources. If you insists on getting stuff of a ftp.gnu.org mirror and apply a diff you will (at the moment) have to generate that diff yourself. Building the stuff means doing the familiar aclocal/auto stuff and running make. I've created a set of wrapper makefiles around the various make systems to feed them with the CFLAGS/LDLFAGS/AR/++ during the right steps. This is the port.gmk file in each of the source zips. Not sure if this is gonna help you much, especially since I am afraid I forgot to put out the ../../make directory containing all the juicy GNU Make bits. > I'm particularly interested in getting GETTEXT built since there > appears to be something wrong with the one I built straight from the > GNU source. The GETTEXT diff should be that big (once removing configure scripts). You could also just download the source zips from the innotek site. (I'm sorry that I'm to 'lazy' to generate diffs in addition to the sources. I'll see about that for some later release.) > My efforts with UX2BS have stalled because I am unable to get a > working INTL.DLL built. Maybe this one might be more successful. deja vu ... Kind Regards, knut **= Email 17 ==========================** Date: Sun, 7 Mar 2004 21:01:08 +1000 (est) From: Nicholas Sheppard Subject: Re: Re: Lynx and Ncurses On Sat, 6 Mar 2004, Patrick Ash wrote: > Don't know of any list, but the only apps I have found that can use > (not necessarily require) ncurses are lynx, tin and mutt. There are > probably others, but I have not found any but these 3. Pine will be moving to ncurses as of 4.60 (currently in pre-releae testing) -- though you should also be able compile it with termcap if you're determined. Nicholas S. **= Email 18 ==========================** Date: Sun, 7 Mar 2004 10:26:48 +0000 From: John Poltorak Subject: Re: ash On Sun, Mar 07, 2004 at 01:08:05AM +0100, Knut St. Osmundsen wrote: > John Poltorak wrote: > > There is a new build of ASH here:- > > > > http://www.innotek.de/products/gccos2/ > > > > > > Is this fully functional? > > It's just the old ash port with a couple of new fixes/workarounds. > I will try find some time to update the stuff to FreeBSD 5.2 level or > something similar. (For those who didn't know, ash is called /bin/sh on > FreeBSD. Which implies that it's supposed to be 100% bourne shell > compatible.) > > There are still a configure (the gcc one IIRC) which doesn't work with > ash, but works nice (but very slowly) with bash v2.00.0(266). How does ash compare with the most recent pdksh? I'm not really sure why anyone would want to run bash when building apps. It seems far too bulky. I'd be interested in switching from pdksh to ash if ash was quicker. > > Kind Regards, > knut -- John **= Email 19 ==========================** Date: Sun, 7 Mar 2004 10:50:38 +0000 From: John Poltorak Subject: Re: InnoTek builds On Sun, Mar 07, 2004 at 01:02:48AM +0100, Knut St. Osmundsen wrote: > John Poltorak wrote: > > I've just noticed quite a few OS/2 friendly GNU apps here:- > > > > http://www.innotek.de/products/gccos2/ > > > > > > How do I go about building these from the original GNU source? > > Well, basically you would like to get the changed sources. If you > insists on getting stuff of a ftp.gnu.org mirror and apply a diff you > will (at the moment) have to generate that diff yourself. I should be able to manage that. > Building the stuff means doing the familiar aclocal/auto stuff and > running make. I've created a set of wrapper makefiles around the various > make systems to feed them with the CFLAGS/LDLFAGS/AR/++ during the right > steps. This is the port.gmk file in each of the source zips. Not sure if > this is gonna help you much, especially since I am afraid I forgot to > put out the ../../make directory containing all the juicy GNU Make bits. Well I'll try creating a diff and applying it to the original GNU source, then run autoconf and configure and see how far it gets. If a Makefile gets created I'll run that. > > I'm particularly interested in getting GETTEXT built since there > > appears to be something wrong with the one I built straight from the > > GNU source. > > The GETTEXT diff should be that big (once removing configure scripts). > You could also just download the source zips from the innotek site. I wasn't sure about the status of the source zip since it contains things like autom4te.cache... > (I'm sorry that I'm to 'lazy' to generate diffs in addition to the > sources. I'll see about that for some later release.) It doesn't matter too much as long as I have instructions for being able to create a useable diff file myself. It looks as though I would need to delete autom4te.cache config.h.in and configure to create your original source. I have no idea what port.gmk does but assume it is required. > Kind Regards, > knut > -- John