Quote:
Originally Posted by h1uke
it is not clear if you are still using the browser/javascript.
If so, why can't your application simply talk to the telnet daemon
which comes with usbNetwork package?
A practical alternative for that may be mimicking the code from telnetd which
establishes a link to system shell.
|
the browser is not involved. This application grabs keypresses in the same way as launchpad, and does the rendering using /dev/fb
It is trivial to disable the http server part if one does not want it. i just included it in the package as the code that does the virtual screen emulation is the same used in the ajaxterm clone.
There is no point in talking to the telnet daemon when you can talk directly to the pseudo-tty (see function term_new() in terminal.c).
The telnet daemon gives you nothing more than that, and instead adds another layer of encoding on the input and output streams.
cheers
luigi