From mboxrd@z Thu Jan 1 00:00:00 1970 From: Progga Subject: getch() Date: Thu, 7 Nov 2002 21:35:59 +0600 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <200211072135.59164.abulfazl@juniv.edu> References: <200211071046.24987.abulfazl@juniv.edu> Reply-To: abulfazl@juniv.edu Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <200211071046.24987.abulfazl@juniv.edu> List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hello, Is there any way to get a character without pressing return in a simple console application ( something like getch() of ncurses ) ? It's needed in a test shell for getting the arrow keypresses for using the history list. TIA. Khoda Hafez Progga