identifying keyboard type


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users identifying keyboard type
# 1  
Old 10-09-2006
identifying keyboard type

hi
I am using a GUI language (based on C/C++) for my application. Now i need to identify the "Again" key in the Sun keyboard. I tried to do this by getting the ascii value (4155)of it . it was fine. but it is clashing with F12, whose ascii is 4155 in normal keyboards. Due to this either one of them is working.
Is there any way of identifyng the keyboard type.(Sun/normal) or distinguishing between the two keys..

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem getting vertical bar with British keyboard layout on US (physical) keyboard

Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it. I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies

2. Solaris

Sun Ultra 5 Cahnge Keyboard Type

Hi, I have a Sun Ultra 5 workstation with Sun Keyboard Type 6. My problem is the workstation recognize the keyboard as Keyboard Type 4 instead of type 6. How can I change the workstation to recognize sun keyboard type 6. Any idea? # kbd -t Type 4 Sun keyboard :wall::wall::wall: (2 Replies)
Discussion started by: fairus
2 Replies

3. Solaris

SUN Type 7 Keyboard, Thinklogical KVM Extender and Mouse - Any ideas?

Hello all rather new to diagnosing hardware issues on SUN platforms (still new to Sol 10 also). Sorry if this is not a great question. I have searched the forums and have not found an answer to my specific issue. Ok, I have a SUN V215 hooked up to a Thinklogical KVM extender. There are 2... (3 Replies)
Discussion started by: caddyjoe77
3 Replies

4. Programming

array type has incomplete element type

Dear colleagues, One of my friend have a problem with c code. While compiling a c program it displays a message like "array type has incomplete element type". Any body can provide a solution for it. Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies

5. Programming

keyboard type

hi I am using a GUI language (based on C/C++) for my application. Now i need to identify the "Again" key in the Sun keyboard. I tried to do this by getting the ascii value (4155)of it . it was fine. but it is clashing with F12, whose ascii is 4155 in normal keyboards. Due to this either one of... (0 Replies)
Discussion started by: nimishm
0 Replies

6. UNIX for Advanced & Expert Users

How can I map Unix keyboard for PC keyboard

A Solaris AXI 440 machine with Solaris 8 version. I have PC users who use an emulation to login to the Solaris server. How can I change the keyboard mapping of the Sun keyboard to fit to the PC keyboard ? Any comment will be appreciated. Thanks (1 Reply)
Discussion started by: simhab
1 Replies
Login or Register to Ask a Question
itemap(1M)																itemap(1M)

NAME
itemap - load an ITE (Internal Terminal Emulator) keyboard mapping. SYNOPSIS
[options] DESCRIPTION
The command loads a keyboard mapping into the ITE (the graphics console driver), or displays ITE keyboard mappings. is run by automati- cally. It is not usually explicitly invoked by the user. Options Dump a keymap to standard output in hexadecimal notation. Load the specified keymap into the kernel mapping table used for keyboards. Interactively prompt for a keyboard mapping. scans the keymap database file for all mapping names beginning with a prefix. Each of these names is displayed, and one must be selected. The name of the keymap database file to be used for input. The default is Load the appropriate keymap. scans the hardware for a keyboard, determines the language of that keyboard, and loads the keymap corresponding to that keyboard. Because cannot determine the language of keyboards, use the option when using with keyboards. Load a specified keyboard map. Once loaded, ITE uses the specified mapping. When loading a keyboard mapping with the option, matches the suffix of the name of the specified keyboard mapping with those found in to determine the keyboard language. This information is used by the ITE to perform ISO 7-to-8 bit conver- sion. Keymap names added by users, via should use the same suffixes as those already used in For example, a French keyboard mapping can be named for consistency with existing and mappings. A mapping called would not match any suffix patterns found by itemap, and would result in incorrect ISO 7-to-8 bit conversion. Load the specified keymap into the kernel mapping table used for keyboards. Perform actions verbosely. If a keymap for a keyboard is loaded, write its name to file_name. EXAMPLES
To automatically install the correct mapping for an keyboard: To explicitly load the mapping for an keyboard: To explicitly load the mapping for a keyboard: To interactively choose a keyboard mapping: To generate a list of the available keyboard mappings: FILES
Keymap database editor System keymap database Contains mapping name configured for keyboards SEE ALSO
ps2(7), termio(7), keymap_ed(1X111). itemap(1M)