This is a discussion on Re: cntrl-alt-f7 on redhat 7.3 within the Linux General forums, part of the Linux Forums category; In article <bg9hbl$kv4$1@news01.intel.com>, gary.newell@intel.com says... > Hi - > > cntrl-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <bg9hbl$kv4$1@news01.intel.com>, gary.newell@intel.com
says... > Hi - > > cntrl-alt-f1 and cntrl-alt-f7 switches between console mode and x-window > mode. Not exactly - it switches between vc#1 and vc#7. > When I press cntrl-alt-f7, how do I determine which programs/daemons > get run in response to the key stroke? Easy: none whatsoever. This functionality is built into the kernel, and has nothing specifically to do with X windows or any other program. According to the lore[1], it was actually one of the first things Linus got working... > How/where does that key stroke ultimately get dispatched to? Ah...one of the hard ones. When the keystroke isn't trapped (watched for) by any program, and it generally isn't, then the kernel just plonks you into the vc you requested by that keystroke, and no program ever gets to "see" the vc switch. You can see this happen when you are getting lots of console errors and you switch from one vc to another - the display of errors will just keep on running on the new vc like nothing happened. > I'm trying to track down a problem I'm having with redhat 7.3 (fresh ISO > build) switching between console mode and x-window mode. The system comes > up in x-window mode and works just fine, but if I switch to console mode, I > don't appear to be able to return to x-window mode. I get a blank screen. So maybe X traps the keystroke and it received the switch FROM the vc and did something you did not expect ? It can take a second or 2 before the switch is completed when going from X to console or vice versa... -- Jeroen Still can't figure out Gravity 2.5 |
|
|||
|
Thanks! Interesting information!
"Jeroen Geilman" <maybe_someday@NEPadaptr.nl> wrote in message news:MPG.1993a5237e38f95c9896a0@news.xs4all.nl... > In article <bg9hbl$kv4$1@news01.intel.com>, gary.newell@intel.com > says... > > Hi - > > > > cntrl-alt-f1 and cntrl-alt-f7 switches between console mode and x-window > > mode. > > Not exactly - it switches between vc#1 and vc#7. > > > When I press cntrl-alt-f7, how do I determine which programs/daemons > > get run in response to the key stroke? > > Easy: none whatsoever. > > This functionality is built into the kernel, and has nothing > specifically to do with X windows or any other program. > > According to the lore[1], it was actually one of the first things Linus > got working... > > > How/where does that key stroke ultimately get dispatched to? > > Ah...one of the hard ones. > > When the keystroke isn't trapped (watched for) by any program, and it > generally isn't, then the kernel just plonks you into the vc you > requested by that keystroke, and no program ever gets to "see" the vc > switch. > > You can see this happen when you are getting lots of console errors and > you switch from one vc to another - the display of errors will just keep > on running on the new vc like nothing happened. > > > I'm trying to track down a problem I'm having with redhat 7.3 (fresh ISO > > build) switching between console mode and x-window mode. The system comes > > up in x-window mode and works just fine, but if I switch to console mode, I > > don't appear to be able to return to x-window mode. I get a blank screen. > > So maybe X traps the keystroke and it received the switch FROM the vc > and did something you did not expect ? > > It can take a second or 2 before the switch is completed when going from > X to console or vice versa... > > -- > Jeroen > > Still can't figure out Gravity 2.5 |