Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000701c22cd1$af667670$b72e3c3e@stirling.gcplc.com> From: "Keith Starsmeare" To: Subject: Java Command History in rxvt Date: Tue, 16 Jul 2002 15:04:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 When I run java in a DOS box I can use the cursor keys to access previous commands that I've entered. Is there a way to get this to work in a Cygwin rxvt window?. Here's an example java program if you want to try it: CmdLine.java : import java.io.*; public class CmdLine { InputStreamReader reader; StreamTokenizer tokenStream; public CmdLine() { reader = new InputStreamReader(System.in); tokenStream = new StreamTokenizer(new BufferedReader(reader)); try { while (tokenStream.nextToken() != StreamTokenizer.TT_EOF); } catch (IOException ioe) {} } public static void main(String[] args) { CmdLine cmd = new CmdLine(); } } Keith -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/