iw2evk | 2 Apr 13:42
Picon
Favicon

Patch for concatenation problems


Hi at all, 
it's possible patch in kernel or freecom this problem caused a problem when
arachne work under freedos? 

See in attachment the comment of Joe da Silva (arachne developper) 
-------------Snip----------------------------------------- 
Hi Roberto, 
s you may recall, the problem I found with FreeDOS compatibility 
was with the following line in 'mime.cfg' : 

file/apm.dgi  >HTM|[100]copy $eapm.htp+$esystem\\apm.db\\*.htm $2>NUL 

Unfortunately, the command processor in FreeDOS gets confused 
by the somewhat elaborate concatenation required here. OTOH, 
both M$-DOS and DR-DOS handle it without any problem. 

In searching for a solution, I tried a few file copy and 
concatenation utilities. The one I found that could be made 
to work was 'cat.exe' from the lynx386 distribution (BTW, 
I think this utility originally came from www.delorie.com). 

If you copy this 'cat.exe' into the Arachne directory (or if 
we include it in future distributions), then the following 
line in 'mime.cfg' works with FreeDOS (and other DOSes) : 

file/apm.dgi  >HTM|cat -s $eapm.htp $esystem\\apm.db\\*.htm >$2 

Note that the "-s" option (must be lower case) forces 'cat.exe' 
to treat files as ASCII, so doesn't copy any ^Z characters ... 
(Continue reading)


Gmane