From discussions on irc with someone testing ggi-vgl,
switching between virtual consoles/terminals is not
possible when running a ggi app (admittedly only tested
with ggiterm?).
Grepping the source for this target found no mention of
VGLCheckSwitch, which appears to be the responsible
function in vgl.
This should perhaps be an option for the target, since
this function may impose a performance penalty? Maybe
have two functions, one with and one without, and point
to the relevant one on target init (if the use of this
function can be isolated to sufficiently few functions).
Should probably default to being able to switch
consoles, to avoid unexpected lockups.
I've had a quick look for example usage, but there
doesn't seem to be a *huge* amount around.
See doc page at:
http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=VGLCheckSwitch
Might be worth checking with the author of the
following page, who seems quite into using vgl:
http://lickwid.ath.cx/~tlp/fbsd-console.html
Also, the kgi4bsd project appears to be inserting the
kgi layer under vgl as a first stage (or was...), so
this might be relevant for them:
http://people.freebsd.org/~nsouch/kgi4BSD/devel-notes.html
Also also, this freebsd PR might be relevant, since it
has an example use of the function in question:
http://www.freebsd.org/cgi/query-pr.cgi?pr=48426