>
> Is it possible for the client to access the terminal output at either the
> javascript or java layer?
>
>
>
So, one thing to keep in mind, here, is that the terminal output from SSH
and Telnet is transmitted from guacd to the Guacamole Client as an image,
not as text.  I know it doesn't *seem* like it, particularly since the
client allows you to select text and copy it to the clipboard (and
vice-versa), but if you look at the actual data going back and forth, all
of the screen output, include "text" from the terminal, is image data.  So,
doing anything with it (parsing, etc.) at the JavaScript layer is probably
impractical, if not impossible.

As far as at the Java layer, I believe it's already an image by the time it
hits the Java Servlet part of the client - I believe the process of making
it an image is done by guacd.  I could be wrong about that, I'm less
certain than when it hits the JavaScript portion, but I believe that's a
Guacamole protocol-level thing, and not just a Java Servlet -> JavaScript
Webapp deal.

So, any capture/process of text that coming off the terminal that youd'
want to do would, more than likely, need to be done in guacd.

-Nick

Reply via email to