From owner-freebsd-java Wed Jun 19 23:49:43 2002 Delivered-To: freebsd-java@freebsd.org Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.128.241]) by hub.freebsd.org (Postfix) with ESMTP id 295CB37B406 for ; Wed, 19 Jun 2002 23:49:38 -0700 (PDT) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.3/8.12.3) with ESMTP id g5K6nnmq076611; Thu, 20 Jun 2002 08:49:49 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.3/8.12.3/Submit) id g5K6nmxp076610; Thu, 20 Jun 2002 08:49:48 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: absinthe@pobox.com, freebsd-java@FreeBSD.ORG Subject: Re: stdin/console text input handling Date: Thu, 20 Jun 2002 08:49:48 +0200 X-Mailer: KMail [version 1.4] References: <200206200247.01180.absinthe@pobox.com> In-Reply-To: <200206200247.01180.absinthe@pobox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206200849.48593.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dylan, My best bet is: Look for a Java-based curses implementation. Ernst On Thursday 20 June 2002 08:47, Dylan Carlson wrote: > This is somewhat OT in the context of Java and how it runs on FreeBSD -- > but I'm hoping at least one or two people might offer some good > suggestions. > > I'm writing a console-based application which needs to do a lot of text > input and output via stdin and stdout. java.io.Reader.InputStreamReader > and BufferedReader are completely impractical for reading lots of user > input in varying ways. > > This is also bottlenecking my ability to use Java for a number of other > things; but namely with this current app it's impossible to proceed without > better options. I will eventually need the input to word-wrap at the end > of the screen width, for example. > > People will be using terminal sessions (telnet and ssh) to access this > application primarily, with other interfaces to be created afterwards. > > Am I missing some other bundled classes which have better methods, or can > anyone suggest third-party classes that provide easy methods for handling > stdin/console input? > > TIA, -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message