Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-14-2002, 08:12 AM   #1
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
short cuts console

How do i set short cuts in console. for example when i am in console mode and when i press F10 the halt command should get executed
Old 08-14-2002, 04:13 PM   #2
Hans Zarkoff
Registered: Apr 2002
Location: Canada
Distribution: Slackware
Posts: 58

Rep: Reputation: 15
You would set something up in your /etc/inittab.

This is an excerpt from doing a 'man inittab'

The process will be executed when init receives a signal from the keyboard handler that
a special key combination was pressed on the console keyboard.

The documentation for this function is not complete yet; more documentation can be found
in the kbd-x.xx packages (most recent was kbd-0.94 at the time of this writing). Basi-
cally you want to map some keyboard combination to the "KeyboardSignal" action. For
example, to map Alt-Uparrow for this purpose use the following in your keymaps file:

alt keycode 103 = KeyboardSignal

So check out the docs for kbd-0.94 and they'll tell you what to do.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making short cuts in linux?? djadhav Linux - General 1 05-29-2004 01:53 PM
linux key short-cuts (hotkeys) kusum Linux - General 1 01-13-2004 01:59 PM
Can i make desktop/start menu short cuts blop Linux - Newbie 2 10-30-2003 06:27 AM
short cuts rakriege Linux - Newbie 1 10-21-2003 09:44 PM
Terminal short cuts Skiny Linux - Newbie 4 06-27-2003 10:39 AM

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration