08-07-2001
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two different UNIX scripts for updating Co-ordinate points which are working fine seperately in HP and SUN environments. But I am trying to write a common UNIX script which is to work in HP and SUN environment.
The following are the scripts i am using
SUN:
#!/bin/ksh
info () {... (6 Replies)
Discussion started by: ramkumar2yk
6 Replies
2. Debian
I would like to work with the Open Look window manager (olwm and XView) on Debian Linux 5.0.0 instead of gnome. I would like to know what happens during startup from the time the user's password is accepted until the window manager is given control and any suggestions that will help get Open Look... (0 Replies)
Discussion started by: snorkack59
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I work noramly with 3/4/5 Terminals (not xterms) open. In the different Terminal I set different tools (software).
Unfortunately I loose easily the overview of all these Terminals. Which setup is in which Terminal?
It would be nice to have a possibility to name Termianls. By the way I work... (4 Replies)
Discussion started by: hooge789
4 Replies
4. Red Hat
Hi,
I'm using fedora 15,
my defualt DE is XFCE I once saw that there is a option in startup DE's that I can select and it was OPENBOX. I just wanted to test it. but after choosing it as my DE here I am. I have just access to terminal, firefox.. what's in my desktop. there is no panel here. I... (0 Replies)
Discussion started by: hoseinit
0 Replies
5. AIX
I configured CDE on AIX server and lauched CDE from desktop using reflection 14.1.
I can lauch xclock with my own id
but when i Su to any other id and try xclock it is giving the follwoing error
X connection to localhost:10.0 broken ( explicit kill or server shutdown).
Please elp on this... (1 Reply)
Discussion started by: firestar
1 Replies
6. Shell Programming and Scripting
Hi there,
Hope the title is sufficiently self explaining.
I have no idea how to start and where to start.
I don't even know what keywords to google for.
I need to build a machine :
based on Debian
without desktop environment
with a quite powerful multi-monitor graphic card
able to... (9 Replies)
Discussion started by: chebarbudo
9 Replies
LEARN ABOUT DEBIAN
mojo::server::cgi
Mojo::Server::CGI(3pm) User Contributed Perl Documentation Mojo::Server::CGI(3pm)
NAME
Mojo::Server::CGI - CGI server
SYNOPSIS
use Mojo::Server::CGI;
my $cgi = Mojo::Server::CGI->new;
$cgi->unsubscribe('request')
$cgi->on(request => sub {
my ($cgi, $tx) = @_;
# Request
my $method = $tx->req->method;
my $path = $tx->req->url->path;
# Response
$tx->res->code(200);
$tx->res->headers->content_type('text/plain');
$tx->res->body("$method request for $path!");
# Resume transaction
$tx->resume;
});
$cgi->run;
DESCRIPTION
Mojo::Server::CGI is a simple and portable implementation of RFC 3875.
See Mojolicious::Guides::Cookbook for more.
EVENTS
Mojo::Server::CGI inherits all events from Mojo::Server.
ATTRIBUTES
Mojo::Server::CGI inherits all attributes from Mojo::Server and implements the following new ones.
"nph"
my $nph = $cgi->nph;
$cgi = $cgi->nph(1);
Activate non parsed header mode.
METHODS
Mojo::Server::CGI inherits all methods from Mojo::Server and implements the following new ones.
"run"
$cgi->run;
Run CGI.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Server::CGI(3pm)