Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

efa(1p) [debian man page]

EFA(1p) 						User Contributed Perl Documentation						   EFA(1p)

NAME
efa - unofficial efa.vrr.de command line client SYNOPSIS
efa --from city stop --to city stop [ additional options ] efa [ options ] from-city from-stop [ via-city via-stop ] to-city to-stop VERSION
version 2.01 DESCRIPTION
efa is a command line client for the <http://efa.vrr.de> web interface. It sends the specified information to the online form and displays the results. It should be noted that efa, although using the web interface of a local transport association, is able to look up connections all over Germany. OPTIONS
--from city stop Departure place --to city stop Arrival place --via city stop Travel via this place In case you want stop to be an address or "point of interest", you can set it to 'addr:something' or 'poi:something'. -t|--time|--depart hh:mm Journey start time -a|--arrive hh:mm Journey end time (overrides --time/--depart) -d|--date dd.mm.[yyyy] Journey date -b|--bike Choose connections allowing to carry a bike -e|--exclude transports Exclude transports (comma separated list). Possible transports: zug, s-bahn, u-bahn, stadtbahn, tram, stadtbus, regionalbus, schnellbus, seilbahn, schiff, ast, sonstige -E|--extended-info Display duration, ticket class and price for each route (if available) -m|--max-change number Print connections with at most number interchanges -P|--prefer type Prefer connections of type: o speed (default) The faster, the better o nowait Prefer connections with less interchanges o nowalk Prefer connections with less walking (at interchanges) -p|--proximity Take stops close to the stop/start into account and possibly use them instead -i|--include type Include connections using trains of type type, where type may be: o local (default) only take local trains ("Verbund-/Nahverkehrslinien"). Slow, but the cheapest method if you're not travelling long distance o ic Local trains + IC o ice All trains (local + IC + ICE) -w|--walk-speed speed Set your walking speed to speed. Accepted values: normal (default), fast, slow -I|--ignore-info [ regex ] Ignore additional information matching regex (default: /Fahrradmitnahme/) If regex is not supplied, removes the default regex (-> nothing will be ignored) --timeout seconds Set timeout for HTTP requests. Default: 60 seconds. --post key=value Add key with value to the HTTP POST request sent to the EFA server. This can be used to use setting efa does not yet cover, like "--post lineRestriction=400" to also show IC and ICE trains. Note that --post will be overridden by the standard efa options, such as --time -v|--version Print version information EXIT STATUS
0 Everything went well 1 Invalid arguments, see error message 2 Network error, unable to send request 3 efa.vrr.de did not return any parsable data 4 efa.vrr.de error: ambiguous input 5 efa.vrr.de error: no connections found 10 Unknown Travel::Routing::DE::VRR error 255 Other internal error CONFIGURATION
None. DEPENDENCIES
This script requires perl 5.10 (or higher) with the following modules: o Class::Accessor o Exception::Class o LWP::UserAgent o XML::LibXML BUGS AND LIMITATIONS
efa cannot handle Unicode in its arguments, use plain ASCII. AUTHOR
Copyright (C) 2009,2010 by Daniel Friesel <derf@derf.homelinux.org> LICENSE
0. You just DO WHAT THE FUCK YOU WANT TO. perl v5.14.2 2012-01-28 EFA(1p)

Check Out this Related Man Page

Mojo::IOLoop::Server(3pm)				User Contributed Perl Documentation				 Mojo::IOLoop::Server(3pm)

NAME
Mojo::IOLoop::Server - Non-blocking TCP server SYNOPSIS
use Mojo::IOLoop::Server; # Create listen socket my $server = Mojo::IOLoop::Server->new; $server->on(accept => sub { my ($server, $handle) = @_; ... }); $server->listen(port => 3000); # Start and stop accepting connections $server->start; $server->stop; DESCRIPTION
Mojo::IOLoop::Server accepts TCP connections for Mojo::IOLoop. EVENTS
Mojo::IOLoop::Server can emit the following events. "accept" $server->on(accept => sub { my ($server, $handle) = @_; ... }); Emitted safely for each accepted connection. ATTRIBUTES
Mojo::IOLoop::Server implements the following attributes. "accepts" my $accepts = $server->accepts; $server = $server->accepts(10); Number of connections to accept at once, defaults to 10. "reactor" my $reactor = $server->reactor; $server = $server->reactor(Mojo::Reactor::Poll->new); Low level event reactor, defaults to the "reactor" attribute value of the global Mojo::IOLoop singleton. METHODS
Mojo::IOLoop::Server inherits all methods from Mojo::EventEmitter and implements the following new ones. "listen" $server->listen(port => 3000); Create a new listen socket. Note that TLS support depends on IO::Socket::SSL and IPv6 support on IO::Socket::INET6. These options are currently available: "address" Local address to listen on, defaults to all. "backlog" Maximum backlog size, defaults to "SOMAXCONN". "port" Port to listen on. "tls" Enable TLS. "tls_ca" Path to TLS certificate authority file. "tls_cert" Path to the TLS cert file, defaults to a built-in test certificate. "tls_key" Path to the TLS key file, defaults to a built-in test key. "generate_port" my $port = $server->generate_port; Find a free TCP port, this is a utility function primarily used for tests. "start" $server->start; Start accepting connections. "stop" $server->stop; Stop accepting connections. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojo::IOLoop::Server(3pm)
Man Page