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