[146] in java-interest
Re: System.out/in
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Mon May 29 21:56:37 1995
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
Date: Mon, 29 May 1995 18:48:27 -0800 (PDT)
To: java-interest@java.Eng.Sun.COM
Hi Peppar,
> Where is System.out/in documented and how do I get an unbuffered stdin????
Applets can't do it but a normal Java program can always create a fresh
FileInputStream given a file descriptor:
InputStream in = new FileInputStream(0);
Don't use System.in at the same time as this new InputStream!
Have fun,
Arthur van Hoff (avh@eng.sun.com)
http://java.sun.com/people/avh/
Sun Microsystems Inc, M/S UPAL02-301,
100 Hamilton Avenue, Palo Alto CA 94301, USA
Tel: +1 415 473 7242, Fax: +1 415 473 7104
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com