Opened 4 days ago

Last modified 3 days ago

#92 new defect

Corrupted text in 4os2.inf

Reported by: Anton Monroe Owned by:
Priority: minor Milestone: Version-5.01
Component: Documentation Version: 5.00
Keywords: Cc:

Description

In 4OS2 versions 3.11 and 5.0.0, 4os2.inf has some corrupted text. Under FOR /F I see

skip=n: FOR /F will skip "n" lines at the beginning of each file before

parsing the remainder of the file.

tokens=n, m, ... :

Bydefault ,FOR/ Freturnsjustthefirstwordor" token
"fromeachparsedlineinthevariableyounamed
.Youcanhaveitreturnmorethanonetokeninthevariable
,orreturntokensinseveralvariables ,withthisoption .

or under IF I see:

EXIST filename

Ifthefileexists ,theconditionistrue .Youcanusewildcardsinthefilename
,inwhichcasetheconditionistrueifanyfilematchingthewildcardnameexists .

Do not use IF EXIST to test for existence of a directory (use IF ISDIR
instead). Due to variations in operating system internals, IF EXIST
will not return consistent results when used to test for the existence
of a directory.

ISALIAS aliasname

Ifthenameisdefinedasanalias ,theconditionistrue .

INKEY, and START have similar problems. The pattern seems to be that it happens when the indented paragraph is put on a new line and the previous line is longer than the indent of the paragraph.

I did a little experimenting and it only happens if 4os2.inf is created by wipfc.exe. Using ipfc.exe I don't see the problem.

I know nothing about IPF files, so I can't tell if it is just a bug in wipfc.exe or if there is something defective in 4os2.ipf that triggers it.

It happens regardless of whether the list starts with

:lm margin=4.:parml tsize=12 break=fit.

or

:lm margin=4.:parml tsize=12 break=all.

That might be clue for somebody.

This looks suspiciously like the problem reported in ticket #84, but in some cases increasing the tsize would not be very practical.

Change History (2)

comment:1 by Gregg Young, 4 days ago

I don't see this here. OK I rebuild the inf and I now see the problem.

Last edited 3 days ago by Gregg Young (previous) (diff)

comment:2 by Anton Monroe, 3 days ago

That is puzzling.

I'm using NewView 2.19.9. I see the same thing from IBMView.exe. Also the same if I extract the test with "ipf2txt 4os2.inf". If I start with the 4os2.ipf that you posted on the OS2World forum a few days ago and compile it with wipfc.exe, I get the same results. If I compile it with ipfc.exe I get a good version of 4os2.inf.

Note: See TracTickets for help on using tickets.