Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-10-2006, 06:56 PM   #1
LQ Newbie
Registered: Aug 2001
Location: montreal, canada
Distribution: redhat
Posts: 22

Rep: Reputation: 15
backspace keycode


I am writing a lil program in C. and need to know the backspace keycode. i tried searching on the net, but couldnt find any. all i found was that the ASCII for backspace is 08. but what is the exact keycode for backspace on the keyboard??

thanks in advance.
Old 04-10-2006, 07:14 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
You can use the command ' xev ' and press the backspace key to get the keycode.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
keycode errors devavictrix Linux - Hardware 0 02-17-2006 05:31 PM
find a file like keycode ashley75 Linux - General 1 12-27-2005 01:06 PM
how to use alt+keycode javierj Linux - Newbie 2 03-02-2005 07:37 AM
change keycode that backspace sends on Redhat 7.2/8 AlexJ123 Red Hat 0 01-28-2005 03:54 AM
char chr(int keycode) ??? joakim12 Programming 1 04-22-2004 04:59 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:39 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