Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #12851
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Jan Burse <janburse@fastmail.fm> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Making System.in interruptible, how? |
| Date | Sat, 10 Mar 2012 19:30:15 +0100 |
| Organization | albasani.net |
| Lines | 32 |
| Message-ID | <jjg6jo$vd3$1@news.albasani.net> (permalink) |
| References | <ji0937$tcb$1@news.albasani.net> <jjdk1d$unj$1@news.albasani.net> <4f5abac6$0$290$14726298@news.sunsite.dk> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.albasani.net uK3z8wdszGfEJ6TkEDSFGscrtdJepqxsk78aYX4DyMubi/j5v2z3AAj95nlwn9WwfPG8uhP9Hj38lfLRjXgovJ62y35J8w9hTpqKTajgR8J8Gtdp7PLC5A8fIe0oinaR |
| NNTP-Posting-Date | Sat, 10 Mar 2012 18:30:16 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="fOLIpKrGVv2PEV4xlBB4njl31Q9D5bKxYcO/WZJDEI4MtqfRhGUqLe15TujnE42wRHSrxm2tw98VvOUfAMXv5yuZPrEulJafF1XsJwxq6UjlHcqat5Dn/V+JVFXBl/uz"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Firefox/10.0.2 SeaMonkey/2.7.2 |
| In-Reply-To | <4f5abac6$0$290$14726298@news.sunsite.dk> |
| Cancel-Lock | sha1:l8875GxKzasXOpmilUOZH4SRZVY= |
| Xref | csiph.com comp.lang.java.programmer:12851 |
Show key headers only | View raw
Arne Vajhøj schrieb: >> I have finally adopted the ready() solution. I guess that >> if the input stream is redirected to a file, the ready() >> will mostly return true, so that performance is no issue. > > File is not the problem. > > The problem is that it dos not seem to be guaranteed to > work. > > Arne > Problem with Echo ----------------- Yep, doesn't work on Windows 7 / JDK 1.7. Somehow inside cmd.exe the ready does not echo. So I enter a line, done see anything during editing the line, and then when I hit return the line gets read. On Mac OS / JDK 1.7 in the standard terminal and in xterm it works fine. During a ready call, everything I type is echoed, a line can fully be edited, and then when hitting return the line gets read. Damned Now checking linux, and other JDKs. Bye
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Making System.in interruptible, how? Jan Burse <janburse@fastmail.fm> - 2012-03-09 20:01 +0100
Re: Making System.in interruptible, how? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-09 21:21 -0500
Re: Making System.in interruptible, how? Jan Burse <janburse@fastmail.fm> - 2012-03-10 19:30 +0100
Re: Making System.in interruptible, how? Arne Vajhøj <arne@vajhoej.dk> - 2012-03-12 16:18 -0400
Re: Making System.in interruptible, how? Jan Burse <janburse@fastmail.fm> - 2012-03-10 20:30 +0100
csiph-web