View Single Post
Old 12-02-2010, 09:54 AM   #3
lrizzo
Member
lrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tonguelrizzo can tie a knot in a cherry stem with his or her tongue
 
Posts: 23
Karma: 22222
Join Date: Oct 2010
Device: kindle3
Quote:
Originally Posted by h1uke View Post
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

Last edited by lrizzo; 12-02-2010 at 09:56 AM.
lrizzo is offline   Reply With Quote