Date: Sat, 17 Apr 2004 00:04:02 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 351 ************************************************** Friday 16 April 2004 Number 351 ************************************************** Subjects for today 1 Re: sys/termios.h : Stefan Neis 2 Re: Finding most recent file : Stefan Neis 3 Re: structure has no member named `st_blksize' : Stefan Neis 4 Re: Finding most recent file : Steven Levine" 5 Re: config.h : Stefan Neis 6 Xterm : John Poltorak 7 Re: Dmake : Stefan Neis 8 Re: Xterm : Thomas Dickey 9 Re: Xterm : Thomas Dickey **= Email 1 ==========================** Date: Fri, 16 Apr 2004 00:22:59 +0200 (CEST) From: Stefan Neis Subject: Re: sys/termios.h On Thu, 15 Apr 2004, John Poltorak wrote: > With Posix/2:- > > gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -c `test -f 'utils.c' || echo './'`utils.c > gcc -lbsd -o joe.exe b.o blocks.o bw.o cmd.o hash.o help.o kbd.o macro.o main.o menu.o path.o poshist.o pw.o queue.o qw.o rc.o regex.o scrn.o tab.o termcap.o tty.o tw.o ublock.o uedit.o uerror.o ufile.o uformat.o uisrch.o umath.o undo.o usearch.o ushell.o utag.o va.o vfile.o vs.o w.o utils.o -lncurses > tty.o: Undefined symbol _setpgrp referenced from text segment > u:\unixos2\posix2\lib/cExt.a(itimer.o): Undefined symbol __beginthread > referenced from text segment > make: *** [joe.exe] Error 1 Looks like a multi-threaded build is required, so try adding the famous -Zmt -D__ST_MT_ERRNO__ to CFLAGS, CXXFLAGS, LDFLAGS. Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 2 ==========================** Date: Fri, 16 Apr 2004 00:29:00 +0200 (CEST) From: Stefan Neis Subject: Re: Finding most recent file On Wed, 14 Apr 2004, Steven Levine wrote: > If you wish to use sed, it can do the job of both the grep and the cut. > It's a toss up which will be more efficient overall. My seat of the pants > estimate says grep and cut together should be faster than sed for most > implementations. Actually observing configure scripts, I tend to believe that having to start up two programs will make the grep/cut combo slower than anything that's loading just one program on OS/2. :-( Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 3 ==========================** Date: Fri, 16 Apr 2004 00:44:01 +0200 (CEST) From: Stefan Neis Subject: Re: structure has no member named `st_blksize' On Sat, 10 Apr 2004, Andreas Buening wrote: (gawk 3.0.3) > > Are there any restrictions or limitations in the .exe produced? > > I don't know but I think so. Actually, 3.0.3 is the version I've been using for years and which I'm still currently using. So far, there was no need to get an up-to-date version to make some newer configure script work. ;-) (Knocking on wood ...) Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 4 ==========================** Date: Thu, 15 Apr 2004 20:02:18 -0700 From: "Steven Levine" Subject: Re: Finding most recent file In , on 04/16/04 at 12:29 AM, Stefan Neis said: >Actually observing configure scripts, I tend to believe that having to >start up two programs will make the grep/cut combo slower than anything >that's loading just one program on OS/2. :-( In hindsight, after doing some checking, I tend to agree wrt to sed. sed is "smaller" than I thought it would be. I was thinking it was closer in size to perl in terms of the DLLs it needed to load. Regards, Steven -- ---------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.41 #10183 Warp4/FP15/14.093c_W4 www.scoug.com irc.webbnet.info irc.fyrelizard.org #scoug (Wed 7pm PST) ---------------------------------------------------------------------- **= Email 5 ==========================** Date: Fri, 16 Apr 2004 13:15:31 +0200 (CEST) From: Stefan Neis Subject: Re: config.h On Wed, 14 Apr 2004, John Poltorak wrote: > > checking for strcasecmp... no > checking for strncasecmp... no Standard EMX-0.9d behaviour. > but the other results in:- > > checking for strcasecmp... yes > checking for strncasecmp... yes Either a newer gcc or Posix/2 or -Dstrcasecmp=stricmp -Dstrncasecmp=strnicmp somewhere in your environment or "hand-modified" header files or yet something else. There really are plenty of possibilities/hacks to add those two functions ... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 6 ==========================** Date: Fri, 16 Apr 2004 12:18:56 +0100 From: John Poltorak Subject: Xterm There is an Xterm source archive here:- ftp://invisible-island.net/xterm/xterm-185.tgz Should I expect to be able to build this on OS/2? -- John **= Email 7 ==========================** Date: Fri, 16 Apr 2004 12:57:54 +0200 (CEST) From: Stefan Neis Subject: Re: Dmake On Tue, 6 Apr 2004, John Poltorak wrote: > Anyone know if it's possible to use DMAKE as a replacement for GNU Make? Unless you're makefile happens to not use any of the GNU specific extensions, you can't replace GNU Make by a different make. In particular, other makes (like e.g. BSD's) don't work for building GNU software in most cases. Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 8 ==========================** Date: Fri, 16 Apr 2004 07:33:39 -0400 (EDT) From: Thomas Dickey Subject: Re: Xterm On Fri, 16 Apr 2004, John Poltorak wrote: > > > There is an Xterm source archive here:- > > ftp://invisible-island.net/xterm/xterm-185.tgz > > Should I expect to be able to build this on OS/2? Holger Veit should know. I haven't tried. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 9 ==========================** Date: Fri, 16 Apr 2004 07:33:39 -0400 (EDT) From: Thomas Dickey Subject: Re: Xterm On Fri, 16 Apr 2004, John Poltorak wrote: > > > There is an Xterm source archive here:- > > ftp://invisible-island.net/xterm/xterm-185.tgz > > Should I expect to be able to build this on OS/2? Holger Veit should know. I haven't tried. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net