home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / misc / 26139 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.4 KB  |  46 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!schmiher
  3. From: schmiher@Informatik.TU-Muenchen.DE (Hermann Schmidt)
  4. Subject: Bug in 4OS2 (I really think so)
  5. Originator: schmiher@hphalle2a.informatik.tu-muenchen.de
  6. Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem)
  7. Organization: Technische Universitaet Muenchen, Germany
  8. Date: Fri, 31 Jul 1992 16:40:39 GMT
  9. Message-ID: <1992Jul31.164039.29379@Informatik.TU-Muenchen.DE>
  10. Lines: 34
  11.  
  12.  
  13. Hello,
  14.  
  15. I discovered a subtle different behaviour of 4OS2 compared to CMD.
  16. Try the follwoing:
  17.  
  18. File test.cmd:
  19.  
  20. /* identify as REXX exec */
  21. say ARG() /* prints number of supplied arguments */
  22.  
  23. Run test.cmd without arguments in a session that is configured with
  24. CMD.EXE as shell (via config.sys). The program outputs "0", which is right.
  25. Change the shell to 4OS2 and reboot. Run test again, it outputs "1" (wrong!).
  26.  
  27. It does not work either if you start CMD as secondary shell(!)
  28.  
  29. I found that bug while desperately trying to run SHOWINI.CMD. It checks
  30. the number of args right at the beginning and will not run properly
  31. under 4OS2 (At least on my installation). I think I will split it in two
  32. versions: one for interactive editing, one for saving and retrieving of
  33. .INI files.
  34.  
  35. I've already installed the latest REXX DLLs, the GA DLLs show exactly the
  36. same behaviour.
  37.  
  38. Any comments?
  39.  
  40.  
  41. BTW, I`d need a small, non-PM fullscreen editor for the boot diskette.
  42. What's recomended here?
  43.  
  44.  
  45. Hermann
  46.