Date: Wed, 10 Mar 2004 00:04:01 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 310 ************************************************** Tuesday 09 March 2004 Number 310 ************************************************** Subjects for today 1 Re: Re: XFree86 and Ncurses : Thomas Dickey 2 Re: GCC 3.2.2 Beta 4 : Dave and Natalie" 3 Re: Re: XFree86 and Ncurses : Dave and Natalie" 4 Zope 2.6.4 binaries : T.Sikora" 5 Shell script expertise wanted : John Poltorak 6 Building MAN : John Poltorak 7 Re: Re: XFree86 and Ncurses : Illya Vaes 8 Re: Re: XFree86 and Ncurses : Dave and Natalie" 9 Re: Re: XFree86 and Ncurses : Illya Vaes 10 Re: Re: XFree86 and Ncurses : Illya Vaes 11 Re: Shell script expertise wanted : Dave Saville" **= Email 1 ==========================** Date: Mon, 8 Mar 2004 08:01:16 -0500 (EST) From: Thomas Dickey Subject: Re: Re: XFree86 and Ncurses On Mon, 8 Mar 2004, Stefan Neis wrote: > On Mon, 8 Mar 2004, Thomas Dickey wrote: > > > On Mon, 8 Mar 2004, John Poltorak wrote: > > > > > > We're actually ahead of most Linux dists as they won't be updating to > > > > 4.4 due to license changes. (the XFree team wants credit and that is > > > > incompatible with the GPL) > > > > As written, the GPL doesn't address this - it's an interpretation which > > was made outside the actual license. > > Actually, paragraph 6 of GPL is saying > ... > > You may not impose any further restrictions on the recipients' exercise > > of the rights granted herein. > ... > and adding "only distribute with credits to XFree86 team" is one such > "further restriction", at least, that's the rationale that was given to > me... agree: that's an interpretation (and I don't know where the quote comes from). The XFree86 license says that you must give credit to them in end-user documentation if you do it for other contributors. (if you don't credit contributors, of course, that requirement doesn't seem to apply ;-) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 2 ==========================** Date: Mon, 08 Mar 2004 08:18:43 -0800 From: "Dave and Natalie" Subject: Re: GCC 3.2.2 Beta 4 On Mon, 8 Mar 2004 11:20:51 +0100 (CET), Stefan Neis wrote: >On Sun, 7 Mar 2004, Stefan Neis wrote: > >> Is there an easier alternative than rewriting dllar.cmd to Unix shell >> language to work around that? > >My dllar.sh seems to be mostly working, anyone interested? Sounds interesting Dave **= Email 3 ==========================** Date: Mon, 08 Mar 2004 08:18:13 -0800 From: "Dave and Natalie" Subject: Re: Re: XFree86 and Ncurses On Mon, 8 Mar 2004 10:36:11 +0000, John Poltorak wrote: >On Sun, Mar 07, 2004 at 06:32:15PM -0800, Dave and Natalie wrote: >> On Sun, 7 Mar 2004 18:33:38 +0000, John Poltorak wrote: >> >> >> The XFree86 text mode config program also uses ncurses >> > >> >Is this something new? I never came across it when I last tried XFree86. >> >> Well not so new anymore. I think it first came with 4.0. On OS/2 it >> came with 4.3 and now 4.4. Screen shots at >> http://www.os2world.com/os2files/xfree86/installation_v4.html > >It looks like a Dialog app... > >Is it included with 4.4? I couldn't see it. Read the above URL. It is /usr/X11R6/bin/xf86cfg.exe. Add -textmode for the ncurses interface. > > >> In case anyone missed it XFree86/2 ver 4.4 was released last week and >> is at ftp.netlabs.org. Warning ftp.netlabs.org doesn't seem to work >> with a browser (including wget) so you need to use a real ftp program >> eg ncftp. > >No problem with Firefox... Good they fixed it. Seems they changed their OS from OS/2 to unknown > > >> This version of XFree is compiled to install in /usr/X11R6 instead of >> /XFree86. > >I'm really pleased to hear that. It fits nicely into the FHS directory >structure that we have wanted for a while. > >> We're actually ahead of most Linux dists as they won't be updating to >> 4.4 due to license changes. (the XFree team wants credit and that is >> incompatible with the GPL) > >That's good to hear. It would be nice to have OS/2 at the leading edge of >OSS development. I think it's better placed now than it ever has been. Dave **= Email 4 ==========================** Date: Mon, 08 Mar 2004 11:34:49 -0500 From: "T.Sikora" Subject: Zope 2.6.4 binaries Two new Zope binaries for OS/2. One with Plone 2.0rc6 the other without. Both contain CMF 1.4.2, LFS, and LFSBrowser and include Python 2.3.3. Python includes the Docutils extension for Plone support and Andrew's MX, Psyco, PIL, and PyPgSQL extensions. Much improved performance with the new Python port. It's finally the equal of the Linux versions in performance and stability. The Plone version still has a huge memory footprint and is pretty slow but is still on par with the other platforms. Here's Plone on OS/2(It's on a memory-challanged server but still no worse than most plone sites): http://sections.powerusersbbs.net/plone You can get the binaries here: http://os2ports.com/downloads/index_html?dir=pub/os2/unix/internet/Zope or ftp://os2ports.com/pub/os2/unix/internet/Zope/ ux2/ux2bs version should be available this week. Enjoy! -- T.Sikora tsikora at ntplx dot net **= Email 5 ==========================** Date: Mon, 8 Mar 2004 16:57:35 +0000 From: John Poltorak Subject: Shell script expertise wanted If anyone is good with shell scripts, can you say what should be changed for this routine to locate python.exe in /usr/bin ? TARGET="2.3.3" ACCEPTABLE="2.3.2 2.3.1 2.3 2.2.3 2.2.2" EXENAMES="python python2 python2.1 python2.2 python2.3" get_python() { OLDIFS="$IFS" IFS=":" FOUND="" VERSION="" FOUNDLIST="" out "Testing for an acceptable Python interpreter..." out "" for DIR in $PATH; do IFS="$OLDIFS" for EXECUTABLE in $EXENAMES; do FULL="$DIR/$EXECUTABLE" if [ -x "$FULL" ]; then CMD="import string,sys;a=string.split(sys.version)[0]" # Strip trailing + from version number CMD="$CMD;a=(a[-1]=='+')and(a[:-1])or(a);print a" VERSION=`"$FULL" -c "$CMD"` out " Python version $VERSION found at $FULL" if [ "$VERSION" = "$TARGET" ]; then FOUND="$FULL" FOUNDVERSION=$VERSION break 2 else i=1; for ACC in $ACCEPTABLE; do i=`expr $i + 1` for SLOT in $FOUNDLIST; do if [ $SLOT -eq $i ]; then # slot "i" already populated. This means we've # already found this particular version of # python. Continue the for ACC in # $ACCEPTABLE loop and don't overwrite the # one we already found (interpreters first # on the path win). continue 2 fi done if [ "$VERSION" = "$ACC" ]; then FOUNDLIST="$FOUNDLIST $i" eval "FOUND$i=$FULL" eval "FOUNDVERSION$i=$VERSION" fi done fi fi done done if [ "$VERSION" = "$TARGET" ]; then out "" out " The optimum Python version ($TARGET) was found at $FOUND." -- John **= Email 6 ==========================** Date: Mon, 8 Mar 2004 18:05:04 +0000 From: John Poltorak Subject: Building MAN Has anyone tried building MAN recently? It is about time it was brought up to date. -- John **= Email 7 ==========================** Date: Mon, 8 Mar 2004 21:24:45 From: Illya Vaes Subject: Re: Re: XFree86 and Ncurses ** Reply to note from "Dave and Natalie" Mon, 08 Mar 2004 08:18:13 -0800 >>>In case anyone missed it XFree86/2 ver 4.4 was released last week and >>>is at ftp.netlabs.org. Warning ftp.netlabs.org doesn't seem to work >>>with a browser (including wget) so you need to use a real ftp program >>>eg ncftp. >>No problem with Firefox... >Good they fixed it. Seems they changed their OS from OS/2 to unknown Installed Firefox 0.8 at work (Windows version...) to try to reach it, but no dice. That is behind a firewall ofcourse (haven't thought of seeing whether I can try "passive" with Firefox at the time). **= Email 8 ==========================** Date: Mon, 08 Mar 2004 16:20:47 -0800 From: "Dave and Natalie" Subject: Re: Re: XFree86 and Ncurses On Mon, 8 Mar 2004 21:24:45, Illya Vaes wrote: >** Reply to note from "Dave and Natalie" Mon, 08 Mar 2004 08:18:13 -0800 >>>>In case anyone missed it XFree86/2 ver 4.4 was released last week and >>>>is at ftp.netlabs.org. Warning ftp.netlabs.org doesn't seem to work >>>>with a browser (including wget) so you need to use a real ftp program >>>>eg ncftp. >>>No problem with Firefox... >>Good they fixed it. Seems they changed their OS from OS/2 to unknown > >Installed Firefox 0.8 at work (Windows version...) to try to reach it, >but no dice. That is behind a firewall ofcourse (haven't thought of seeing >whether I can try "passive" with Firefox at the time). Hmm, working here now with Mozilla 1.7 and firefox 0.8 now. Dave **= Email 9 ==========================** Date: Tue, 9 Mar 2004 07:44:37 GMT From: Illya Vaes Subject: Re: Re: XFree86 and Ncurses >>>>>is at ftp.netlabs.org. Warning ftp.netlabs.org doesn't seem to work >>>>>with a browser (including wget) so you need to use a real ftp program >>>>>eg ncftp. >>>>No problem with Firefox... >>>Good they fixed it. Seems they changed their OS from OS/2 to unknown >>Installed Firefox 0.8 at work (Windows version...) to try to reach it, >>but no dice. That is behind a firewall ofcourse (haven't thought of seeing >>whether I can try "passive" with Firefox at the time). >Hmm, working here now with Mozilla 1.7 and firefox 0.8 now. It worked at home with Firefox 0.8, copied the URLs and tried to wget those and _that_ worked (but I still can't navigate in Firefox at work). **= Email 10 ==========================** Date: Tue, 9 Mar 2004 07:54:16 GMT From: Illya Vaes Subject: Re: Re: XFree86 and Ncurses >copied the URLs and tried to wget those and _that_ worked "At work" that is... :-\ **= Email 11 ==========================** Date: Tue, 09 Mar 2004 12:03:46 +0000 (GMT) From: "Dave Saville" Subject: Re: Shell script expertise wanted On Mon, 8 Mar 2004 16:57:35 +0000, John Poltorak wrote: > >If anyone is good with shell scripts, can you say what should be changed >for this routine to locate python.exe in /usr/bin ? Seems to me that as long as /usr/bin is in your PATH it should find it. And if you really meant python.exe then it needs to be in that list of EXENAMES - but is this not a python script itself? ie the line get_python() ? -- Regards Dave Saville