SDL, fbdev and chvt

Hi there SDL developers!

I wonder if somebody has a solution for this:

When a SDL app is running in the fb, ALT+F? let you
swith the console but you cannot switch out using
chvt. I mean if SDL app is running in VT5 and you
are in VT1 you can go to VT5 with “chvt 5” but if
you are in VT5 and you execute “chvt 1” in background
or you do system(“chvt 1”) from the SDL app it won’t
work.

I hope out there is some guru who can help me!

Thanks in advance,

  • max