Thread
:
Using ctrl+d to end input
View Single Post
Apr 4th, 2008, 5:06 PM
#
2
glimmy
Programmer
Join Date: May 2005
Location: Minnesota
Posts: 42
Rep Power:
0
Re: Using ctrl+d to end input
I don't know much about Java, but I believe Ctrl-D is not a signal in Unix, but rather the EOF. Instead of trying to detect the keypress, you could try and detect the EOF.
glimmy
View Public Profile
Find More Posts by glimmy