Index

This file was automatically generated from http://svn.pugscode.org/pugs/misc/runpugs/lib/Web/Terminal.pod on Thu Jul 12 12:23:24 2007 GMT, revision 16992.

Web::Terminal


NAME

Web::Terminal -- Framework for interactive web terminal

SYNOPSIS

    # client:
    use Web::Terminal::Dispatcher;
    &Web::Terminal::Dispatcher::send(...);

    # server:
    use Web::Terminal::Server;
    &Web::Terminal::Server::run(...);

DESCRIPTION

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.

SEE ALSO

Web::Terminal::Settings, Web::Terminal::Dispatcher, Web::Terminal::Server, Web::Terminal::Server::Session, Web::Terminal::Msg

AUTHOR

Wim Vanderbauwhede <wim.vanderbauwhede@gmail.com>

COPYRIGHT

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.

See http://www.perl.com/perl/misc/Artistic.html