in reply to getting input without submit

You can use a full-fledged SSH client directly in a browser through applets. This might be a heck of a lot easier than trying to fake it through Perl/CGI, not to mention the issues raised by graff. Here's one that I've seen around.