From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Wed, 20 Mar 2002 04:20:02 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 169 ************************************************** Tuesday 19 March 2002 Number 169 ************************************************** Subjects for today 1 Re: Texinfo v4.1 : Jun Sawataishi 2 Re: BIND : Mikkel C. Simonsen" 3 Re: BIND : John Poltorak 4 Re: Porting Joe's Own Editor (JOE) : John Poltorak 5 Gettext v0.11.1 : John Poltorak 6 Re: Perl directory structure : Henry Sobotka 7 Re: Perl test time-out : Henry Sobotka 8 Perl directory structure : John Poltorak 9 Re: Perl test time-out : Henry Sobotka 10 Re: Building XFree86 v3.3.6 : John Poltorak 11 TeX : John Poltorak 12 Re: TeX : John Poltorak 13 Re: TeX : Mentore Siesto 14 Re: TeX : Christian Hennecke" 15 Re: Re: Running ./configure : Dave and Natalie" 16 Perl test time-out : John Poltorak 17 Running ./configure : Stephen Amadei 18 Re: Perl test time-out : John Poltorak 19 Re: Re: Running ./configure : Stephen Amadei 20 Re: Re: Running ./configure : Henry Sobotka 21 Re: Porting Joe's Own Editor (JOE) : Marty" 22 Re: Re: Running ./configure : Stephen Amadei **= Email 1 ==========================** Date: Wed, 20 Mar 2002 01:06:06 +0900 From: Jun Sawataishi Subject: Re: Texinfo v4.1 At Tue, 19 Mar 2002 12:30:35 +0000, John Poltorak wrote: > There has been a recent update to GNU Texinfo to v4.1 :- > ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-4.1.tar.gz > Are we likely to get an OS/2 port soon? I have already built version 4.1 and 4.1a. I just put a patch kit in my web directory. http://homepage1.nifty.com/jsawa/gnu/texinfo-4.1-OS2-patch.zip Building texinfo 4.1 is very easy, if you have already installed GNU find and the like. Be sure __not__ to use autoconf/automake, because the latest version of `os2unix' utility included in zip archive properly modify Makefile.in's and shell scripts. x:/src>tar zxvf SOMEWHERE/texinfo-4.1.tar.gz x:/src> cd texinfo-4.1 x:/src/texinfo-4.1> unzip SOMEWHERE/texinfo-4.1-OS2-patch.zip x:/src/texinfo-4.1> unzip OS2patch x:/src/texinfo-4.1> os2unix -ALL x:/src/texinfo-4.1> make If you'd like to make aout format executables x:/src/texinfo-4.1/src> make omf=no John, If you have spare time to test and to make a package for newly built texinfo, please upload it in UNIXOS2 ftp site. # OS/2 is not a question, it's a solution. # SAWATAISHI Jun # http://www2s.biglobe.ne.jp/~vtgf3mpr/ **= Email 2 ==========================** Date: Wed, 20 Mar 2002 01:35:26 +0100 From: "Mikkel C. Simonsen" Subject: Re: BIND DoC wrote: > > I was wondering, is there any known porter/binaries for the latest > BIND version (9.1) for OS/2? > > I'm asking because a customer wants to know if we have BIND under > OS/2. So far I've only found 8.2.4 on hobbes (untested). BIND 8.2.4 works very well, if that's what you meen by "untested". I use it on an old 486SX system running Warp 3. Best regards, Mikkel C. Simonsen > -- Erico Mendonca **= Email 3 ==========================** Date: Wed, 20 Mar 2002 08:38:35 +0000 From: John Poltorak Subject: Re: BIND On Tue, Mar 19, 2002 at 10:11:47PM -0300, DoC wrote: > On Wed, 20 Mar 2002 01:35:26 +0100, Mikkel C. Simonsen wrote: > > >> > >> I was wondering, is there any known porter/binaries for the latest > >> BIND version (9.1) for OS/2? > >> > >> I'm asking because a customer wants to know if we have BIND under > >> OS/2. So far I've only found 8.2.4 on hobbes (untested). > > > >BIND 8.2.4 works very well, if that's what you meen by "untested". I use > >it on an old 486SX system running Warp 3. > > > > By "untested", I mean "not tested by me yet". I've been running BIND for a while, v8.2.4 since it came out and previous versions before that and am not aware of any problems. Can't say I'm heavy user of it but there aren't any oustanding problems that I know of. AFAIK the porter was intending to work on v9 at some point but I haven't heard from him for a while. ... > -- Erico > -- John **= Email 4 ==========================** Date: Wed, 20 Mar 2002 08:41:37 +0000 From: John Poltorak Subject: Re: Porting Joe's Own Editor (JOE) On Tue, Mar 19, 2002 at 08:00:31PM -0500, Marty wrote: > On Tue, 19 Mar 2002 23:24:17 +0100, Holger Veit wrote: > > > > The stty command fiddles with the TIOC* ioctls (terminal I/O control) > > which exist for Unix tty devices, but are almost meaningless for EMX. > > EMX has the headers and does some sort of changes on an internal 'struct tty' > > like data structure, but this is far from being compatible with real ttys, > > left alone complete. xf86sup PTYs attempt to implement most relevant TIOC* > > ioctls, but they are not well integrated into EMX (they are a hack for > > xterm), thus won't be influenced by stty either. > > Do you think there's any possibility for getting a useful form of JOE with the > current TTY support? What do the CYGWIN folks do? Do they have TTY support? -- John **= Email 5 ==========================** Date: Wed, 20 Mar 2002 09:39:32 +0000 From: John Poltorak Subject: Gettext v0.11.1 Gettext v0.11.1 has recently been released and is available here:- ftp://ftp.gnu.org/pub/gnu/gettext/gettext-0.11.1.tar.gz It contains an OS/2 specific Makefile, but when I try using it, I get:- make: *** No rule to make target `out/release/intl.a', needed by `all'. Stop. Can anyone suggest why? BTW it is hard coded to use GAWK so if you only have AWK, so be warned. -- John **= Email 6 ==========================** Date: Wed, 20 Mar 2002 12:51:44 -0500 From: Henry Sobotka Subject: Re: Perl directory structure John Poltorak wrote: > > On Slackware, Perl is built using these options:- > > ./Configure -de \ > -Dprefix=/usr \ > -Darchname=i386-linux \ > -Dprivlib=/usr/lib/perl5 \ > -Darchlib=/usr/lib/perl5/i386-linux \ > -Dsitelib=/usr/lib/perl5/site_perl \ > -Dsitearch=/usr/lib/perl5/site_perl/i386-linux > > Is this a good model to follow for UnixOS/2? It looks like the old (pre-5.6.*) directory tree that doesn't allow for side-by-side installation of multiple versions. You could probably just set prefix and let the rest take care of itself. h~ **= Email 7 ==========================** Date: Wed, 20 Mar 2002 15:03:04 -0500 From: Henry Sobotka Subject: Re: Perl test time-out John Poltorak wrote: > > I'm trying to get Perl built in a fresh environment so that I know > precisely what is required for the build, but I get an error which I > haven't seen previously:- > > lib/io_sock..........accept failed: Connection timed out at lib/io_sock.t line 57. > > The build stops at this point and I need to press Ctrl-break in order to > resume the build. > > Does anyone recognise this? Have I overlooked some header? io_sock.t is a post-build test, not a build module. h~ **= Email 8 ==========================** Date: Wed, 20 Mar 2002 16:21:03 +0000 From: John Poltorak Subject: Perl directory structure On Slackware, Perl is built using these options:- ./Configure -de \ -Dprefix=/usr \ -Darchname=i386-linux \ -Dprivlib=/usr/lib/perl5 \ -Darchlib=/usr/lib/perl5/i386-linux \ -Dsitelib=/usr/lib/perl5/site_perl \ -Dsitearch=/usr/lib/perl5/site_perl/i386-linux Is this a good model to follow for UnixOS/2? -- John **= Email 9 ==========================** Date: Wed, 20 Mar 2002 16:29:40 -0500 From: Henry Sobotka Subject: Re: Perl test time-out John Poltorak wrote: > > lib/io_sock..........accept failed: Connection timed out at lib/io_sock.t > line 57. If you look at io_sock.t you'll see it should exit on line 50 because fork() is broken. This means $^O (i.e. $OSNAME) is not set to "os2" in your build. What does perl -e "print $^O;" output with your freshly built perl.exe? You should get "os2". h~ **= Email 10 ==========================** Date: Wed, 20 Mar 2002 16:56:25 +0000 From: John Poltorak Subject: Re: Building XFree86 v3.3.6 On Tue, Mar 19, 2002 at 01:04:25PM +0100, Holger Veit wrote: > On Tue, Mar 19, 2002 at 10:42:57AM +0000, John Poltorak wrote: > > > > Whereabouts? > > > > I looked around, and thought this ws the most likely place to find it:- > > > > ftp://borneo.gmd.de/pub/misc/XFree86OS2/3.3.6/ > > > > but I don't see it... > > make that > ftp://borneo.gmd.de/pub/misc/XFree86OS2/alpha/ > > I have to dig out the 3.3.6 source tree from my archive CDs, but > you likely won't restore the old code. ? I'm hoping to try building v3.3.6 using a prefix of /usr/X11R6 instead of /XFree86, just to see how far I can get. > > > you are already at the state > > > where to run buildos2.cmd and get a bucket of coffee (or, depending > > > on how much your EMXTREE differs from mine, maybe better a bucket > > > of beer or whisky, > > > > A bucket of whisky?!!!... :-) > > You wouldn't believe how much GlenMorangie went into that product... Ahhh.... GlenMorangie... from 'Glen of Tranquility' I still haven't finished a bottle I bought over 10 years ago. > Holger > > -- > Please update your tables to my new e-mail address: > holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) > -- John **= Email 11 ==========================** Date: Wed, 20 Mar 2002 17:00:58 +0000 From: John Poltorak Subject: TeX Does anyone know much about the teTeX version of TeX? Is there such a version available for OS/2? -- John **= Email 12 ==========================** Date: Wed, 20 Mar 2002 17:29:46 +0000 From: John Poltorak Subject: Re: TeX On Wed, Mar 20, 2002 at 06:21:18PM +0100, Mentore Siesto wrote: > On Wed, 20 Mar 2002, John Poltorak wrote: > > JP >Does anyone know much about the teTeX version of TeX? > JP > > JP >Is there such a version available for OS/2? > > AFAIK, one year ago or so Jun Sawataishi (who writes on this list) ported > teTeX for Os/2. A discussion on teTeX vs emTeX arose, and seems teTeX > has got no big advantage over emTeX apart from being OpenSource (IIRC) and > more up-to-date. Yes, I remember vaguely going round this loop before, but couldn't work out how everything fitted together... I've just had a look at:- http://www2s.biglobe.ne.jp/~vtgf3mpr/tex/web2c.htm but don't see how teTeX and web2c are related - I'm not sure if they are or not. I'd appeciate any guidance on the matter. > -- > Mentore Siesto > Team OS/2 Italia (http://www.teamos2.it) > Home page: http://www.geocities.com/mentoruccio/ > -- John **= Email 13 ==========================** Date: Wed, 20 Mar 2002 18:21:18 +0100 (CET) From: Mentore Siesto Subject: Re: TeX On Wed, 20 Mar 2002, John Poltorak wrote: JP >Does anyone know much about the teTeX version of TeX? JP > JP >Is there such a version available for OS/2? AFAIK, one year ago or so Jun Sawataishi (who writes on this list) ported teTeX for Os/2. A discussion on teTeX vs emTeX arose, and seems teTeX has got no big advantage over emTeX apart from being OpenSource (IIRC) and more up-to-date. -- Mentore Siesto Team OS/2 Italia (http://www.teamos2.it) Home page: http://www.geocities.com/mentoruccio/ **= Email 14 ==========================** Date: Wed, 20 Mar 2002 18:26:58 +0100 (CET) From: "Christian Hennecke" Subject: Re: TeX On Wed, 20 Mar 2002 18:21:18 +0100 (CET), Mentore Siesto wrote: >AFAIK, one year ago or so Jun Sawataishi (who writes on this list) ported >teTeX for Os/2. A discussion on teTeX vs emTeX arose, and seems teTeX >has got no big advantage over emTeX apart from being OpenSource (IIRC) and >more up-to-date. BTW, emTeX/TDS has been updated to 0.56 not that long ago. Christian Hennecke **= Email 15 ==========================** Date: Wed, 20 Mar 2002 18:44:27 -0800 From: "Dave and Natalie" Subject: Re: Re: Running ./configure On Thu, 21 Mar 2002 10:24:55 +0900, Masaru Nomiya wrote: > >[SA] == Stephen Amadei has written: > >SA> Hello... I have most of the unixish tools installed on my OS/2 >SA> system. I am trying to run the configure script in BASH to >SA> try a quick compile of the SDTS libraries... but the configure script >SA> won't find cc or gcc. I tried specifing the location of cc using >SA> --prefix, but it still failed. > >Try > ># export CC=gcc.exe ># configure Or at an OS/2 command prompt set CC=gcc.exe then run sh configure. You will most likely need a few more sets to get the configure script to finish. You can also use an OS/2 patched version of autoconf to build a new configure script that will work better. I use autoconf ver 2.13 which is located on hobbes etc. Just do a sh autoconf first. Dave **= Email 16 ==========================** Date: Wed, 20 Mar 2002 18:52:24 +0000 From: John Poltorak Subject: Perl test time-out I'm trying to get Perl built in a fresh environment so that I know precisely what is required for the build, but I get an error which I haven't seen previously:- lib/io_sock..........accept failed: Connection timed out at lib/io_sock.t line 57. The build stops at this point and I need to press Ctrl-break in order to resume the build. Does anyone recognise this? Have I overlooked some header? -- John **= Email 17 ==========================** Date: Wed, 20 Mar 2002 20:05:53 -0500 (EST) From: Stephen Amadei Subject: Running ./configure Hello... I have most of the unixish tools installed on my OS/2 system. I am trying to run the configure script in BASH to try a quick compile of the SDTS libraries... but the configure script won't find cc or gcc. I tried specifing the location of cc using --prefix, but it still failed. Anything I can do to my OS/2 system to get it to see the compiler? This same package configured and compiled under Cygwin. ----Steve Stephen Amadei Dandy.NET! CTO Atlantic City, NJ **= Email 18 ==========================** Date: Wed, 20 Mar 2002 20:13:59 +0000 From: John Poltorak Subject: Re: Perl test time-out On Wed, Mar 20, 2002 at 03:03:04PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > I'm trying to get Perl built in a fresh environment so that I know > > precisely what is required for the build, but I get an error which I > > haven't seen previously:- > > > > lib/io_sock..........accept failed: Connection timed out at lib/io_sock.t line 57. > > > > The build stops at this point and I need to press Ctrl-break in order to > > resume the build. > > > > Does anyone recognise this? Have I overlooked some header? > > io_sock.t is a post-build test, not a build module. Sorry, by 'build' I was thinking of the whole process which includes running configure, compiling, testing and intalling, which I was doing with a single script. Anyway this is where it stopped:- lib/io_pipe..........ok lib/io_poll..........ok lib/io_sel...........ok lib/io_sock..........accept failed: Connection timed out at lib/io_sock.t line 57. Process terminated by SIGINT FAILED at test 2 lib/io_taint.........ok lib/io_tell..........ok lib/io_udp...........ok lib/io_unix..........ok I've never seen this happen previously. > h~ -- John **= Email 19 ==========================** Date: Wed, 20 Mar 2002 23:24:51 -0500 (EST) From: Stephen Amadei Subject: Re: Re: Running ./configure On Wed, 20 Mar 2002, Dave and Natalie wrote: > ># export CC=gcc.exe > ># configure Cool. I should've thought of that. > Or at an OS/2 command prompt set CC=gcc.exe then run sh configure. You > will most likely need a few more sets to get the configure script to Your right. Now it craps out at detecting a system-type, trying to run ./dummy-674 > finish. You can also use an OS/2 patched version of autoconf to build a > new configure script that will work better. I use autoconf ver 2.13 > which > is located on hobbes etc. Just do a sh autoconf first. Ugh... I really didn't want to get too deep in this... *sigh* I got autoconf... what is it? a shell script? I ran sh autoconf, but it wanted m4... Compiled and emxbound M4... but M4 wants an autoconf.m4, all I have is an aclocal.m4. It goes on to complain about every line in configure.in as undefined. I guess I should rename aclocal.m4? Or is there another m4 I missed? I've gotten so spoiled with ./configure; make; make install. ;-) ----Steve Stephen Amadei Dandy.NET! CTO Atlantic City, NJ **= Email 20 ==========================** Date: Wed, 20 Mar 2002 23:45:12 -0500 From: Henry Sobotka Subject: Re: Re: Running ./configure Stephen Amadei wrote: > > I got autoconf... what is it? a shell script? More or less. It converts the macros and other contents of configure.in into configure. > Compiled and emxbound M4... but M4 wants an autoconf.m4, all I have is an > aclocal.m4. It goes on to complain about every line in configure.in as > undefined. I guess I should rename aclocal.m4? Or is there another m4 I > missed? If you're using autoconf 2.13, autoconf.m4 should be in autoconf/share/autoconf/. My guess is that you don't have AC_MACRODIR set to point to that directory. h~ **= Email 21 ==========================** Date: Wed, 20 Mar 2002 23:49:05 -0500 (EST) From: "Marty" Subject: Re: Porting Joe's Own Editor (JOE) On Wed, 20 Mar 2002 08:41:37 +0000, John Poltorak wrote: > What do the CYGWIN folks do? Do they have TTY support? No idea. I have gotten a little bit further though, by playing with my \emx\etc\termcap.dat and my joerc. It looks like OS/2's ANSI implementation in the command prompt arena is a bit limited, so I'm trying to strip out some ANSI features that don't seem to be supported or working properly. I've now got the help screen drawing and erasing itself properly. Here's the termcap entry I'm using: OS2CMD:\ :co#80:li#25:bs:pt:bl=^G:le=^H:do=^J:\ :cl=\E[2J:ce=\E[K:cd=\E[J:\ :cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:\ :up=\E[A:do=\E[B:le=\E[C:ri=\E[D:nd=\E[C:\ :so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:as=^N:ae=^O:\ :ku=\000H:kd=\000P:kl=\000K:kr=\000M:kb=^H:\ :kn#4:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :im=\E[4h:ei=\E[4l:dl=\E[M:ic=\E[ at :dc=\E[P: As far as key mappings go, it looks like JOE is ignoring the ku/kd/kl/kr settings and doing its own thing. But I can override it in the JOERC with the following specified under the "main" section of keymappings: uparw ^ at H dnarw ^ at P rtarw ^ at M ltarw ^ at K This gives me cursor key control of the cursor. There's still loads of drawing glitches though, unfortunately. But if I strip out enough from the termcap entry, I just might be able to compensate. The main problems seem to be that something that should be a non-destructive cursor move is obliterating the text it is moving over. **= Email 22 ==========================** Date: Wed, 20 Mar 2002 23:57:39 -0500 (EST) From: Stephen Amadei Subject: Re: Re: Running ./configure On Wed, 20 Mar 2002, Henry Sobotka wrote: > If you're using autoconf 2.13, autoconf.m4 should be in > autoconf/share/autoconf/. My guess is that you don't have AC_MACRODIR > set to point to that directory. I cheated and copied all the .m4s into my current directory. ;-) I still can't get my system type... I tried configure --host=os2_emx (and os2, i386-pc-os2_emx, etc.) ----Steve Stephen Amadei Dandy.NET! CTO Atlantic City, NJ