From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sat, 19 Apr 2003 14:03:28 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 103 ************************************************** Friday 18 April 2003 Number 103 ************************************************** Subjects for today 1 Re: eFDS-1.TXT : Nicky Morrow 2 Re: AF_UNIX sockets : Yuri Dario" 3 Re: AF_UNIX sockets : John Poltorak 4 Re: Compiling Duke3D : Henry Sobotka 5 Re: eFDS-1.TXT : Andreas Buening 6 Re: eFDS-1.TXT : Steve Wendt" 7 Re: Compiling Duke3D : John Poltorak 8 Re: eFDS-1.TXT : Nicky Morrow **= Email 1 ==========================** Date: Sat, 19 Apr 2003 00:00:29 -0500 From: Nicky Morrow Subject: Re: eFDS-1.TXT Steve Wendt wrote: >>Absolutely. That is why I'm here. Not only do we not need UnixOS2 and >>eCS to not conflict with each other, it would be good if they can >>compliment each other. >> >> > >Your shell prompt is so nice... Thanks, your widgets are beautiful... >Oh, you meant *complement* each other. ;) > Ok, you knew what I meant . What kills me about the English language is how difficult it is to spell correctly. I live in a Spanish speaking country...and I have Spanish speakers drive me crazy asking how to spell English words all the time...like they think I know because I'm a native English speaker. I never need to ask them how to spell Spanish words...because all Spanish words are spelled exactly like they are pronounced. > > > >>>Even for Unix /home is not fixed so I'd suggest to use just >>>$HOME for it. Problem: Should HOME use forward or backward slashes? >>> >>> >>We don't have a choice, the underlying os is OS/2 so it must be a backslash. >> >> > >There *is* a choice if your shell can handle forward slashes. The WPS can, but >cmd.exe can't (and many OS/2 programs likely can't). > Going any farther than having a conversation on this topic would probably just be a can or worms. >>2-17-03 3:40p 56,740 0 a--- arcview.exe >>3-02-93 12:12p 1,652 0 a--- boot2c.com >>5-18-02 7:22a 11,284 0 a--- bootlist.exe >>12-09-02 6:47a 7,378 0 a--- brandldr.exe >>4-04-01 4:44p 116,491 0 a--- ecscalc.exe >>1-19-03 4:48p 65 0 a--- mem.cmd >>1-19-03 4:48p 15,323 0 a--- memory.exe >>4-02-01 3:26a 803 1,053 a--- of.cmd >>2-05-03 7:03a 392 0 a--- open.cmd >>9-21-02 7:49p 53,072 0 a--- pmprintf.exe >>2-26-03 9:58p 6,682 0 a--- protochk.cmd >>2-14-03 11:08a 8,258 0 a--- reader.exe >>4-04-01 2:51p 7,718 0 a--- shutdown.exe >>9-20-02 1:22p 30,484 0 a--- smartctl.exe >>3-19-03 3:49p 1,206 2,297 a--- wrap$$$$.cmd >> >> > >Are there descriptions of these somewhere, and/or an indication of where they >came from? > arcview.exe is a zip file viewer and unarchiver. It is basic but well done and very well tested. I've been using it and testing it for over a year during v1.1 dev. It is handy. ecscalc.exe is a basic calculator. I'm the guilty party here. Of course it is good. memory.exe is a small utility to tell you how much memory eCS is seeing. Think of the DOS mem command. I'm also the guilty party on this one. Be glad to email anyone here a copy if you want to try it out. reader.exe is a very simple test display utility. I'd have to check some of the rest and get back to you. > > > >>9-20-02 1:22p 27,709 0 a--- diskinfo.exe >>9-20-02 1:22p 28,738 0 a--- dumpide.exe >> >> > >These come from danis506, apparently. > Yup. >>6-30-99 1:27p 88,045 0 a--- RC.EXE >>6-30-99 1:27p 15,314 0 a--- RCPP.ERR >>6-30-99 1:27p 47,331 0 a--- RCPP.EXE >> >> > >Why are these not in \os2 where they usually live? > They are in \os2 also. v1.1 is going to ship with them in both places unfortunately. This is a screw up! It is documented to be fixed for v2. > > > >>4-12-02 11:53a 14,586 30,363 a--- rdc.cmd >>2-17-96 11:29a 14,241 0 a--- rdc.old >>4-12-02 11:52a 13,264 0 a--- rdc2.exe >>5-27-95 5:44a 31,700 0 a--- rdcpp.exe >>2-17-96 11:34a 8,768 13,688 a--- resmgr.cmd >>9-21-02 1:17p 3,943 0 a--- resmgr.txt >> >> > >Martin Lafaix's resource decompiler, I assume. > Yup. > > > >>4-01-02 6:37p 12,559 0 a--- unLock.exe >>2-25-02 3:13p 175,155 0 a--- unzip.exe >>1-09-00 2:34a 122,416 0 a--- zip.exe >> >> > >These are the most essential! Other possibilities might be top, wget, diff, which, >grep, rm, and kill. > Where can I get copies of each of these? > Others may have more suggestions. > I'm all ears. BTW, you may not be interested but I've been working part time on a cli text editor...yeah, I hate tedit. If anyone would like to check it out let me know. > > > >>For the next version we could add: >>\var\cache >>\var\spool >>What do you think? >> >> > >Don't add them unless something that is installed uses them... > We are probably going to move \spool to \var\spool unless we find a problem doing so. Cheers, Nick **= Email 2 ==========================** Date: Sat, 19 Apr 2003 08:53:28 +0200 (CDT) From: "Yuri Dario" Subject: Re: AF_UNIX sockets Hi John, >Any ideas on how I can delete some AF_OS2 sockets? I have a system which >seems to have a accumulated quite a few and I can't get rid of them. >SOCLOSE only works on AF_INET sockets. since they are the same thing, they should close in the same way. >I'm also having problems with a TRAP E in AFOS2. Any ideas on how I might >be able to trace what is happening? update to ic35005 (or newer 35313); or add TRAPDUMP=R0,x: to your config.sys and analyze process info. Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.quasarbbs.net/yuri * http://www.teamos2.it * http://www.opera.com/os2/ */ **= Email 3 ==========================** Date: Sat, 19 Apr 2003 09:42:50 +0100 From: John Poltorak Subject: Re: AF_UNIX sockets On Sat, Apr 19, 2003 at 08:53:28AM +0200, Yuri Dario wrote: > Hi John, > > >Any ideas on how I can delete some AF_OS2 sockets? I have a system which > >seems to have a accumulated quite a few and I can't get rid of them. > >SOCLOSE only works on AF_INET sockets. > > since they are the same thing, they should close in the same way. SOCLOSE requires a socket number but AF_OS2 sockets are identified by a name. If I use the name it errors with 'invalid socket number'. I have had around 70 of the sockets open for around a week and can't get rid of them. > >I'm also having problems with a TRAP E in AFOS2. Any ideas on how I might > >be able to trace what is happening? > > update to ic35005 (or newer 35313); I'm using ic35313 which contains AFOS2.SYS dated 19/12/02. > or add TRAPDUMP=R0,x: to your config.sys and analyze > process info. I've never used TRAPDUMP, but suspect I would need to repartition my disk... > Bye, > > Yuri Dario > > /* > * member of TeamOS/2 - Italy > * http://www.quasarbbs.net/yuri > * http://www.teamos2.it > * http://www.opera.com/os2/ > */ -- John **= Email 4 ==========================** Date: Sat, 19 Apr 2003 12:57:57 -0400 From: Henry Sobotka Subject: Re: Compiling Duke3D IanM wrote: > > game.c(7316): Error! E1011: Symbol 'O_RDONLY' has not been declared > game.c(7316): Error! E1011: Symbol 'S_IREAD' has not been declared > > Does anyone know the OS/2 equivalents for these two symbols ? They're both in the emx headers: O_RDONLY in fcntl.h and S_IREAD in sys/stat.h. h~ **= Email 5 ==========================** Date: Sat, 19 Apr 2003 15:53:44 +0200 From: Andreas Buening Subject: Re: eFDS-1.TXT Nicky Morrow wrote: > > Andreas Buening wrote: [snip] > >>For the next version we could add: > >> > >>\var\cache > >>\var\spool > >> > >>What do you think? > >> > >> > > > >Just keep compatible with the FHS if you use the same dir names, please. > > > > \var\log, \var\cache and \var\spool are exactly the same name and serve > the same purpose in eFDS-1 as they do in FHS. \var\temp would need to > be changed to \var\tmp to get a close as we can concerning FHS...I'll go > ahead and attempt to make that minor change if you like. I see no problem with /var/temp. You can also choose /var/tmp or /tmp or /temp. The more interesting question would be whether it's more convenient to have the temp dir directly in the root directory or "hidden" within another dir. But that's up to you. Bye, Andreas -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them In the Land of Mordor where the Shadows lie. **= Email 6 ==========================** Date: Sat, 19 Apr 2003 16:09:22 -0700 (PDT) From: "Steve Wendt" Subject: Re: eFDS-1.TXT On Sat, 19 Apr 2003 00:00:29 -0500, Nicky Morrow wrote: >What kills me about the English language is how difficult it is to spell >correctly. I live in a Spanish speaking country...and I have Spanish Indeed... English is one of the most illogical languages, having far too many influences. ;) >>There *is* a choice if your shell can handle forward slashes. The WPS can, >>but cmd.exe can't (and many OS/2 programs likely can't). > >Going any farther than having a conversation on this topic would >probably just be a can or worms. Perhaps, but as mentioned, things that look for things like TMPDIR may be *expecting* to have forward slashes there. If you intentionally break that for no good reason, it doesn't inspire confidence. >reader.exe is a very simple test display utility. What, like list? Or something else? >>These are the most essential! Other possibilities might be top, wget, diff, which, >>grep, rm, and kill. > >Where can I get copies of each of these? top is from Paul Ratcliffe, wget is on Hobbes. There are a few different versions of which and kill; I could figure out which ones I have unless someone has a good idea for the "definitive" versions. diff, grep, and rm are the GNU versions; I may not have the latest versions (and John can probably point to what he thinks are the definitive versions). >BTW, you may not be interested but I've been working part time on a cli >text editor...yeah, I hate tedit. If anyone would like to check it out >let me know. What is it being modeled on? ----------- "Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." - Plato (427-347 B.C.) **= Email 7 ==========================** Date: Sat, 19 Apr 2003 18:44:35 +0100 From: John Poltorak Subject: Re: Compiling Duke3D On Sun, Apr 20, 2003 at 12:56:34AM +1000, IanM wrote: > Hi > > I'm getting these errors > > game.c(7316): Error! E1011: Symbol 'O_RDONLY' has not been declared > game.c(7316): Error! E1011: Symbol 'S_IREAD' has not been declared > > Does anyone know the OS/2 equivalents for these two symbols ? Do you hae a URL for the source? > Cheers > IanM > http://www.os2site.com/ > > Notice in health food shop window: > CLOSED DUE TO ILLNESS -- John **= Email 8 ==========================** Date: Sat, 19 Apr 2003 23:01:13 -0500 From: Nicky Morrow Subject: Re: eFDS-1.TXT Steve Wendt wrote: >>>There *is* a choice if your shell can handle forward slashes. The WPS can, >>>but cmd.exe can't (and many OS/2 programs likely can't). >>> >>> >>Going any farther than having a conversation on this topic would >>probably just be a can or worms. >> >> > >Perhaps, but as mentioned, things that look for things like TMPDIR may be >*expecting* to have forward slashes there. If you intentionally break that for no >good reason, it doesn't inspire confidence. > I hear you...for now I'm going to remove TMPDIR from eFDS-1 and from the config.sys in eCS. Won't happen until eCS v2. > > > >>reader.exe is a very simple test display utility. >> >> > >What, like list? Or something else? > Well, it is pretty basic...just something to give a quick look at text. Actually I think it is a by product of something else and may very well be deleted next time around. > > > >>>These are the most essential! Other possibilities might be top, wget, diff, which, >>>grep, rm, and kill. >>> >>> >>Where can I get copies of each of these? >> >> > >top is from Paul Ratcliffe, wget is on Hobbes. There are a few different versions >of which and kill; I could figure out which ones I have unless someone has a >good idea for the "definitive" versions. diff, grep, and rm are the GNU versions; >I may not have the latest versions (and John can probably point to what he thinks >are the definitive versions). > A definitive list and where to get them would be great. > > > >>BTW, you may not be interested but I've been working part time on a cli >>text editor...yeah, I hate tedit. If anyone would like to check it out >>let me know. >> >> > >What is it being modeled on? > :) It is being modeled on what I like...simple to understand and easy to use. The part you'll find hard to believe is that it is written in Rexx. Something I think that is cool about it is that 2 friends report that it runs unmodified on Windows ...I guess it is a cross platform app. It is just a side project I've been working on but if you have a need for a cli editor it is pretty easy to use...and it you don't like how it works it is very easy to change. Regards, Nick