App-BCVI
view release on metacpan or search on metacpan
for bcvi.
END_POD
);
$class->register_option(
name => 'listener',
alias => 'l',
dispatch_to => 'start_listener',
summary => 'start in listener mode',
description => <<'END_POD'
Start a background listener process. Also generates a new authentication key.
END_POD
);
$class->register_option(
name => 'install',
arg_name => '<hosts>',
dispatch_to => 'install_to_hosts',
summary => 'copy bcvi to named hosts and install aliases',
description => <<'END_POD'
Copy the C<bcvi> script to the C<$HOME/bin> directory on the specified host
bcvi tunnels the details back to sally's workstation which then invokes the
command C<gvim scp://pluto//home/sally/.bashrc>
=item *
the result is that sally gets a responsive GUI editor running on her local
machine, but editing a file on the remote machine
=back
See C<< perldoc App::BCVI >> for more examples and background information.
=head1 OPTIONS
=for BCVI_OPTIONS
=head1 COMMANDS
The following commands can be passed back to the listener process.
=for BCVI_COMMANDS
lib/App/BCVI.pm view on Meta::CPAN
The 'back channel' protocol requires a client and a server - the C<bcvi> script
performs both roles. The server runs on your workstation and is typically
launched by adding a command to your X session startup. For example under
Ubuntu/GNOME you might use the 'System' menu and select C<< Preferences >
Startup Applications >> and then use the 'Add' button to add this command:
bcvi --listener
If you start a listener manually from a shell window you will want to append an
ampersand (C<< & >>) to put the command in the background.
When connecting to a server you will want to use this command to wrap the SSH
command and add the required port forwarding options:
bcvi --wrap-ssh -- hostname
It is probably more convenient to set up an alias so that this happens on every
SSH connection. Use this command to add the appropriate aliases to your bash
startup scripts:
( run in 1.450 second using v1.01-cache-2.11-cpan-d8267643d1d )