[comp.binaries.ibm.pc.d] 4DOS302 Bug in input function!

kebsch@nixdorf.de (Kebsch) (09/25/90)

Hi,

with 4DOS301A the following batch file produces the expected output,
but with 4DOS302 not! There must be a "black hole"? :-)

Batch File (b.btm)

: ---------------------------------------
: Test input function via IO redirection
: ---------------------------------------
@echo off
cls
: LOOP
input %%MSG
if "%MSG" == "" quit
echo %MSG
goto LOOP
: ---------------------------------------

I have created this test file (list.txt):

word-01
word-02
word-03
word-04
word-05
word-06
word-07
word-08
word-09
word-10

I have booted MSDOS-3.2 and started the "old" 4dos version on a AT286.
The 4DOS command "ver" shows this line:

4DOS 3.01a   DOS 3.30

This following (4DOS) command types the test file on the screen:

C:>b < list.txt

The output ist ok. I have rebooted the system and started the "new" 4dos
version. The 4DOS command "ver" shows this line:

4DOS 3.02   DOS 3.30

Now the same (4DOS) command:

C:>b < list.txt

prints word-01 and word-03 only! Where are the other words (lines)??? :-)

Greetings

Waldemar

--
[ Waldemar Kebsch, Nixdorf Computer AG, Dep.: PSD-C-63, Pontanusstrasse 55,  ]
[ 4790 Paderborn, Federal Republic of Germany, Tel.: [nat]-5251-14-6151      ]
[ Usenet: (USA) kebsch.pad@nixdorf.com, Eunet: kebsch.pad@nixdorf.de         ]