1. Full screen in Win95 Dos Window
- Posted by Terry Constant <constant at FLASH.NET>
Jun 05, 1998
-
Last edited Jun 06, 1998
I am running an original version of Win95 with a Diamond Stealth PCI
video card with a couple of megs of memory. When I am in a Dos window I
have an annoying thing happening. The first time I run a Euphoria
program in the Window, the screen pops to full-screen. I can restore the
window and then run as many Euphoria programs as I want without problem.
The going to full-screen only happens the first time a Euphoria program
is run in that Dos window/session.
Consider the following complete file, aTest.ex:
puts(1,"Hello")
This one liner will make a Dos window go into full-screen mode the first
time I run it in a Dos window.
When in a Dos window, I prefer to stay in the window. I have searched
the documentation but could find no answers. Euphoria programs are the
only ones causing this behavior.
1. Is this normal or proper behavior?
2. If not, any ideas on what is causing the behavior and how to correct
it?
--
Terry Constant
constant at flash.net
2. Re: Full screen in Win95 Dos Window
- Posted by Robert Craig <rds at EMAIL.MSN.COM>
Jun 05, 1998
-
Last edited Jun 06, 1998
Terry Constant writes:
> When I am in a Dos window I
> have an annoying thing happening. The first time I run a Euphoria
> program in the Window, the screen pops to full-screen. I can
> restore the window and then run as many Euphoria programs
> as I want without problem.
> The going to full-screen only happens the first time a Euphoria
> program is run in that Dos window/session.
I'm not sure why this happens. It's not something that
Euphoria is doing deliberately. It seems that Win95 in its infinite
wisdom is trying to guess at whether the program
should be run full-screen or in a window.
I investigated this a couple of years ago. I don't
think making a .PIF file for your application
will solve the problem. I believe the closest thing to a
solution is to put the following at the top of your .ex file:
include graphics.e
if graphics_mode(-1) then
end if
This will keep you in a window, but unfortunately
you'll get a lot of annoying screen flicker.
Regards,
Rob Craig
Rapid Deployment Software
3. Re: Full screen in Win95 Dos Window
- Posted by Terry Constant <constant at FLASH.NET>
Jun 05, 1998
-
Last edited Jun 06, 1998
Robert Craig wrote:
>
>
> include graphics.e
> if graphics_mode(-1) then
> end if
>
> This will keep you in a window, but unfortunately
> you'll get a lot of annoying screen flicker.
>
Rob,
Thanks. Several of the applications that I use regularly run as
utilities, almost in the background. The screen popping up got in the
way. A little flickering is not important for these utility
applications. Your suggestion will help much, at least for these.
Since I now have a better idea where to look, I will investigate a
little and if I learn anything, I will report back.
Again, thanks.
--
Terry Constant
constant at flash.net