Thanks Paul.

I asked AI Gemini and he answered me this:

Question:

 Is there any utility in freedos that allows me to run two programs at the
same time?

Gemini answers:

 Yes, there are some utilities in FreeDOS that allow you to run two
programs at the same time:

 1. TCC:

 It is a command-line shell that allows you to execute multiple commands in
a single line.

 You can use TCC to run two programs at the same time using the & command.

 For example, to run the calc program and the notepad program at the same
time, you would run the following command:

 calc & notepad

 The & command tells TCC to run the following command in the background.

 2. 4DOS:

 It is a DOS shell that allows you to run multiple programs in a single
session.

 You can use 4DOS to run two programs at the same time using the START
command.

 For example, to run the calc program and the notepad program at the same
time, you would run the following command:

 START calc START notepad

 The START command starts a new program in a separate window.

 3. W4DOS:

 It is a graphical desktop environment for FreeDOS.

 You can use W4DOS to run two programs at the same time by opening two
different windows.

 To open a new window, click the "Start" button and then select "Run."

 In the "Run" dialog box, type the name of the program you want to run, and
then click "OK."

 Tool choice:

 The best tool for you will depend on your needs and preferences.

 If you need a simple way to run two programs at the same time, TCC is a
good option.

 If you need a more flexible way to run two programs at the same time, 4DOS
is a good option.

 If you want to run two programs at the same time in a graphical
environment, W4DOS is a good option.

----------

Does anyone have experience with these utilities?  Which is the simplest?

Thanks and regards,

Ramón Riera

El mié., 10 abr. 2024 13:21, Paul Dufresne <dufres...@zoho.com> escribió:

> ---- Le mer., 10 avr. 2024 06:33:38 -0400 Ramon Riera Marès via
> Freedos-user  a écrit ----
>
> > First of all, thanks to all the Freedos developers and collaborators.  I
> want to know if there is any way or utility in Freedos to have
> >  two applications running, for example an outliner and a text editor,
> and be able to switch from one to the other without having to
> > exit the current application.  Thanks and regards.  Ramon Riera.
>
> It is possible, but very hard to write, because DOS is not reentrant:
> https://en.wikipedia.org/wiki/Reentrancy_(computing)
>
> DOS have a call to quit a program, but leaving it in memory.... Terminate
> Stay Resident (TSR).
> But such programs must respect special rules to avoid DOS to crash.
>
> There was a program, DESKVIEW, that was making an OS that was reentrant...
> as far as I understand,
> that was running over a DOS. Making it easy to have more than one program
> running at a time.
> See https://en.wikipedia.org/wiki/DESQview
>
> I don't know how hard it would be to make FreeDOS reentrant... or what was
> the recent infos as
> I am mostly basing the info I give here to what I learns in the nineties.
>
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to