2013-08-04 13:45:42 UTC
4DOS 8.0, is this n.g. approporiate for reporting in the hope
someone can actually look at fixing it - since Mr "Luczo"
retired from the scene. The quirk in question shouldn't be too
hard to locate and fix in the offending source code,
unfortunately I'm not a C programmer :(
Anyway, should anybody be curious, here is a description of the
4DOS quirk I have noticed :
when an external command's parameter line is longer than 126
characters (0x7E), 4DOS (correctly) inserts the first 126 chars
only into the program's PSP, followed by 1 line-feed character,
it (also correctly) copies the entire command line into the
CMDLINE variable; BUT 4DOS sets the line length (at PSP:0x80)
equal to the /original/ untruncated parameter string length,
which is a quirk/bug IMNSHO; potentially breaking command line
processing in some programs! The proper behaviour (as per MS-DOS
Command.com) is to /fix/ stored length == 0x 7F (at PSP:80) in
order to signal it has been subject to truncation.
Hope this report inspires some to try and fix this...