This file was automatically generated from http://svn.pugscode.org/pugs/misc/runpugs/lib6/Web/Terminal.pod on Thu Jul 12 12:23:25 2007 GMT, revision 16992.
Web::Terminal -- Framework for interactive web terminal
# client:
use Web::Terminal::Dispatcher;
&Web::Terminal::Dispatcher::send(...);
# server:
use Web::Terminal::Server;
&Web::Terminal::Server::run(...);
Web::Terminal is a framework to build web interfaces for interactive (and
non-interactive) command-line programs.
Because a web interface is inherently stateless, Web::Terminal has a
client/server architecture. The client interface (send from Dispatcher.pm) is
typically called from a CGI script. The only state information to be
maintained between the web client and CGI script is the session id string.
The server (provided by Server.pm) runs totally separately from the HTTP server.
Client/server communication is essentially handled by the Msg.pm module,
with the message body serialized using YAML::Syck.
The server creates a new instance of a Session object for every new session
request.
The Session object forks off a process for the terminal application
and uses IO::Pty to communicate with it.
Net::Telnet is used to handle stream processing, errors etc.
Web::Terminal::Settings, Web::Terminal::Dispatcher, Web::Terminal::Server, Web::Terminal::Server::Session, Web::Terminal::Msg
Wim Vanderbauwhede <wim.vanderbauwhede@gmail.com>
Copyright (c) 2006. Wim Vanderbauwhede. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.