C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-27-2006, 01:40 AM   #1
Just kidding....
 
fnoyan's Avatar
 
Join Date: Jun 2003
Posts: 223
,getting the key without ENTERing

Hi

I want to read the pressed key an the keyboard without a need for an extra CR (ENTER).

Actually I am writing a shell and I add a stack implementation in it. The shell will be able to remember the past commands entered by the user. That's why, if the key pressed by the user is up/down arrow key, I will display the previous command.

Thanks in advice...
fnoyan is offline   Reply With Quote
Old 03-06-2006, 07:22 AM   #2
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,710
http://faq.cprogramming.com/cgi-bin/...&id=1043284385
Down at the end of the FAQ
Salem is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Implementing the Advanced Encryption Standard KONI C Programming 16 11-23-2007 01:48 PM
Virtual keys Arkanos Windows Programming 4 12-12-2005 10:00 AM
Directional Keys - Useing in Console RoD C++ Programming 38 10-06-2002 04:42 PM
FAQ: Directional Keys - Useing in Console RoD FAQ Board 38 10-06-2002 04:42 PM


All times are GMT -6. The time now is 04:03 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22