Re: Java Unix Shell "Simulator"
- From: Thomas Weidenfeller <nobody@xxxxxxxxxxxxxxxx>
- Date: Wed, 27 Sep 2006 09:40:16 +0200
andrevcunha@xxxxxxxxx wrote:
I know that have some stuffs to send commands and "read" output, but a
need for something that only unix shell can do, like press the TAB key
to complete the word, etc etc.
You can't in a good general way in Java alone. Java lacks the necessary access to terminal features. E.g. you can't switch standard input to unbuffered character input from within Java. You will have to use native, platform dependent code.
Do you know any thing that can help me?!
Don't do it. Use a real shell.
/Thomas
--
The comp.lang.java.gui FAQ:
http://gd.tuwien.ac.at/faqs/faqs-hierarchy/comp/comp.lang.java.gui/
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
.
- Follow-Ups:
- Re: Java Unix Shell "Simulator"
- From: Oliver Wong
- Re: Java Unix Shell "Simulator"
- References:
- Java Unix Shell "Simulator"
- From: andrevcunha
- Java Unix Shell "Simulator"
- Prev by Date: Re: Help on Socket and URLConnection
- Next by Date: Re: Import Map.class wrong version error
- Previous by thread: Re: Java Unix Shell "Simulator"
- Next by thread: Re: Java Unix Shell "Simulator"
- Index(es):
Relevant Pages
|
|