Re: cntrl-alt-f7 on redhat 7.3

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-...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-31-2003
Jeroen Geilman
 
Posts: n/a
Default Re: cntrl-alt-f7 on redhat 7.3

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
Reply With Quote
  #2 (permalink)  
Old 07-31-2003
Gary N.
 
Posts: n/a
Default Re: cntrl-alt-f7 on redhat 7.3

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



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0