Date: Tue, 20 Apr 2004 00:04:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 354 ************************************************** Monday 19 April 2004 Number 354 ************************************************** Subjects for today 1 make 3.81beta1 without intl.dll : Andreas Buening 2 Dialog : John Poltorak 3 Re: Dialog : Thomas Dickey 4 Re: Dialog : Thomas Dickey 5 Re: Dialog : John Poltorak 6 Re: Dialog : Thomas Dickey 7 _wait3 : Dave Yeo" 8 Re: patch -p : Sebastian Wittmeier" 9 Re: patch -p : John Poltorak 10 diffutils : John Poltorak 11 LxLite & Stacksize : John Poltorak 12 Re: patch -p : Sebastian Wittmeier" **= Email 1 ==========================** Date: Sun, 18 Apr 2004 16:35:22 +0200 From: Andreas Buening Subject: make 3.81beta1 without intl.dll Hello! Due to some request I've provided a make binary that does not use intl.dll or any other dll except for emx.dll only: http://unix.os2site.com/sw/pub/binary/make/make-3_81beta1-bin-static.zip Bye, Andreas **= Email 2 ==========================** Date: Sun, 18 Apr 2004 21:07:03 +0100 From: John Poltorak Subject: Dialog I've just noticed that Dialog has been updated. The latest version is available here:- ftp://invisible-island.net/dialog/dialog-0.9b-20040316.tgz It's nice to see that it builds straight ou of the box. I know there are a number of sample dialogs included in the package, but wondered if there was anything like a repository of dialog based apps. I could do with a dialog based configuration program for a number of apps such as Sendmail or Apache rather than just using a text editor. -- John **= Email 3 ==========================** Date: Sun, 18 Apr 2004 16:16:56 -0400 (EDT) From: Thomas Dickey Subject: Re: Dialog On Sun, 18 Apr 2004, John Poltorak wrote: > I know there are a number of sample dialogs included in the package, but > wondered if there was anything like a repository of dialog based apps. none that I'm aware of -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 4 ==========================** Date: Sun, 18 Apr 2004 16:16:56 -0400 (EDT) From: Thomas Dickey Subject: Re: Dialog On Sun, 18 Apr 2004, John Poltorak wrote: > I know there are a number of sample dialogs included in the package, but > wondered if there was anything like a repository of dialog based apps. none that I'm aware of -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 5 ==========================** Date: Sun, 18 Apr 2004 21:27:53 +0100 From: John Poltorak Subject: Re: Dialog On Sun, Apr 18, 2004 at 04:16:56PM -0400, Thomas Dickey wrote: > On Sun, 18 Apr 2004, John Poltorak wrote: > > > I know there are a number of sample dialogs included in the package, but > > wondered if there was anything like a repository of dialog based apps. > > none that I'm aware of I know it is used in the installation of Slackware and I see that the samples directory includes a slackware.rc, but I don't see how it used... > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- John **= Email 6 ==========================** Date: Sun, 18 Apr 2004 16:33:40 -0400 (EDT) From: Thomas Dickey Subject: Re: Dialog On Sun, 18 Apr 2004, John Poltorak wrote: > On Sun, Apr 18, 2004 at 04:16:56PM -0400, Thomas Dickey wrote: > > On Sun, 18 Apr 2004, John Poltorak wrote: > > > > > I know there are a number of sample dialogs included in the package, but > > > wondered if there was anything like a repository of dialog based apps. > > > > none that I'm aware of > > I know it is used in the installation of Slackware and I see that the > samples directory includes a slackware.rc, but I don't see how it used... The ".rc" files are used (in my tests) by setting the environment variable $DIALOGRC -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net **= Email 7 ==========================** Date: Mon, 19 Apr 2004 00:11:31 -0800 From: "Dave Yeo" Subject: _wait3 Trying to build TightVNC I get a bunch of unresolved symbols. I know how to redefine most but not _wait3. Any ideas? Also get this error which I've never seen before though I often have -lshm in programs /usr/X11R6/lib/shm.a(shm.o): Undefined symbol DosAllocSharedMem referenced from text segment /usr/X11R6/lib/shm.a(shm.o): Undefined symbol DosGetSharedMem referenced from text segment /usr/X11R6/lib/shm.a(shm.o): Undefined symbol DosFreeMem referenced from text segment Dave **= Email 8 ==========================** Date: Mon, 19 Apr 2004 10:14:58 +0200 (CEST) From: "Sebastian Wittmeier" Subject: Re: patch -p On Fri, 16 Apr 2004 22:42:54 +0100, John Poltorak wrote: >I have some code - which I don't understand at all, but until now it has >always correctly identified the number of leading components to filenames, >but it doesn't work on one particular patch file. Could you give out the mentioned patch file? Basically this code processes line for line and replaces all non-slashes with nothing. Then it finds out the minmal line length (= slash count). Perhaps that particular patch file only patches files in sub-directories? Then you would have to insert a dummy patch for the main directory of the program to make that code work again. Just speculation ... Sebastian **= Email 9 ==========================** Date: Mon, 19 Apr 2004 11:34:45 +0100 From: John Poltorak Subject: Re: patch -p On Mon, Apr 19, 2004 at 10:14:58AM +0200, Sebastian Wittmeier wrote: > On Fri, 16 Apr 2004 22:42:54 +0100, John Poltorak wrote: > > >I have some code - which I don't understand at all, but until now it has > >always correctly identified the number of leading components to filenames, > >but it doesn't work on one particular patch file. > > Could you give out the mentioned patch file? It's too big to send to the list - 200kB I've put it into UX2BS - a patchfile for dmake - dmake-4.1.diff. It needs this entry in build.table:- dmake;dmake;http://freeware.sgi.com/source/dmake/dmake-4.1.tar.gz;;;;;. If you've installed UX2BS, running ux2_refresh should retreive the files. > Basically this code processes line for line and replaces all > non-slashes with nothing. Then it finds out the minmal line length (= > slash count). It seems the code is miscalculating the number o slashes in this particular case. > Perhaps that particular patch file only patches files in > sub-directories? Then you would have to insert a dummy patch for the > main directory of the program to make that code work again. Just > speculation ... It's a patch I've created myself so I can manipulate it as much as I want. It will work manually with a spec value of '-p' but not with the value which the routine works out, so maybe that routine needs adjusting, although it has worked for every patchfile I have used so far... > Sebastian -- John **= Email 10 ==========================** Date: Mon, 19 Apr 2004 12:39:46 +0100 From: John Poltorak Subject: diffutils Has anyone had any success building diffutils v2.8.1 ? I did manage eventually, but the resultant binaries were huge compared to v2.7.1, so it does appear worthwhile upgrading. Incidentally there does not appear to be any available GNU source for 2.7.1 so maybe that version was never released... -- John **= Email 11 ==========================** Date: Mon, 19 Apr 2004 13:05:27 +0100 From: John Poltorak Subject: LxLite & Stacksize I'm told that LxLite can be used to display the Stacksize of an executable but after looking at the LxLite's help screen, I'm not entirely sure how. Can anyone tell me? Alternatively how else can I find the Stacksize of an executable? -- John **= Email 12 ==========================** Date: Mon, 19 Apr 2004 14:32:27 +0200 (CEST) From: "Sebastian Wittmeier" Subject: Re: patch -p On Mon, 19 Apr 2004 11:34:45 +0100, John Poltorak wrote: >It's a patch I've created myself so I can manipulate it as much as I want. >It will work manually with a spec value of '-p' but not with the value >which the routine works out, so maybe that routine needs adjusting, although >it has worked for every patchfile I have used so far... diff -Nur dmake~/foo dmake/foo the diff directory is dmake/, but it must have the same name as the diff file (i.e. dmake-4.1/). that is, because the $ARCHIVE env variable is used twice in the script below: At the beginning to specify the filename and at the bottom to give awk a hint, which part of the path to truncate Sebastian --- PATCHFILE=$BLD_HOME/patches/$ARCHIVE.diff if test -f $PATCHFILE; then { patch -p`awk 'BEGIN { min_p = 1234567 } $1 == "+++" || $1 == "***" { gsub (ARCHIVE ".*", "", $2) gsub (/[^/]/, "", $2) if (length($2) < min_p) min_p = length($2) } END { print min_p + 1 }' ARCHIVE=$ARCHIVE $PATCHFILE` < $PATCHFILE } fi