I need to be able to get input without the user pressing enter in java. As far as I can tell this cannot be done without JNI/JNA which I would like to avoid. So I am looking for a small program that could do this for me and then undo it when called again (with different arguments maybe?) It can be in any language (preferably a compiled one), but preferably it could be compiled without MS visual studio because I would rather not install that.
Basically is there a windows equivalent of stty raw
that I could call from Java?