[comp.sys.ibm.pc] 4DOS 3.03 AND WINDOWS 3.0 PROBLEMS

raedgari@uokmax.ecn.uoknor.edu (Robert Allen Edgar II) (04/24/91)

>From munnari.oz.au!bruce!trlluna!brahma.trl.oz.au!pcampb Tue Apr 23 11:35:59 CDT 1991
>From: pcampb@brahma.trl.oz.au (Peter Campbell)
>Newsgroups: comp.windows.ms,comp.sys.ibm.pc
>Subject: Re: 4DOS 3.03 AND WINDOWS 3.0 PROBLEMS
>Sender: news@trlluna.trl.oz
>Organization: Telecom Research Labs., Melbourne, Australia

>>     My config.sys file contains the line :
>>          SHELL=C:\4DOS.COM /P /E:512
>>     My autoexec.bat file contains the line :
>>          SET COMSPEC=C:\4DOS.COM

>>1.  While running a communications program which is minimized I get a
>>    warning when I try to run a non-windows application at the same
>>    time.
....[text deleted].....
>>2.  The other problem is that it seems I can't run a non-windows app. in
>>    a window as I could before installing 4dos.  Alt+Enter doesn't seem
>>    to do anything when 4dos is initialized before windows.  Is there
....[text deleted].....

As I found out through E-mail, the above problems were caused by 4dos
taking up memory that my windows wanted to use.  This made windows run
in standard mode.  There are no problems if windows is running in 
enhanced mode.

>Well, Bob, I've been having very similar problems since I changed 3.02a
>into 3.03.  The problems occur when I have one of two setups.  The first
....[text deleted].....
>So, my suggestion is to IGNORE THE COMMENT ABOUT PUTTING 
	set 4DSHELL=/v
>in your autoexec.bat file, REMOVE THE
	set COMSPEC=4dos.com
>from here as well, and if you haven't done so already put the "/v"
>switch in the SHELL command in your config.sys file.

>Has anyone else had this problem?  If so can you work out why it
>disappears when you EITHER remove the 4DSHELL line OR increase the
>environment size (or both)?

Peter,
1.-
I found two solutions, once I was informed that I was running in standard
mode, I told 4dos to run in memory resident mode (no swapping with extended
memory).  This fixed the problem.

2.-
If you want 4dos to use extended/expanded memory, which it does automatically,
you can force windows to come up in enhanced mode.  This lets 4dos use
extended/expanded memory when you exit windows and windows to operate
in enhanced mode when you call up windows using the forcing flag.
This suggestion was given to me via E-mail.

Below are the lines which I put in my autoexec.bat and config.sys files
to make 4dos and windows run in either mode 1 or mode 2.

1.-
config.sys

      SHELL=C:\4DOS.COM /P /E:512 /S:N

autoexec.bat

      SET COMSPEC=C:\4DOS.COM 

2.-
config.sys

      SHELL=C:\4DOS.COM /P /E:512 

autoexec.bat

      SET COMSPEC=C:\4DOS.COM
      
      CALL WIN /3 

Both of the above seem to work, it just depends on what mode you want
4dos to run in.
I did not try variations with environment size, it might be an easier solution.

>Also, could someone outside of Australia (e.g. you, Bob) please do a
>follow-up article on this or else post me email saying that they have
>seen this article, as we have been having trouble with sending news
>articles, and I don't know if it is still happening.  If I haven't had
>any replies/follow-ups within a week I'll try sending this article
>again.

>Peter K. Campbell
>p.campbell@trl.oz.au

>My opinions are my own, so don't sue.

This article may be hard to follow, it is rather disorganized.
Any questions may be either posted or E-mailed to the address below.

Bob

  /////////////////////////////////////////////////////////////////////////   
  //   Yes there are two paths you can |  And in the end, the love you   //
  //   go by, but in the long run,     |  take is equal to the love you  //
  //   you can still change the road   |  make.         --The Beatles    //
  //   you're on.     --Led Zepplin    |                                 //
  /////////////////////////////////////////////////////////////////////////
  //       Robert A. Edgar II          |  raedgari@uokmax.ecn.uoknor.edu //
  /////////////////////////////////////////////////////////////////////////