From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 17 Dec 2002 04:43:58 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 401 ************************************************** Monday 16 December 2002 Number 401 ************************************************** Subjects for today 1 Re: mail loop : Ted Sikora 2 Re: TD-Soft : Thomas E. Dickey" 3 Re: Ncurses build problem : Thomas E. Dickey" 4 Re: Ncurses ticdir : Thomas E. Dickey" 5 Re: mail loop : John Poltorak 6 Re: mail loop : John Poltorak 7 TD-Soft : John Poltorak 8 Re: Ncurses build problem : John Poltorak 9 Ncurses ticdir : John Poltorak 10 Emacs : John Poltorak 11 syslog.h : John Poltorak 12 Re: rsyncd.conf : Voytek Eymont 13 ot: any developer willing to port USB J code ? : Voytek Eymont 14 R : John Poltorak 15 Building RSYNC : John Poltorak 16 Re: ot: any developer willing to port USB J code ? : Christian Hennecke" 17 Re: mail loop : Voytek Eymont 18 Terminal choices : John Poltorak 19 Re: Building RSYNC : Yuri Dario" 20 Re: Building RSYNC : John Poltorak 21 Re: Terminal choices : email at eracc.hypermart.net (ERACC Lists) **= Email 1 ==========================** Date: Tue, 17 Dec 2002 00:37:32 -0500 From: Ted Sikora Subject: Re: mail loop Jeff Robinson wrote: > > Ted Sikora wrote: > > I think this one is a configuration issue? I recall having to add any > domains I wanted to receive e-mail on to my local-host-names file > (/etc/mail/local-host-names on Slackware) to get around this problem. > I just found the fix via FreeBSD and the Sendmail FAQ: ------------------------------------------------------- I'm getting "Local configuration error" messages, such as: 553 relay.domain.net config error: mail loops back to myself 554 ... Local configuration error How can I solve this problem? You have asked mail to the domain (e.g., domain.net) to be forwarded to a specific host (in this case, relay.domain.net) by using an MX record, but the relay machine doesn't recognize itself as domain.net. Add domain.net to /etc/sendmail.cw (if you are using FEATURE(use_cw_file)) or add "Cw domain.net" to /etc/sendmail.cf. -------------------------------------- My ISP assigned FQHN is dhcp-209-54-72-109.ct.dsl.ntplx.com but my Internet name via DNS and MX records is powerusersbbs.net Sendmail did not know it by powerusersbbs.net so I had to add the 'Cw powerusersbbs.net' tag to sendmail.cf Cool! My pop3 mailboxes work perfect in any browser. OS/2 really is Cool! Just need to add 'sendmail -q' to cron. Can you recommend any good OS/2 cron's? Damn I was getting close to giving up. -- Ted Sikora tsikora at ntplx.net **= Email 2 ==========================** Date: Tue, 17 Dec 2002 05:57:57 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: TD-Soft On Tue, 17 Dec 2002, John Poltorak wrote: > > > Should I expect to be able to build most of the apps here on OS/2:- ? > > ftp://invisible-island.net/ probably - I haven't built atac or xterm on OS/2, but Holger has built xterm. -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 3 ==========================** Date: Tue, 17 Dec 2002 06:01:55 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: Ncurses build problem On Tue, 17 Dec 2002, John Poltorak wrote: > On Mon, Dec 16, 2002 at 03:48:14PM -0500, Thomas Dickey wrote: > > On Mon, Dec 16, 2002 at 07:03:42PM +0000, John Poltorak wrote: > > > > > > It looks as though the terminfo database does not get built if I build > > > Ncurses using prefix with a drive letter included... > > > > > > Does that sound possible? Or should I be looking for another cause? > > > > It doesn't sound quite right. For OS/2, the path separator should be a > > semicolon (;) rather than colon (:). It looks like it should work. > > Can you suggest any way I can track this down? > > I'm hoping to make two builds today using exactly the same environment, > but using prefix=/usr/local2 for one and prefix=u:/usr/local3 for the > other with logs for both builds. Then I'll run diff -q -r against both > directories. that probably would show the problem. The configure script generates NCURSES_PATHSEP, which should be #define NCURSES_PATHSEP ';' in include/ncurses_cfg.h (and there are some references to it under ncurses/tinfo - it's possible that I overlooked one, but the first thing to check is if the configure script does the correct thing). -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 4 ==========================** Date: Tue, 17 Dec 2002 06:47:08 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: Ncurses ticdir On Tue, 17 Dec 2002, John Poltorak wrote: > > Having just built Ncurses using prefix=/usr/local2, I see that > > ticdir=u:/usr/share/terminfo > > u: is the current drive, but I don't see anywhere that ticdir is set, so I > guess there is a default. > > In this case boththe tabset and terminfo directories are empty. Here are > the errors I get:- I see at least one problem in the (generated) run_tic.sh script. It's using sed with ':' as a delimiter to translate the $TABSET value, which probably is making it fail when $TABSET contains a ':'. I'll check on that this evening and see about sending you a short diff to repair it. (There are also some cases where it uses ' at ' as a delimiter, which should work, but I would rather make them consistently '%'). -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 5 ==========================** Date: Tue, 17 Dec 2002 09:42:05 +0000 From: John Poltorak Subject: Re: mail loop On Mon, Dec 16, 2002 at 09:05:02PM -0500, Ted Sikora wrote: > Sent this via Netscape and pop3d/sendmail. Sending msgs work fine. > Recieving creates a loop. > > sendmail log below: > > [D:\]sendmail -q > IBM OS/2 SENDMAIL VERSION 2.03 > Using Sendmail Configuration File D:\MPTN\ETC\sendmail.cf > dhcp-209-54-72-109.ct.dsl.ntplx.com config error: mail loops back to > myself > ... Local configuration error > > It can't find or send the email to it's box defined in qypmail.cfg > locally. Qypmail assumes the file or directory used for the recipients mail exists. If need to create it yourself, at least the one for the default user. > -- > Ted > -- John **= Email 6 ==========================** Date: Tue, 17 Dec 2002 09:50:31 +0000 From: John Poltorak Subject: Re: mail loop On Tue, Dec 17, 2002 at 12:37:32AM -0500, Ted Sikora wrote: > Just need to add 'sendmail -q' to cron. Can you recommend any good OS/2 > cron's? You don't need to do that. Just start sendmail using:- sendmail -bd -q5m Then sendmail will process the queue every 5 mins. > -- > Ted Sikora > tsikora at ntplx.net -- John **= Email 7 ==========================** Date: Tue, 17 Dec 2002 10:03:21 +0000 From: John Poltorak Subject: TD-Soft Should I expect to be able to build most of the apps here on OS/2:- ? ftp://invisible-island.net/ -- John **= Email 8 ==========================** Date: Tue, 17 Dec 2002 10:28:57 +0000 From: John Poltorak Subject: Re: Ncurses build problem On Mon, Dec 16, 2002 at 03:48:14PM -0500, Thomas Dickey wrote: > On Mon, Dec 16, 2002 at 07:03:42PM +0000, John Poltorak wrote: > > > > It looks as though the terminfo database does not get built if I build > > Ncurses using prefix with a drive letter included... > > > > Does that sound possible? Or should I be looking for another cause? > > It doesn't sound quite right. For OS/2, the path separator should be a > semicolon (;) rather than colon (:). It looks like it should work. Can you suggest any way I can track this down? I'm hoping to make two builds today using exactly the same environment, but using prefix=/usr/local2 for one and prefix=u:/usr/local3 for the other with logs for both builds. Then I'll run diff -q -r against both directories. Is there anything else I can do ? > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- John **= Email 9 ==========================** Date: Tue, 17 Dec 2002 11:12:08 +0000 From: John Poltorak Subject: Ncurses ticdir Having just built Ncurses using prefix=/usr/local2, I see that ticdir=u:/usr/share/terminfo u: is the current drive, but I don't see anywhere that ticdir is set, so I guess there is a default. In this case boththe tabset and terminfo directories are empty. Here are the errors I get:- cd misc && make DESTDIR="" install make[1]: Entering directory `/unixos2/workdir/ncurses-5.3/misc' sh ./../mkinstalldirs u:/usr/share/terminfo mkdir -p -- u:/usr/share/terminfo sh ./../mkinstalldirs /usr/local2/share/tabset mkdir -p -- /usr/local2/share/tabset DESTDIR= \ prefix=/usr/local2 \ exec_prefix=/usr/local2 \ bindir=/usr/local2/bin \ top_srcdir=.. \ srcdir=. \ datadir=/usr/local2/share \ ticdir=u:/usr/share/terminfo \ source=../misc/emx.src \ THIS_CC="gcc" \ THAT_CC="gcc" \ sh ./run_tic.sh ** Building terminfo database, please wait... ** adjusting tabset paths sed: Unknown option to 's' Running tic to install u:/usr/share/terminfo ... You may see messages regarding unknown capabilities, e.g., AX. These are extended terminal capabilities which can be compiled using tic -x Read the INSTALL document before doing this - it can cause problems for older ncurses applications. .\SHLIB.: tic.exe: not found ? tic could not build u:/usr/share/terminfo make[1]: *** [install.data] Error 1 make[1]: Leaving directory `/unixos2/workdir/ncurses-5.3/misc' make: *** [install] Error 2 tic.exe as been successfully built and is in u:/usr/local2/bin. -- John **= Email 10 ==========================** Date: Tue, 17 Dec 2002 13:19:55 +0000 From: John Poltorak Subject: Emacs Some time ago I got some instructions on how to build emacs v20.7 on OS/2 but it involved some editing of various files to make it work. What I'd like to do is put together a script to automate the whole process to simplify it Here are the instructions I would like to create a script for:- To build Emacs-20.7, 1. tar zxf SOMEWHERE\emacs-20.7.tar.gz 2. tar zxf SOMEWHERE\leim-20.7.tar.gz 3. cd emacs-20.7 4. chmod +rw -R* 5. untgz SOMEWHERE\emacs-20.7-KIT1.9.tgz 6. configure.cmd --with-bsd-socket --with-xf86sup-pty Execution of configure.cmd ask you twice, just press Enter key 8. edit src\puresize.h as follows (line 36-43); #ifndef SYSTEM_PURESIZE_EXTRA /* #define SYSTEM_PURESIZE_EXTRA 0 */ #define SYSTEM_PURESIZE_EXTRA 200000 $B"+(B this number #endif #ifndef SITELOAD_PURESIZE_EXTRA #define SITELOAD_PURESIZE_EXTRA 200000 $B"+(B this nimber #endif Moreover, I have edited src\config.h as follows (line 246-248); #define EMACS_CONFIGURATION "AthlonXP OS/2_Warp_V4.51 emx09d_fix04" #define EMACS_CONFIG_OPTIONS "--emacs-configuration=AthlonXP OS/2_Warp_V4.51 emx09d_fix04 --with-bsd-socket=yes --with-xf86sup-pty=yes" 7. SET INCLUDE=x:/emx/include SET NAME=Richard Stallman $B"+(B ADD this in CONDIF.SYS 8. make 9. del src\emacs.exe 10. make 11. add emacs-20.7\src to SET PATH in the CONFIG.SYS In my case, SET PATH=....;\g:\usr\local\emacs-20.7\src; And add these 3 lines SET EMACSROOT=g:/usr/local/emacs-20.7 SET EMACSLOADPATH=g:/usr/local/emacs-20.7/lisp;g:/usr/local/emacs-20.7/site- lisp;g:/usr/local/emacs-20.7/leim SET NAME=Richard Stallman (Yes, I executed make under the g:\usr\local directory.) 12. make emacs.cmd like this g:\usr\local\emacs-20.7\src\emacs.exe then relate with a nice icon (emacs.ico) which is in the ..\emacs-20.7\os2. 13. Reboot Any help would be appreciated. -- John **= Email 11 ==========================** Date: Tue, 17 Dec 2002 14:22:18 +0000 From: John Poltorak Subject: syslog.h It looks as though syslog.h does not come with EMX... Is there a definitive source for it? There's one in Posix/2. Can I use that? -- John **= Email 12 ==========================** Date: Tue, 17 Dec 2002 14:23:22 From: Voytek Eymont Subject: Re: rsyncd.conf ** Reply to note from "Dave Saville" Mon, 16 Dec 2002 12:27:13 +0000 (GMT) > No - never use E for anything to do with *nixy conf files. It ads an > EOF byte which throws lots of parse code. Use EPM or VI. does it really create real probs with conf files ? it does, on web pages, with CtrlZ displaying in browsers, but, it never bothered my bind, and, whatever conf files... anyhow, there is an updated E (on hobbes) that no longer leaves Ctrl Z Voytek Eymont SBT Information Systems Pty Ltd http://www.sbt.net.au/links/ phone +61-2 9310-1144 fax +61-2 9310-1118 **= Email 13 ==========================** Date: Tue, 17 Dec 2002 14:27:42 From: Voytek Eymont Subject: ot: any developer willing to port USB J code ? anyone here can help Brad with some USB code ================================ To: noreply at sourceforge.net From: noreply at sourceforge.net Subject: [jsyncmanager - Help] RE: USB Date: Mon, 16 Dec 2002 00:28:56 -0800 Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=1796367 By: yaztromo Hi Robert: This is to just let you (and everyone else) know that we've released a pre-beta version of the jSyncManager v3 that includes functional USB synchronization. Using the new USB sync functionality requires a port of the jUSB API (http://jusb.sourceforge.net) for your platform of choice. Unfortunately, currently the only such platform is Linux, but I'm hoping we can recruit someone from the OS/2 community to port this API to OS/2. If they do, the jSyncManager with USB support should instantly work on OS/2. We're making progress, so be sure to keep watching our project news! Brad BARCLAY ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge and visit: https://sourceforge.net/forum/monitor.php?forum_id=213447 Voytek Eymont SBT Information Systems Pty Ltd http://www.sbt.net.au/links/ phone +61-2 9310-1144 fax +61-2 9310-1118 **= Email 14 ==========================** Date: Tue, 17 Dec 2002 15:04:41 +0000 From: John Poltorak Subject: R Anyone familiar with the R project? See:- http://www.r-project.org Would any of it build on OS/2? I don't suppose anyone has already ported it... -- John **= Email 15 ==========================** Date: Tue, 17 Dec 2002 15:13:59 +0000 From: John Poltorak Subject: Building RSYNC I tried rebuilding RSYNC by applying the OS/2 patches to the tarball and then running configure and make. Do I need to do anything else? Initially I needed a couple of additional headers, syslog.h and paths.h, and it seemed to go quite well until it stops with this error:- gcc -DHAVE_CONFIG_H -Wall -W -I./popt -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o lib/inet_ntop.o lib/inet_pton.o lib/getaddrinfo.o lib/getnameinfo.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o -lsocket main.o: Undefined symbol _strncasecmp referenced from text segment log.o: Undefined symbol _syslog referenced from text segment log.o: Undefined symbol _openlog referenced from text segment loadparm.o: Undefined symbol _strcasecmp referenced from text segment loadparm.o: Undefined symbol _strcasecmp referenced from text segment make: *** [rsync] Error 1 echo "WARNING: you need to rerun autoconf" WARNING: you need to rerun autoconf Please ignore warnings below about mktemp -- it is used in a safe way gcc -DHAVE_CONFIG_H -Wall -W -I./popt -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o lib/inet_ntop.o lib/inet_pton.o lib/getaddrinfo.o lib/getnameinfo.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o -lsocket main.o: Undefined symbol _strncasecmp referenced from text segment log.o: Undefined symbol _syslog referenced from text segment log.o: Undefined symbol _openlog referenced from text segment loadparm.o: Undefined symbol _strcasecmp referenced from text segment loadparm.o: Undefined symbol _strcasecmp referenced from text segment make: *** [rsync] Error 1 Am I missing some libs here? Or is it just a matter of redefining strcasecmp? -- John **= Email 16 ==========================** Date: Tue, 17 Dec 2002 16:10:39 +0100 (CET) From: "Christian Hennecke" Subject: Re: ot: any developer willing to port USB J code ? On Tue, 17 Dec 2002 14:27:42, Voytek Eymont wrote: >anyone here can help Brad with some USB code Brad may want to talk to Markus Montkowski. His e-mail address is usbguy at netlabs dot org. Christian Hennecke **= Email 17 ==========================** Date: Tue, 17 Dec 2002 17:48:25 From: Voytek Eymont Subject: Re: mail loop ** Reply to note from Ted Sikora Tue, 17 Dec 2002 00:37:32 -0500 > Just need to add 'sendmail -q' to cron. Can you recommend any good OS/2 > cron's? Damn I was getting close to giving up. there were some very nifty WPS-enabled CRONs (names escapes me right now... WarpCron perhaps ? then there was the ATS (dvanced ask cheduler), very powerfull tool, but I'd start with Bob Hood's CRON/2 ============================================= OS/2 Upload Information Template for ftp-os2.cdrom.com Archive Name: cron214.zip Program Description: CRON/2 v1.4 A UNIX-like cron with networking extensions Operating System: OS/2 2.x Program Source: Author This version replaces cron213.zip. It adds a range operator to the CRON2.DAT file. Minutes/hours/days/months/dow can now span a range, using "15-18" instead of "15,16,17,18". This release also includes the full source code to the system, to both CRON/2 and the AT command, in IBM C/Set++ format. As a result, this is the last release of this system from the author. CRON/2 extends the traditional cron behaviour by adding client/server extensions via TCP/IP. Each CRON/2 process can act as client, server, or both to enable remote launching of applications on networked OS/2 systems. Your name: Bob Hood Your email address: rhood at nyx.cs.du.edu or bbh at csci.csc.com Proposed directory for placement: 2_x/unix/unixutil Voytek Eymont SBT Information Systems Pty Ltd http://www.sbt.net.au/links/ phone +61-2 9310-1144 fax +61-2 9310-1118 **= Email 18 ==========================** Date: Tue, 17 Dec 2002 19:19:35 +0000 From: John Poltorak Subject: Terminal choices When building LESS (v378) there is a choice of terminal libraries to use which include xcurses, ncurses, termcap and termlib. Not being familiar with these things, I don't know what the pros and cons are of each of them and I don't know if we ought to have a standard as far as UnixOS/2 goes. Does anyone have a view on the matter? -- John **= Email 19 ==========================** Date: Tue, 17 Dec 2002 19:46:51 +0100 (CET) From: "Yuri Dario" Subject: Re: Building RSYNC Hi John, >main.o: Undefined symbol _strncasecmp referenced from text segment >log.o: Undefined symbol _syslog referenced from text segment >log.o: Undefined symbol _openlog referenced from text segment you need a syslog.a library; strcasecmp should be translated to stricmp (that should already in my patch). Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.quasarbbs.net/yuri * http://www.teamos2.it * http://www.opera.com/os2/ */ **= Email 20 ==========================** Date: Tue, 17 Dec 2002 20:24:10 +0000 From: John Poltorak Subject: Re: Building RSYNC On Tue, Dec 17, 2002 at 07:46:51PM +0100, Yuri Dario wrote: > Hi John, > > >main.o: Undefined symbol _strncasecmp referenced from text segment > >log.o: Undefined symbol _syslog referenced from text segment > >log.o: Undefined symbol _openlog referenced from text segment > > you need a syslog.a library; I had one - maybe the wrong one... > strcasecmp should be translated to stricmp (that should already in > my patch). Patching appeared to work successfully. Could the error be due to the version of gcc being used? I'm currently running v2.8.1. > Bye, > > Yuri Dario > > /* > * member of TeamOS/2 - Italy > * http://www.quasarbbs.net/yuri > * http://www.teamos2.it > * http://www.opera.com/os2/ > */ -- John **= Email 21 ==========================** Date: Tue, 17 Dec 2002 22:36:59 -0600 From: email at eracc.hypermart.net (ERACC Lists) Subject: Re: Terminal choices In: <20021217191935.B88 at eyup.org> On: Tue, 17 Dec 2002 19:19:35 +0000 Screaming: Terminal choices John Poltorak did rant: +When building LESS (v378) there is a choice of terminal libraries to use +which include xcurses, ncurses, termcap and termlib. +Not being familiar with these things, I don't know what the pros and cons + are of each of them and I don't know if we ought to have a standard as +far as UnixOS/2 goes. +Does anyone have a view on the matter? The termcap file is an old "standard" that is replaced by the terminfo database IIRC. At least my Unixware box uses terminfo with termcap left on the system for backward compatibility. As for xcurses, ncurses and termlib I've rarely had chance to look at them so can't comment on whether or not they should be considered on OS/2. My gut feeling is if it is supported on the Linux platform we are emulating (slackware?) then it should be supported on UnixOS/2 to give the widest range of software support. Gene -- +=========================-=>Unix & OS/2<=-=========================+ # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # # eCS,OS/2,UnixWare,OpenServer & Linux Business Computing Solutions # # Please visit our www pages at http://eracc.hypermart.net/ # +===================================================================+ We run IBM OS/2 v.4.00, Revision 9.036 Sysinfo: 40 Processes, 170 Threads, uptime is 27d 22h 29m 45s 336ms