Can't chvt when SDL application is running

Hi,
I found that I can’t switch to another console by
ioctl or chvt when there is an SDL application
running. Both ioctl and chvt will loop forever and
never return. Could someone kindly let me know why
this would happen and if there is anyway to solve
this? Thanks.__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Hi!On Mon May 05, 2003 at 08:32:27PM -0700, Chin-chi Liao wrote:

I found that I can’t switch to another console by
ioctl or chvt when there is an SDL application
running. Both ioctl and chvt will loop forever and
never return. Could someone kindly let me know why
this would happen and if there is anyway to solve
this? Thanks.

Do you check the SDL_Event’s?

so long
Thomas


.’’. Obviously we do not want to leave zombies around. - W. R. Stevens : :' : Thomas Krennwallner <djmaecki at ull dot at>. ' 1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446 DAD9 FF58 4E59 67A1 DA7B
`- http://bigfish.ull.at/~djmaecki/

— Thomas Krennwallner wrote:

Hi!

I found that I can’t switch to another console by
ioctl or chvt when there is an SDL application
running. Both ioctl and chvt will loop forever and
never return. Could someone kindly let me know why
this would happen and if there is anyway to solve
this? Thanks.

Do you check the SDL_Event’s?

Yeah but I didn’t find any event being triggered
during chvt’s execution. Ctrl+alt+Fn DOES work, but
chvt or ioctl by other program fails.
This only happens when fbcon driver is used. Others
like svgalib driver has worked just fine. Svgalib
way of SDL is too slow for me, so I have to find some
way to get around this problem under fbcon driver.> On Mon May 05, 2003 at 08:32:27PM -0700, Chin-chi Liao wrote:


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com