freedos-user  

Re: [Freedos-user] Reporting two tiny problems

Christian Masloch
Mon, 26 Oct 2009 08:09:27 -0700

> 1) When the CONFIG.SYS menu comes up, no matter how many options the  
> menu has, I can only access the first three. I can move up and down with  
> the arrow keys, but I can go no further down that to the third option.  
> This happened from the moment I first installed it, with the default  
> CONFIG.SYS, but I tried modifying it and the same thing happens

Might be related to the fact that option #4 doesn't work since there's no  
line which uses option #4. If you understand the FDCONFIG.SYS menu  
structure, add some line which does nothing and is executed for all  
options.

> 2) If I'm running FreeCOM (COMMAND.COM) and I run an application with a  
> command line and add a redirection operator, trailing spaces after the  
> command line and before the operator will be passed to the application,  
> often causing it to fail the purpose of the command. For example, if I  
> type "MYPACK myfile.dat > result.txt", I may get a message like "File  
> not found: 'myfile.dat '. Or more common, if I enter "EXTRACT  
> thisfile.pak |more", it may come up with "Invalid file name:  
> 'thisfile.pak '. Extension should be '.pak' or '.zp'. Things like that
>
>    I know I can easily avoid these instances, but in the event that they  
> are easy to fix, it's something.

This behaviour is consistent with MS-DOS COMMAND.COM's. Fix your programs  
to cut any trailing and leading whitespace (tabs and spaces) from the  
command line before using the filename.

Regards,
Christian

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user