App-ClusterSSH
view release on metacpan or search on metacpan
the pseudo-random color. If terminal_colorize is "zero", then
this option has no effect.
terminal_size = 80x24
Initial size of terminals to use. NOTE: the number of lines (24)
will be decreased when resizing terminals for tiling, not the
number of characters (80).
terminal_title_opt = -T
Option used with "terminal" to set the title of the window
terminal_allow_send_events = -xrm '*.VT100.allowSendEvents:true'
Option required by the terminal to allow XSendEvents to be
received
title = cssh
Title of windows to use for both the console and terminals.
unmap_on_redraw = no
Tell Tk to use the UnmapWindow request before redrawing terminal
windows. This defaults to "no" as it causes some problems with
the FVWM window manager. If you are experiencing problems with
redraws, you can set it to "yes" to allow the window to be
unmapped before it is repositioned.
use_all_a_records = 0
If a hostname resolves to multiple IP addresses, set to 1 to
connect to all of them, not just the first one found. See also
"--use-all-a-records"}
use_hotkeys = 1
Setting to 0 will disable all hotkeys.
use_natural_sort = 0
Windows will normally sort in alphabetical order, i.e.: host1,
host11, host2. Setting to this 1 will change the sort order,
i.e.: host1, host2, host11. NOTE: You must have the perl module
Sort::Naturally installed.
user = $LOGNAME
Sets the default user for running commands on clients.
window_tiling = 1
Perform window tiling (set to 0 to disable)
window_tiling_direction = right
Direction to tile windows, where "right" means starting top left
and moving right and then down, and anything else means starting
bottom right and moving left and then up
NOTE: The key shortcut modifiers must be in the form "Control",
"Alt" or "Shift", e.g. with the first letter capitalised and the
rest lower case. Keys may also be disabled individually by setting
to the word "null".
$HOME/.clusterssh/send_menu
This (optional) file contains items to populate the send menu. The
default entry could be written as:
<send_menu>
<menu title="Use Macros">
<toggle/>
<accelerator>ALT-p</accelerator>
</menu>
<menu title="Remote Hostname">
<command>%s</command>
<accelerator>ALT-n</accelerator>
</menu>
<menu title="Local Hostname">
<command>%s</command>
<accelerator>ALT-l</accelerator>
</menu>
<menu title="Username">
<command>%u</command>
<accelerator>ALT-u</accelerator>
</menu>
<menu title="Test Text">
<command>echo "ClusterSSH Version: %v%n</command>
</menu>
</send_menu>
Submenus can also be specified as follows:
<send_menu>
<menu title="Default Entries">
<detach>yes</detach>
<menu title="Hostname">
<command>%s</command>
<accelerator>ALT-n</accelerator>
</menu>
</menu>
</send_menu>
Caveats:
There is currently no strict format checking of this file.
The format of the file may change in the future
If the file exists, the default entry (Hostname) is not added
The following replacement macros are available (note: these can be
changed in the configuration file):
%s Hostname part of the specific connection string to each client,
minus any username or port
%u Username part of the connection string to each client
%h Hostname of server where cssh is being run from
%n "RETURN" code
NOTE: requires XML::Simple to be installed
KNOWN BUGS
If you have any ideas about how to fix the below bugs, please get in
touch and/or provide a patch.
* Swapping virtual desktops can cause a redraw of all the terminal
windows. This is due to a lack of distinction within Tk between
switching desktops and minimising/maximising windows. Until Tk can
tell the difference between the two events, there is no fix (apart
( run in 0.550 second using v1.01-cache-2.11-cpan-39bf76dae61 )