Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: read DEL and BACK key from stdin Date: Fri, 09 Dec 2011 10:29:46 -0800 Organization: Canadian Mind Products Lines: 22 Message-ID: <6qk4e7ta53lf0rmtc8jaif24ec5a9613mo@4ax.com> References: Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10630 On Fri, 9 Dec 2011 07:31:39 -0800 (PST), xdevel1999 wrote, quoted or indirectly quoted someone who said : >Is it possible to read DEL and BACKSPACE keys from standard in? I don't think you see anything until the user hits enter. If you want to see things in a keystroke by keystroke way you need some sort of gui TextField or the like where you can intercept the event for each keystroke. The other way to do it is to use C. -- Roedy Green Canadian Mind Products http://mindprod.com For me, the appeal of computer programming is that even though I am quite a klutz, I can still produce something, in a sense perfect, because the computer gives me as many chances as I please to get it right.