We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 50 - use ctrl-alt-fn for VT flipping in fbcon?
Summary: use ctrl-alt-fn for VT flipping in fbcon?
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 04:08 UTC by Ryan C. Gordon
Modified: 2006-03-22 01:44 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan C. Gordon 2006-01-19 04:08:06 UTC
Originally mentioned in Bug #37 ...

"Using ctrl-alt-fn for flipping instead of alt-fn may help a few games that actually use that key combination. Would such a patch be accepted, or should something like that be configurable (environment variable?)"

--ryan.
Comment 1 bartoldeman 2006-01-19 07:13:34 UTC
The convention in Linux is that alt-fn switches consoles in normal text mode programs (but SVGALIB programs also do this); the exceptions are X and DOSEMU (in raw keyboard mode), who use ctrl-alt-fn.

Perhaps the best approach is to use alt-fn by default but use ctrl-alt-fn if the keyboard is grabbed (SDL_GRAB_ON). Or maybe this works the other way around because of the SDL_GRAB_FULLSCREEN dynamics. I'll code up a patch when I have time.
Comment 2 Ryan C. Gordon 2006-01-27 11:23:16 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 Sam Lantinga 2006-03-22 01:44:28 UTC
I've changed CVS code to use Ctrl-Alt-FN to switch vt's