Messages in this thread | | | Date | Wed, 25 Aug 1999 23:41:59 -0700 (PDT) | From | mullein <> | Subject | Re: Questions from a kernel hacker wannabe |
| |
The consoles are instances of the getty program (mingetty is the version used in rh 5.2 and suse 6.1) called from /etc/inittab. it shows up in ps ax as /sbin/mingetty ttyX. I don't know how it traps alt+fX, but mingetty source would probably be illuminating as to how userland processes can.
-- "Real time ceased in 70 C.E. with the fall of the temple at Jerusalem. It began again in 1974 C.E. The intervening period was a perfect spurious interpolation aping the creation of the Mind" - P.K. Dick, Valis
On Wed, 25 Aug 1999, Matthew wrote:
> > I've been using Linux for about two years, and I'm a fairly competant C > programmer. It's time for those two worlds to collide. I have a question: > When you hit ALT-F1,2,3,4,5,6 to switch consoles, is that handled by a routine > in the kernel, or an early-loaded userspace program? If it's handled by the > kernel then where? I've rgrep-ed a hole in my disk trying to find it. > The ultimate goal is to add a special ALT-F12 function, so finding the ALT-F? > handler would be very helpfull as an example. > > Thanks, > -- To segfault is human, to blue screen is moronic... ~~~~~~~~~~~~ > Matthew matthew@mattshouse.com http://www.mattshouse.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |