I want to control remote terminal through
java program by providing commands to remote screen through java program.
I am able to give textual commands to remote screen using java program as follows:-
session.getOutputStream().write(("find abc.xml").getBytes());
However I want to pass some nontextual commands though java program such as "CTRL + C" or "ESC" keys on keyboard to remote terminal. How can I do this?
Many thanks in advance...
--Pras