From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 14 Jan 2003 04:48:21 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 13 ************************************************** Monday 13 January 2003 Number 13 ************************************************** Subjects for today 1 Re: GNU utils : John Poltorak 2 DB2 connectors : Ted Sikora 3 Python NCURSES : John Poltorak 4 Re: GNU utils : Steve Wendt 5 Re: DB2 connectors : Dave Saville" 6 Re: isc DHCP client : Bart van Leeuwen" **= Email 1 ==========================** Date: Tue, 14 Jan 2003 11:19:47 +0000 From: John Poltorak Subject: Re: GNU utils On Mon, Jan 13, 2003 at 06:05:44PM -0800, Steve Wendt wrote: > Looks like the GNU fileutils, shellutils, and textutils have all been > merged into the GNU core utils: > http://www.gnu.org/software/coreutils/ Hmmm.... Not sure about that. See:- ftp://ftp.gnu.org/pub/gnu/coreutils/ > Something similar has been done with the various internet utils: > http://www.gnu.org/software/inetutils/inetutils.html There has been a GNU InetUtils package for a long time. If you look in:- ftp://ftp.gnu.org/pub/gnu/inetutils/ it contains an old dir. I guess it has just been updated. It would be interested to see if they could be ported though... -- John **= Email 2 ==========================** Date: Tue, 14 Jan 2003 11:40:23 -0500 From: Ted Sikora Subject: DB2 connectors Anyone experienced with IBM DB2 know where I can get the latest bin for OS/2? Porting PyGres and MySQL connectors was an utter failure. The PyCop connector works but not well. Hell PostGreSQL itself does not. It's a huge memory hog compared to MySQL. Having a uint issue building the MySQL connector. There's a Win32 define: #ifdef MS_WIN32 #include #ifndef uint #define uint unsigned int #endif #endif /* MS_WIN32 */ I get a uint usage not defined error for the DBConnection routines like port = MYSQL_PORT Do I need to define a routine similar to the above for os2emx for unsigned int? -- Ted Sikora tsikora at ntplx.net **= Email 3 ==========================** Date: Tue, 14 Jan 2003 12:34:56 +0000 From: John Poltorak Subject: Python NCURSES Yesterday, I tried some of the samples included with Python in the DEMO\curses directory... xmas.py always brings a smile to my face for some reason :-)... For some reason ncurses.py did not work. It produced:- Traceback (most recent call last): File "ncurses.py", line 9, in ? from curses import panel File "c:/Python222/Lib/curses/panel.py", line 8, in ? from _curses_panel import * ImportError: module `_CURSES' not found Have I overlooked something? All the other programs in the diectory worked. -- John **= Email 4 ==========================** Date: Tue, 14 Jan 2003 14:42:04 -0800 (PST) From: Steve Wendt Subject: Re: GNU utils On Tue, 14 Jan 2003, John Poltorak wrote: > > Looks like the GNU fileutils, shellutils, and textutils have all been > > merged into the GNU core utils: > > http://www.gnu.org/software/coreutils/ > > Hmmm.... Not sure about that. See:- > > ftp://ftp.gnu.org/pub/gnu/coreutils/ The lack of files is explained on the web page. ;) **= Email 5 ==========================** Date: Tue, 14 Jan 2003 17:14:24 +0000 (GMT) From: "Dave Saville" Subject: Re: DB2 connectors On Tue, 14 Jan 2003 11:40:23 -0500, Ted Sikora wrote: >Anyone experienced with IBM DB2 know where I can get the latest bin for >OS/2? Porting PyGres and MySQL connectors was an utter failure. The >PyCop connector works but not well. Hell PostGreSQL itself does not. >It's a huge memory hog compared to MySQL. Having a uint issue building >the MySQL connector. There's a Win32 define: There was a whole series on OS2Zine that went thru all the DBs for OS/2 and where to get what. -- Regards Dave Saville **= Email 6 ==========================** Date: Tue, 14 Jan 2003 22:08:44 +0100 From: "Bart van Leeuwen" Subject: Re: isc DHCP client On 13-01-2003 12:55:13 owner-os2-unix wrote: >On Mon, Jan 13, 2003 at 12:38:29PM +0100, Bart van Leeuwen wrote: >> I'm using unixos2 to port the dhcp client/server from http://www.isc.org, >> so far I'm quiet happy with it.. > >Excellent! > >If you manage to get it working, you may be able to make some progress >with another ISC program - BIND... > >> but I run into missing library functions, I've looked into the libc sources >> and found out that the missing functions are really simple, >> compiled them created my own lib and it 'worked' as in I got the stuff >> compiled, I'm not ready for testing yet, but its a start.. >> but my question now, how is adding of missing libc functions coordinated ? >> because like this we end up having private implementations of missing >> functions which is not a good idea I think. > >This is a major problem when we have to many devlopers working in >isolation. > >My personal view is that we should try to incorporate missing libc >functions into Posix/2... Of course that puts the burden of maintaining >these functions on Stefan, and it may well be a time consuming task. > >I can't think how else to manage ot maintain them. > Okay I think a coordinated approach is the best, who is maintaining now, is he on the list what are his ideas about it ? I would like to move.. Regarding the dhcp client, I got it compiled and its actualy my dhcp server for a address, it doesn't understand the reactions but at least something is happening.. I do however have some questions about the make and configure script.. in the make files some 'sh.exe' script commands are used but they are passed to cmd.exe, what is the best way to deal with this ? second this script uses symlinks extensivly, I've tried to work around that with tvfs, but its not completly getting there.. is there a solution on the way (Holger ?? :-) ) or is there a general accepted method of doing that ? With Regards Bart van Leeuwen