LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-14-2002, 09:12 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

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, 05:13 PM   #2
Hans Zarkoff
Member
 
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'

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


Reply


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 02:53 PM
linux key short-cuts (hotkeys) kusum Linux - General 1 01-13-2004 02:59 PM
Can i make desktop/start menu short cuts blop Linux - Newbie 2 10-30-2003 07:27 AM
short cuts rakriege Linux - Newbie 1 10-21-2003 10:44 PM
Terminal short cuts Skiny Linux - Newbie 4 06-27-2003 11:39 AM


All times are GMT -5. The time now is 03:16 AM.

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