Date: Thu, 20 Jun 2002 02:47:01 -0400 From: Dylan Carlson <absinthe@pobox.com> To: freebsd-java@FreeBSD.ORG Subject: stdin/console text input handling Message-ID: <200206200247.01180.absinthe@pobox.com>
next in thread | raw e-mail | index | archive | help
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, -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206200247.01180.absinthe>