From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 9 Jan 2003 04:48:02 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 8 ************************************************** Wednesday 08 January 2003 Number 8 ************************************************** Subjects for today 1 Re: Ncurses problem? : Thomas E. Dickey" 2 RE: Open Watcom C/C++ 1.0 beta : Dave Webster 3 Linux smartsuite : John Poltorak 4 Re: PASSWD handling : John Poltorak 5 Re: Linux smartsuite : Mentore Siesto 6 Re: Ncurses problem? : John Poltorak 7 Testing for LINK386 on path : John Poltorak 8 Re: vile : Thomas E. Dickey" 9 Mounting an CDROM ISO image as a filesystem : John Poltorak 10 Re: Open Watcom C/C++ 1.0 beta : Steve Wendt 11 Re: PASSWD handling : John Poltorak 12 RE: Open Watcom C/C++ 1.0 beta : Dave Webster 13 Re: Mounting an CDROM ISO image as a filesystem : John Poltorak 14 Re: PASSWD handling : nickk" 15 Re: Mounting an CDROM ISO image as a filesystem : nickk" 16 vile : John Poltorak 17 Re: Mounting an CDROM ISO image as a filesystem : nickk" 18 Re: Mounting an CDROM ISO image as a filesystem : Christian Hennecke" 19 Re: Linux smartsuite : John Poltorak 20 Re: Open Watcom C/C++ 1.0 beta : John Poltorak 21 Re: Mounting an CDROM ISO image as a filesystem : John Poltorak **= Email 1 ==========================** Date: Thu, 9 Jan 2003 06:35:56 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: Ncurses problem? On Thu, 9 Jan 2003, John Poltorak wrote: > On Tue, Jan 07, 2003 at 02:25:08PM -0500, Thomas Dickey wrote: > > On Tue, Jan 07, 2003 at 10:32:47AM +0000, John Poltorak wrote: > > > cp: ../share/terminfo: No such file or directory > > > > I'm not sure: you reported this before, and I did look at the script, > > but didn't see what was wrong. Perhaps some environment variable > > is triggering this... > > I don't recall reporting this before and can't find any such reference in > my archive. The last problem I reported was due to SED getting tripped up > by the use of ':' as a seperator, and you provided a patch which solved > the problem. It was in one of the followups to that - I probably recall it better since it isn't expected behavior. > > In this case I'm simply reporting an error msg, which doesn't appear to > cause any problems but I can't even work out where it is coming from, > although I see from my log:- > > make[1]: Entering directory `/unixos2/workdir/ncurses-5.3/misc' > > so I'll check the the makefile and see if I can spot it. I was looking mainly in the misc/run_tic.sh script - should be near the end of that, as I understand the issue. -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 2 ==========================** Date: Thu, 9 Jan 2003 07:40:55 -0600 From: Dave Webster Subject: RE: Open Watcom C/C++ 1.0 beta The key issue with Watcom is how fully will it support modern ANSI C++ standards, and in particular, whether or not it will fully support stl. As it is, VAC V3 compiles only older releases of StlPort is extremely dated. In fact, I won't bother with Watcom at all until it ships with it's own stl ala Visual Studio, VA4.0, and others instead of it's home grown container library..... What would have been nice for OS/2 is if IBM had given us a VA 4.0 with all it's ANSI compliance, but with a traditional make environment to go along with that codestore stuff at the user's discretion. -----Original Message----- From: John Poltorak [mailto:jp at manninghammills.org] Sent: Wednesday, January 08, 2003 9:27 AM To: os2-unix at manninghammills.org Subject: Open Watcom C/C++ 1.0 beta Open Watcom C/C++ 1.0 beta is now available here:- ftp://ftp.openwatcom.org/watcom/openwatcom/1.0_beta/open-watcom-c-os2-1.0.ex e I guess this must be our long term replacement for VAC++. Wonder if it can be used for building anything like Perl... -- John **= Email 3 ==========================** Date: Thu, 9 Jan 2003 09:18:41 +0000 From: John Poltorak Subject: Linux smartsuite The latest Slackware distro includes a new package - smartsuite! This one is nothing to do with Lotus, but it is in fact a set of hard drive monitoring utilities:- SMART suite controls and monitors storage devices running the Self- Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into many ATA and SCSI Hard Drives. This is used to check the reliability of the hard drive and predict drive failures. Includes smartctl (a command line utility for checking smart status) and smartd (a monitoring daemon that periodically monitors smart status and reports errors to syslog). It available here:- ftp://ftp.mirror.ac.uk/sites/ftp.slackware.com/pub/slackware/slackware-8.1/slackware/a/smartsuite-2.1-i386-1.tgz Has anyone come across this package? It sounds like a handy tool to have on OS/2, although I suspect porting it would be fairly tricky... -- John **= Email 4 ==========================** Date: Thu, 9 Jan 2003 09:53:21 +0000 From: John Poltorak Subject: Re: PASSWD handling On Wed, Jan 08, 2003 at 03:55:37PM +0300, nickk wrote: > On Wed, 8 Jan 2003 09:04:41 +0000, John Poltorak wrote: > > >> > Would it be passible to use SES if detected and something else if not? > >> > >> I think this can be hidden inside pwd() library. > > > >That would be an excellent solution, if someone was able to come up with > >it. > > > >> Thanks. > > what you like to have from libpwd what the s/2 is not enstalled - some stub or complete passwd file handling ? Complete passwd handling would be required for apps which required it, otherwise the apps would need to incorporate it themselves. However, I'm not sure what you mean by a stub or what use it would be. -- John **= Email 5 ==========================** Date: Thu, 9 Jan 2003 10:43:48 +0100 (CET) From: Mentore Siesto Subject: Re: Linux smartsuite On Thu, 9 Jan 2003, John Poltorak wrote: JP >The latest Slackware distro includes a new package - smartsuite! JP > JP >This one is nothing to do with Lotus, but it is in fact a set of hard JP >drive monitoring utilities:- JP > JP >SMART suite controls and monitors storage devices running the Self- JP >Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) JP >built into many ATA and SCSI Hard Drives. This is used to check the JP >reliability of the hard drive and predict drive failures. Includes JP >smartctl (a command line utility for checking smart status) and smartd JP >(a monitoring daemon that periodically monitors smart status and JP >reports errors to syslog). AFAIK there are some smart monitoring utilities on hobbes. Does this smartsuite provide something more? Anyway I think it should be possible to port it (maybe with gcc 3.03). -- Mentore Siesto Team OS/2 Italia **= Email 6 ==========================** Date: Thu, 9 Jan 2003 10:49:46 +0000 From: John Poltorak Subject: Re: Ncurses problem? On Tue, Jan 07, 2003 at 02:25:08PM -0500, Thomas Dickey wrote: > On Tue, Jan 07, 2003 at 10:32:47AM +0000, John Poltorak wrote: > > > > I'm not sure if this is a problem or not, but I noticed this msg whilst > > building NCURSES (5.3) :- > > > > > > sh ./run_tic.sh > > ** Building terminfo database, please wait... > > ** adjusting tabset paths > > Running tic to install c:/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. > > > > 38 entries written to /usr/share/terminfo > > ** built new c:/usr/share/terminfo > > cp: ../share/terminfo: No such file or directory > > I'm not sure: you reported this before, and I did look at the script, > but didn't see what was wrong. Perhaps some environment variable > is triggering this... I don't recall reporting this before and can't find any such reference in my archive. The last problem I reported was due to SED getting tripped up by the use of ':' as a seperator, and you provided a patch which solved the problem. In this case I'm simply reporting an error msg, which doesn't appear to cause any problems but I can't even work out where it is coming from, although I see from my log:- make[1]: Entering directory `/unixos2/workdir/ncurses-5.3/misc' so I'll check the the makefile and see if I can spot it. > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- John **= Email 7 ==========================** Date: Thu, 9 Jan 2003 12:50:17 +0000 From: John Poltorak Subject: Testing for LINK386 on path How would I test for the presence of LINK386 being on the path from within a shell script? -- John **= Email 8 ==========================** Date: Thu, 9 Jan 2003 12:58:00 -0500 (EST) From: "Thomas E. Dickey" Subject: Re: vile On Thu, 9 Jan 2003, John Poltorak wrote: > > > I just managed to build VILE, the vi clone, without any problems straight > from the source. > > I'm not at all familiar with vi, so don't know what sort of behaviour to > expect, but a couple of things I did notice was the new lines were > displayed as ^M. I guess this is because it doesn't like CRLF newlines, > but is there any way to supress it? yes - you can set 'dos' in the .vilerc file to tell it to assume that files use CRLF endings, or use the set-dos command to tell it to convert a buffer to DOS format. That is :set dos for the first :set-d or :set-dos for the second. > One other thing I found was that it would not read > > \config.sys > > but > > /config.sys > > was OK. Is this expected behaviour? from EMX, yes - since it uses Unix-style pathnames. There's code in the win32-configuration for assuming that backslashes are pathname separators. -- T.E.Dickey http://invisible-island.net ftp://invisible-island.net **= Email 9 ==========================** Date: Thu, 9 Jan 2003 13:12:14 +0000 From: John Poltorak Subject: Mounting an CDROM ISO image as a filesystem How do I mount a CDROM ISO image so that I can see it as a file system under a drive letter? -- John **= Email 10 ==========================** Date: Thu, 9 Jan 2003 13:22:33 -0800 (PST) From: Steve Wendt Subject: Re: Open Watcom C/C++ 1.0 beta On Thu, 9 Jan 2003, John Poltorak wrote: > Is there a particular standard for ANSI C++ compilers? I've heard of > things like Fortran 77 and Cobol 66. What is the current C++ standard > known as? This seems to be hard to find. For C there is C99, but for C++ there is only a couple of press releases from 1997/1998 declaring it an ISO standard: http://www.research.att.com/~bs/iso_release.html http://www.ncits.org/standards/pr14882.htm **= Email 11 ==========================** Date: Thu, 9 Jan 2003 13:57:10 +0000 From: John Poltorak Subject: Re: PASSWD handling On Thu, Jan 09, 2003 at 04:15:37PM +0300, nickk wrote: > Hi! > > I uploaded the preview of libpwd that uses both Security/2 is available and traditional passwd file otherwise. The library is not tested, just written and > compiled. The url is ftp://ftp.os2ports.com/incoming/libpwd-0.0.0.zip. > It will be great if someone could test it and fix bugs if any ;) Can we standardise on a pwd.h ? EMX comes with two, and Posix/2 has its own, now this one makes four! Is Security/2 open source? If so, I'd like to add the headers to a standard /usr/include at some point. -- John **= Email 12 ==========================** Date: Thu, 9 Jan 2003 14:17:17 -0600 From: Dave Webster Subject: RE: Open Watcom C/C++ 1.0 beta Well there is the latest ANSI C++ standard. It is up to compiler manufacturers to determine how compliant they are with that standard. The single biggest areas of compliance has to do with implementation of namespaces, deprecation of the old ostreams and incorporation of the std:ostreams, and overall template behavior compliance. For OS/2 only the oddball VisualAge C++ V4.0 is truly compliant with most of the standard. This release of Watcom is far from there, yet, from what I can tell. I'm pretty sure EMX is well shy of compliance as well. So our only hope is the Open Watcom people really get cracking on this and get it up to VA 4.0 compliance level sometime before we all die... As for STLPort, does it compile the latest release, or like VA 3.0, only some very old release? -----Original Message----- From: John Poltorak [mailto:jp at manninghammills.org] Sent: Thursday, January 09, 2003 1:59 PM To: os2-unix at manninghammills.org Subject: Re: Open Watcom C/C++ 1.0 beta On Thu, Jan 09, 2003 at 07:40:55AM -0600, Dave Webster wrote: > The key issue with Watcom is how fully will it support modern ANSI C++ > standards, Is there a particular standard for ANSI C++ compilers? I've heard of things like Fortran 77 and Cobol 66. What is the current C++ standard known as? > and in particular, whether or not it will fully support stl. As > it is, VAC V3 compiles only older releases of StlPort is extremely dated. > In fact, I won't bother with Watcom at all until it ships with it's own stl > ala Visual Studio, VA4.0, and others instead of it's home grown container > library..... Apparently STLPort is reported to work with Open Watcom... -- John **= Email 13 ==========================** Date: Thu, 9 Jan 2003 14:18:31 +0000 From: John Poltorak Subject: Re: Mounting an CDROM ISO image as a filesystem On Thu, Jan 09, 2003 at 04:45:06PM +0300, nickk wrote: > On Thu, 9 Jan 2003 13:12:14 +0000, John Poltorak wrote: > > >How do I mount a CDROM ISO image so that I can see it as a file system > >under a drive letter? > > There is a ndpiso plugin for netdrive to do such things. I suspect you are familiar with this program ... ;-) Am I wrong in thinking that mkisofs does not have such a feature? -- John **= Email 14 ==========================** Date: Thu, 09 Jan 2003 16:15:37 +0300 (MSK) From: "nickk" Subject: Re: PASSWD handling Hi! I uploaded the preview of libpwd that uses both Security/2 is available and traditional passwd file otherwise. The library is not tested, just written and compiled. The url is ftp://ftp.os2ports.com/incoming/libpwd-0.0.0.zip. It will be great if someone could test it and fix bugs if any ;) **= Email 15 ==========================** Date: Thu, 09 Jan 2003 16:45:06 +0300 (MSK) From: "nickk" Subject: Re: Mounting an CDROM ISO image as a filesystem On Thu, 9 Jan 2003 13:12:14 +0000, John Poltorak wrote: >How do I mount a CDROM ISO image so that I can see it as a file system >under a drive letter? There is a ndpiso plugin for netdrive to do such things. **= Email 16 ==========================** Date: Thu, 9 Jan 2003 17:41:34 +0000 From: John Poltorak Subject: vile I just managed to build VILE, the vi clone, without any problems straight from the source. I'm not at all familiar with vi, so don't know what sort of behaviour to expect, but a couple of things I did notice was the new lines were displayed as ^M. I guess this is because it doesn't like CRLF newlines, but is there any way to supress it? One other thing I found was that it would not read \config.sys but /config.sys was OK. Is this expected behaviour? -- John **= Email 17 ==========================** Date: Thu, 09 Jan 2003 18:03:51 +0300 (MSK) From: "nickk" Subject: Re: Mounting an CDROM ISO image as a filesystem On Thu, 9 Jan 2003 14:18:31 +0000, John Poltorak wrote: >> >How do I mount a CDROM ISO image so that I can see it as a file system >> >under a drive letter? >> >> There is a ndpiso plugin for netdrive to do such things. > >I suspect you are familiar with this program ... ;-) A bit ;) > >Am I wrong in thinking that mkisofs does not have such a feature? Nope, you are right. mkisofs has not facilities to be a IFS under OS/2 ;) It do the reverse thing. Netdrive has. **= Email 18 ==========================** Date: Thu, 09 Jan 2003 18:28:47 +0100 (CET) From: "Christian Hennecke" Subject: Re: Mounting an CDROM ISO image as a filesystem On Thu, 9 Jan 2003 13:12:14 +0000, John Poltorak wrote: >How do I mount a CDROM ISO image so that I can see it as a file system >under a drive letter? You can either use the plug-in for the shareware NetDrive package or Chris Wohlgemuth's free ISOFS package. The latter is available at http://www.os2world.com/cdwriting. Christian Hennecke **= Email 19 ==========================** Date: Thu, 9 Jan 2003 19:18:37 +0000 From: John Poltorak Subject: Re: Linux smartsuite On Thu, Jan 09, 2003 at 09:18:41AM +0000, John Poltorak wrote: > > The latest Slackware distro includes a new package - smartsuite! > > This one is nothing to do with Lotus, but it is in fact a set of hard > drive monitoring utilities:- > > > SMART suite controls and monitors storage devices running the Self- > Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) > built into many ATA and SCSI Hard Drives. This is used to check the > reliability of the hard drive and predict drive failures. Includes > smartctl (a command line utility for checking smart status) and smartd > (a monitoring daemon that periodically monitors smart status and > reports errors to syslog). > > > It available here:- > > ftp://ftp.mirror.ac.uk/sites/ftp.slackware.com/pub/slackware/slackware-8.1/slackware/a/smartsuite-2.1-i386-1.tgz > > > Has anyone come across this package? It sounds like a handy tool to have > on OS/2, although I suspect porting it would be fairly tricky... It has **already** been ported by Daniela Engert and is included in the latest DANI driver. See:- http://hobbes.nmsu.edu/pub/os2/system/drivers/storage/danis506r161.zip -- John **= Email 20 ==========================** Date: Thu, 9 Jan 2003 19:58:37 +0000 From: John Poltorak Subject: Re: Open Watcom C/C++ 1.0 beta On Thu, Jan 09, 2003 at 07:40:55AM -0600, Dave Webster wrote: > The key issue with Watcom is how fully will it support modern ANSI C++ > standards, Is there a particular standard for ANSI C++ compilers? I've heard of things like Fortran 77 and Cobol 66. What is the current C++ standard known as? > and in particular, whether or not it will fully support stl. As > it is, VAC V3 compiles only older releases of StlPort is extremely dated. > In fact, I won't bother with Watcom at all until it ships with it's own stl > ala Visual Studio, VA4.0, and others instead of it's home grown container > library..... Apparently STLPort is reported to work with Open Watcom... -- John **= Email 21 ==========================** Date: Thu, 9 Jan 2003 20:31:11 +0000 From: John Poltorak Subject: Re: Mounting an CDROM ISO image as a filesystem On Thu, Jan 09, 2003 at 06:28:47PM +0100, Christian Hennecke wrote: > On Thu, 9 Jan 2003 13:12:14 +0000, John Poltorak wrote: > > >How do I mount a CDROM ISO image so that I can see it as a file system > >under a drive letter? > > You can either use the plug-in for the shareware NetDrive package or I tried installing that earlier and couldn't get it working. > Chris Wohlgemuth's free ISOFS package. The latter is available at > http://www.os2world.com/cdwriting. I've tried ISOFS in the past but never managed to get it to mount ISO images of Slackware or any other images. I know the Slackware image was OK as I used it to burn a CD successfully. I just tried the most recent version and ended with a trap in DOSCALL1 on boot up, so I guess I can't use this package either. > Christian Hennecke -- John