alternatives to a JavaScript telnet system
I have a javascript telnet interface, which allows users to telnet to machines booked in to my site. It is a true vt102 emulation, and requires only a browser and JavaScript on the clients machine.
However, it is really a hybrid, and the telnet system really runs on the server with only开发者_如何学Python screen updates and keystrokes passing between the browser and the server.
I was wondering rather than developing a JavaScript telnet system if its possible to come up with some newer ways.
What are some possibilities?
No, I don't think there is a way to implement a telnet client within a browser using only Javascript.
I've seen Java applets that can create telnet sessions. I do not think there is any way to have plain Javascript create a telnet session. You could install a browser plugin, but at that point you might as well install a telnet client. If you restrict your users to Internet Explorer and you can get them to save a file onto their machine, you could use an HTML Application (.hta file) but at that point you are also effectively installing software on to the local machine.
精彩评论