From: David Vallner Date: 2006-08-19T07:03:30+09:00 Subject: Re: How to turn off input echo in irb? Jacklty Lam wrote: > I am trying to write a irb console in my java app (Using JTextArea and > Runtime). I got it work nicely, but irb always repeats the user input > after the enter key. That's why I want to disable the input echo. Ah. *puts dumbass hat on* Slight googlage shows me that if you're using Swing, you could as well take the BeanShell (bsh) code, and rip off their JConsole class. Or alternatively, look how fxri integrates with irb. And if you care for personal opinions, I'd put the prompt into a separate JTextField and let the JTextArea show the command echo. David Vallner