Solved

character trapping

Posted on 1998-08-25
1
238 Views
Last Modified: 2013-12-03
What is the ascii value of up,down,right and left arrow keys?
How to trap these keys using C language.?
What data type could be used for trapping these keys in C?.
0
Comment
Question by:stalin
1 Comment
 
LVL 2

Accepted Solution

by:
JYoungman earned 100 total points
ID: 1637869
1. For an xterm,
ESC [ A
ESC [ B
ESC [ C
ESC [ D
respectively.

2. Use the ncurses library (or SLang, newt or TV).

3. int.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS RDS 3 67
Video Streaming 6 56
Backup & Restore 3 46
looking for a CENTOS ISO to download with x window installed 2 22
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now