Re: Interesting Issue with GUI shells

new topic     » goto parent     » topic index » view thread      » older message » newer message

Travis Beaty wrote:
> 
> Here's where the weird stuff comes in.  If I login in to a non-GUI terminal 
> and execute the application, everything works as expected.  However, if I run 
> the application in either Konsole or XTerm, the call to system_exec() 
> apparently is causing Euphoria to switch back and forth between the ncurses 
> screen (?) and the normal command line prompt.  I performed a stress test by 
> making the call to link the object file 10 times, and I ended up with a 
> horrible flicker effect as the display kept switching back and forth between 
> the two modes.  This made my progress reports unreadable, and honestly, 
> caused it to look like the application was blowing up.
> 
> The flickering doesn't occur when I use 0 with the graphics mode parameter of 
> system_exec().  But then, it shows just the command line during the entire 
> build process, and only shows my progress information after the build is 
> finished.

> 
> If anyone has run up against this before and has a fix, I would appreciate the
>
> assistance.

Basically, you need to wrap the linux printf calls.  Here's a link to
a UBoard thread where this was discussed, plus some example code:

http://uboard.proboards32.com/index.cgi?board=linuxgeneral&action=display&num=1113145524

I've been saying to myself that I should wrap the basic I/O stuff for 
a linux console, but haven't gotten around to it yet...Maybe a good opportunity
for someone to get some MicroBucks? ;)

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu