On 2004-03-02, Luchezar Georgiev wrote:

> Now you can exit any primary shell that allows that (all I've tried
> but 4DOS do) and specify another one.

Yup. Sometimes, in particular during testing and in embedded system
applications it is very convenient that you can safely EXIT the
primary shell.

I have reported this bug in 4DOS (still in the current build) to JP Software
more than once, but unfortunately they didn't seem to understand that being
able to EXIT the primary shell is a DOS 6.0+ /feature/, that should be
supported by 4DOS as well - it would be trivial to special case this in
their product.

The background: In order to avoid the problem in older versions of DOS (which
did *not* prompt you to enter a new shell name when you were exiting the primary
shell), they implemented some detection code into 4DOS, so that it will usually
(that is, in most common cases) auto-detect if it is loaded as the primary shell
and then insert /P by itself. Admitted, this was a safety feature before
MS-DOS 6.0, PC DOS 6.1 and Novell DOS 7 times. However, today it is a small,
but unnecessary restriction.
Maybe, if more people would report this very problem to JP Software, they would
see some reason to improve their current way of doing things? ...

> This way you can run one program as a shell, exit it,
> run another one, and so on. The old shell name can be automatically
> placed on the command line with F3 and edited with the standard
> editing keys. So the kernel is now more robust that ever!

BTW. DR-DOS 7.02+ has a very similar extra added. If you happen to fall
back to the 'mini-prompt' in the DOS BIOS, it will give you a chance to
enter a new path to a shell, but if you just press ENTER it will retry
to reload the previous one, including the old command line arguments.

Greetings,

 Matthias

-- 
<mailto:[EMAIL PROTECTED]>; <mailto:[EMAIL PROTECTED]>
http://www.uni-bonn.de/~uzs180/mpdokeng.html; http://mpaul.drdos.org

"Programs are poems for computers."



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to