Date: Thu, 21 Oct 2004 00:04:20 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 423 ************************************************** Wednesday 20 October 2004 Number 423 ************************************************** Subjects for today 1 comparing files side by side : John Poltorak 2 Re: Accessing AF_UNIX sockets from Python : Andrew MacIntyre 3 Re: comparing files side by side : Stefan.Neis at t-online.de 4 Re: Accessing AF_UNIX sockets from Python : John Poltorak 5 Re: comparing files side by side : Andrew MacIntyre 6 Re: comparing files side by side : Illya Vaes 7 Warpzilla Build Instructions : John Poltorak 8 Posix/2 status : John Poltorak **= Email 1 ==========================** Date: Tue, 19 Oct 2004 19:21:56 +0100 From: John Poltorak Subject: comparing files side by side Does anyone know of a Unix program for comparing filese visually, side by side? This sort of feature may be incorporated into some editor, but I can't think of one. If anyone uses ZTreeBold, a companion program called TFC is the sort of thing I'm looking for but I need to be able to run it over telnet. -- John **= Email 2 ==========================** Date: Tue, 19 Oct 2004 23:41:47 +1000 (EST) From: Andrew MacIntyre Subject: Re: Accessing AF_UNIX sockets from Python On Tue, 19 Oct 2004, John Poltorak wrote: > Is that a literal '\socket\'? Yes - if on Unix the socket path were /tmp/123, then prepending \socket\ to make it look something like \socket\tmp/123 should satisfy the rule (which is imposed by the IBM TCP/IP stack). There is also a limit of 108 characters for the socket path. > The reason I ask is that I want to run Zope using ZOPECTL which is > supposed to start ZDCTL with a socket handle, but I can't get it > working... I vaguely recall looking at this, but don't recall what conclusions I came to. ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac at pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia **= Email 3 ==========================** Date: Tue, 19 Oct 2004 21:50:35 +0100 From: Stefan.Neis at t-online.de Subject: Re: comparing files side by side Hi, > Does anyone know of a Unix program for comparing filese visually, side by > side? This sort of feature may be incorporated into some editor, but I > can't think of one. Of course, it's incorporated in Emacs ("ediff-mode")... ;-) Regards, Stefan **= Email 4 ==========================** Date: Tue, 19 Oct 2004 21:28:47 +0100 From: John Poltorak Subject: Re: Accessing AF_UNIX sockets from Python On Tue, Oct 19, 2004 at 11:41:47PM +1000, Andrew MacIntyre wrote: > On Tue, 19 Oct 2004, John Poltorak wrote: > > > Is that a literal '\socket\'? > > Yes - if on Unix the socket path were /tmp/123, then prepending > \socket\ to make it look something like \socket\tmp/123 should satisfy > the rule (which is imposed by the IBM TCP/IP stack). There is also a > limit of 108 characters for the socket path. > > > The reason I ask is that I want to run Zope using ZOPECTL which is > > supposed to start ZDCTL with a socket handle, but I can't get it > > working... > > I vaguely recall looking at this, but don't recall what conclusions I came > to. Back in March, you said:- >> I sort of expected this might happen, based on what I learnt from fiddling the PostgreSQL libpq library. Basically, AF_UNIX sockets on OS/2 must use a filename of the form "\socket\path\to\socketfile". This is one thing that EMX doesn't emulate in a transparent manner. lib/python/zdaemon/zdrun.py is probably going to need some surgery to work, as it uses _lots_ of Unixisms which are problematic even with EMX - that assert() wasn't kidding! If you can live without daemon mode for a while, I'll try and find a few hours to hack on this (Easter maybe). If you want to live dangerously, try adding "-s \socket\tmp\zdsock" to your zdctl.py command. >> I never figured out the last bit so left it. Now I see your latest Python release addresses problems with sockets so I thought I'd try again. When you say add '-s \socket\...' to zdctl.py I take it you don't mean change the code of the program, but add this as a parameter to the program which calls zdctl... but I can't figure which program does invoke zdctl. zopectl, the program which starts zope, does not take a '-s' parameter. Maybe I can specify socket name in zope.conf... > ------------------------------------------------------------------------- > Andrew I MacIntyre "These thoughts are mine alone..." > E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 > andymac at pcug.org.au (alt) | Belconnen ACT 2616 > Web: http://www.andymac.org/ | Australia -- John **= Email 5 ==========================** Date: Wed, 20 Oct 2004 08:41:54 +1000 (EST) From: Andrew MacIntyre Subject: Re: comparing files side by side On Tue, 19 Oct 2004, John Poltorak wrote: > Does anyone know of a Unix program for comparing filese visually, side by > side? This sort of feature may be incorporated into some editor, but I > can't think of one. > > If anyone uses ZTreeBold, a companion program called TFC is the sort of > thing I'm looking for but I need to be able to run it over telnet. The only thing I've used is a Tcl/Tk script called TkDiff, which is a front end to diff. Uses X11 so wouldn't solve your problem... ------------------------------------------------------------------------- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac at pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia **= Email 6 ==========================** Date: Wed, 20 Oct 2004 06:22:20 GMT From: Illya Vaes Subject: Re: comparing files side by side Andrew MacIntyre: >On Tue, 19 Oct 2004, John Poltorak wrote: >>Does anyone know of a Unix program for comparing filese visually, side by >>side? This sort of feature may be incorporated into some editor, but I >>can't think of one. >>If anyone uses ZTreeBold, a companion program called TFC is the sort of >>thing I'm looking for but I need to be able to run it over telnet. >The only thing I've used is a Tcl/Tk script called TkDiff, which is a >front end to diff. Uses X11 so wouldn't solve your problem... If you use a version of Tcl/Tk that doesn't rely on X, the last remark is not true: Windows, Macintosh (at least the classic MacOS), OS/2 PM (which, AFAIK, TkDiff runs on; see http://www.vaeshiep.demon.nl/). It will NOT run over a telnet connection though, but I wonder what _visual_ comparison tool will... I think only X11-based ones. **= Email 7 ==========================** Date: Wed, 20 Oct 2004 09:43:00 +0100 From: John Poltorak Subject: Warpzilla Build Instructions There are some Warpzilla Build Instructions here:- http://os2ports.com/ftp/incoming/moz-build-os2.txt Which I would like to try and automate if possible. Before doing so, I'd like to know if some of the tools are strictly necessary. Ash is the suggested shell, but I have found the latest pdksh to work perfectly in all the builds I've tried. Is there any reason why I can't use it? Make v3.81 is stated as a requirement. Is 3.79 not good enough? Sed v4.0.5 - ditto - v3.02 Ilink - what is the source of this? RC ditto Winico ditto -- John **= Email 8 ==========================** Date: Wed, 20 Oct 2004 12:26:24 +0100 From: John Poltorak Subject: Posix/2 status What is the status of Posix/2? Is it being incorporated into Innotek's GCC? It would be a shame if it was abandoned. -- John