1. EC - DOS translator problem

I just noticed something about the Euphoria DOS32 to C translator. The
produced executables, when run, will not stay in windowed mode, instead they
go full screen and I have to hit Alt+Enter to return to windowed mode. Is
there anyway around this? Is it some sort of setting in the compiler
(Watcom) or can I do this from my app?

~Greg

new topic     » topic index » view message » categorize

2. Re: EC - DOS translator problem

Greg Haberek wrote:
> I just noticed something about the Euphoria DOS32 to C translator. The
> produced executables, when run, will not stay in windowed mode, instead they
> go full screen and I have to hit Alt+Enter to return to windowed mode. Is
> there anyway around this? Is it some sort of setting in the compiler
> (Watcom) or can I do this from my app?

This is not specifically a Translator issue.
I believe this happens with the interpreter,
and with certain other DOS programs as well
(unrelated to Euphoria). I think it only happens
the first time you run them in a new DOS window
under 95/98/ME.
I don't recall ever seeing this on Windows XP.
Here's what I wrote 5+ years ago...

> Date:         Wed, 7 Oct 1998 15:42:47 -0400
> From:         Robert Craig <rds at EMAIL.MSN.COM>
> Subject:      Re: DOS box
> 
> John Z. Cannon writes:
>> Is there any way to force EX.EXE to operate within a window?
> 
> The first time you run a Euphoria program in a newly-created
> MS-DOS prompt window, Windows 95, in its infinite wisdom,
> will switch to full-screen. Press Alt-Enter to
> make it a small window again. It should then stay as a small window
> when you run more Euphoria programs.
> 
> This doesn't happen with Windows 3.1. I haven't found a way
> to stop Windows 95 from doing it, but if you put graphics_mode(-1)
> at the beginning of your program it quickly forces it back into a
> small window (from full-screen). You'll probably see some brief
> screen flicker.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: EC - DOS translator problem

I'm writing a console app that I'd like to run in a DOS box. I've decided to
use the WIN32 translator and setsubsys to make a console app, its just
easier.

thanks anyway,
~Greg

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: <EUforum at topica.com>
Sent: Thursday, March 04, 2004 6:52 PM
Subject: RE: EC - DOS translator problem


>
>
> > -----Original Message-----
> > From: Robert Craig [mailto:rds at RapidEuphoria.com]
> > Sent: Friday, 5 March 2004 10:34 AM
> > To: EUforum at topica.com
> > Subject: Re: EC - DOS translator problem
> >
> >
> > Greg Haberek wrote:
> > > I just noticed something about the Euphoria DOS32 to C
> > translator. The
> > > produced executables, when run, will not stay in windowed
> > mode, instead they
> > > go full screen and I have to hit Alt+Enter to return to
> > windowed mode. Is
> > > there anyway around this? Is it some sort of setting in the compiler
> > > (Watcom) or can I do this from my app?
> >
> > This is not specifically a Translator issue.
> > I believe this happens with the interpreter,
> > and with certain other DOS programs as well
> > (unrelated to Euphoria). I think it only happens
> > the first time you run them in a new DOS window
> > under 95/98/ME.
> > I don't recall ever seeing this on Windows XP.
> [snip]
>
> Agreed. This only happens on my ME system and not the Win2K system. Very
> annoying. There is probably a .PIF file that can be created to fix it, but
I
> haven't tried to (yet).
>
> --
> Derek
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu