Commit graph

92 commits

Author SHA1 Message Date
Duncan Ferguson
d4733ce0d3 Fix behaviour when no cluster command defined
Also tidyup output to 'cssh -L' when no external clusters defined
2014-08-10 10:36:22 +01:00
Duncan Ferguson
05554f1a1f Fix pod coverage test 2014-07-09 20:25:42 +01:00
Duncan Ferguson
d424b59228 Merge branch 'getopt' 2014-07-07 20:30:15 +01:00
Duncan Ferguson
ee9ec5a366 Additional host menu options
Add in 'Set all active' and 'Set half active' options.  Thanks to Andrew Stevenson
2014-07-07 20:22:32 +01:00
Duncan Ferguson
e7694e836e Correct version number 2014-07-05 23:44:16 +01:00
Duncan Ferguson
085803c328 List external clusters
List on command line (cssh -L) and in 'add host' dialogue in GUI
2014-07-05 20:26:44 +01:00
Duncan Ferguson
c6747288d5 Improve test coverage 2014-07-04 21:41:52 +01:00
Duncan Ferguson
3e2392e9b6 Improve test coverage 2014-07-02 22:39:36 +01:00
Duncan Ferguson
858112c072 Additional pod docs 2014-06-29 12:49:37 +01:00
Duncan Ferguson
8a445a32ba Perltidy -pbp 2014-06-28 11:40:00 +01:00
Duncan Ferguson
977ae78c6f Remove references to old options variables 2014-06-28 11:39:28 +01:00
Duncan Ferguson
dbfa2733fd Move auto close and show history option processing into module 2014-06-27 18:17:22 +01:00
Duncan Ferguson
3416ab1288 Fix option name 2014-06-25 18:12:15 +01:00
Duncan Ferguson
2f9779d8f5 Move some post-processing option handling into the getopt module 2014-06-22 14:42:21 +01:00
Duncan Ferguson
36d100d62d Finish conversion from logmsg to ->debug 2014-06-21 08:30:23 +01:00
Duncan Ferguson
97884dd03e Start using config provided in getopts module 2014-06-20 15:16:41 +01:00
Andrew Stevenson
666a1c0306 Enable "set half inactive" and "set all active"
Adds "set half inactive" and "set all active" menu commands.

When using a large number of systems sometimes you need to avoid running
a command on all simultaneously (e.g. to avoid resource limits or
connection throttling). These commands allow you to enter the command on
all systems, disable half, hit return to actually execute the command,
then use the pre-existing toggle active state option and hit return for
the other half. To finsih you can use "set all active" to get back to
where you started.
2014-06-20 09:53:38 +00:00
Duncan Ferguson
1edf8088f9 Move action option into the getopt module 2014-06-07 12:26:58 +01:00
Duncan Ferguson
b54863993d Merge branch 'master' of github.com:duncs/clusterssh into getopt 2014-05-17 17:32:23 +01:00
Duncan Ferguson
31d2d6dd07 Initial reworking of options code 2014-05-17 17:32:03 +01:00
Duncan Ferguson
61a04ac3d2 Release 4.02_04 2014-05-17 17:17:43 +01:00
Duncan Ferguson
74151fe5e0 Fix 'title' option
Thanks to Barry Roberts
2014-05-15 17:54:43 +01:00
Duncan Ferguson
f8723f2dce Fix use_all_a_records option
Thanks to Simon Fraser for reporting it with a patch
2014-05-13 15:22:18 +01:00
Matt Perry
cfaf930f16 Correct spelling and grammar errors
Corrected several typos, spelling errors, and grammatical errors.
2014-02-17 15:39:20 -08:00
Duncan Ferguson
58bd88a023 Amend 'tag-file' short option to 'r'
This is to avoid an option clash with the cluster file option
2014-01-17 09:31:19 +00:00
Duncan Ferguson
56faa0ac30 Fix 'File->Show History'
Missed an object reference in the original call for showing the window
2014-01-14 11:17:50 +00:00
Duncan Ferguson
3fa50f0b49 Add in config for macro's
Allow for changing macro strings. Also add option in UI to enable/disable macro processing
2014-01-13 18:44:12 +00:00
Duncan Ferguson
583c8bbe53 Fixed the default cluster not being opened
This was due to a method being called in scalar context, which returned incorrect detail

Reported by Aaron C. de Bruyn
2014-01-04 15:07:34 +00:00
Duncan Ferguson
e825bc17ca Fixed "uninitialised errors in hash element" bug 2013-12-31 11:18:46 +00:00
Duncan Ferguson
6aca350f8b Add in key shortcut for local hostname macro
Another useful macro to have - ALT-l
2013-04-21 22:13:54 +01:00
Duncan Ferguson
85a796600a Fixed a bug with 'show history' key shortcut
Fix incorrect method call
2013-04-21 22:09:43 +01:00
Duncan Ferguson
b93253123d Add in key shortcut for username (ALT-u)
Seems a useful shortcut to have
2013-04-21 22:05:17 +01:00
Duncan Ferguson
e9bb9ef34c Fixed macros (%u,%s,%h,%n) multiple replacements 2013-04-20 09:17:20 +01:00
Duncan Ferguson
d7e116e470 Functionality to call external command
Code and tests to call the external command
2013-04-15 21:34:05 +01:00
Duncan Ferguson
f1546a0d7d Resolving tags by external command
Start coding up resolving tags by an external command instead of a cluster or tag file
2013-03-25 13:13:03 +00:00
Duncan Ferguson
6fccd92d6a Bring new 'tag' file into use
/etc/tags and $HOME/.clusterssh/tags is now used

Refacter some code to make it clearer and update docs for new options
2013-03-19 21:06:00 +00:00
Duncan Ferguson
b2ba4daa46 Start of tags file handling
Refactor file loading code into one place since it should all work in a similar way.

Added in tag functionality.
- Cluster files are: tag host host host host
- Tag files are: host tag tag tag

Yes to add in remainder of code to load in the files automatically
2013-03-16 21:56:56 +00:00
Duncan Ferguson
402f6c34a9 Don't set default user name in configuration file
Setting the default username in the config file will override ssh settings, which is generally not what is wanted.  Show the option in generated config files but commented out.
2013-03-08 07:58:39 +00:00
Duncan Ferguson
83691ee6be New options to not open repeated terminals
In many situations it can be very useful to open multiple terminals to the same host.  In others, it isn't.  Provide for either usage.

Patch from Oliver Meissner
2013-02-27 10:26:05 +00:00
Duncan Ferguson
72e37269fb Fix 'ccon'
Fixed 'ccon' not calling the correct command

Sf bug 3605002
2013-02-26 20:10:01 +00:00
Duncan Ferguson
052ed6ca62 Set WM_CLASS on windows
SourceForge bug ID 3187736

Also run through perltidy
2013-02-15 08:26:41 +00:00
Duncan Ferguson
042780f873 Pastes uses a strange keyboard layout
Patch taken from Debian bug ID #364565
2013-02-14 21:12:40 +00:00
Duncan Ferguson
f264316002 Apply Debian patch for bug ID #57820 2013-02-13 22:18:45 +00:00
Duncan Ferguson
1bcba455c3 Update references to .clusterssh/config
Config file was moved from $HOME/.csshrc to $HOME/.clusterssh/config some time ago but the docs were not fully updated
2013-02-04 17:14:37 +00:00
Duncan Ferguson
a8e68a461b Fix 'autoclose' functionality
Logic wasn't right when defined in the config file and also when used on the command line.
2011-12-15 11:23:28 +00:00
Duncan Ferguson
0f51bb95c3 Add in missing MANIFEST files
Also add in tests to ensure it doesn't happen again
2011-12-09 08:37:23 +00:00
Duncan Ferguson
3c3e145199 Bring option processing back into use 2011-11-25 22:09:33 +00:00
Duncan Ferguson
2b7ec74e6a Add in auto_close functionality
Set whether terminal windows close after given numnber of seconds or wait until input given into terminal windows
2011-11-24 21:49:08 +00:00
Duncan Ferguson
f92c4b22c6 More functionality fixes 2011-11-21 22:39:47 +00:00
Duncan Ferguson
311dbffcc9 Functionality fixes
Start getting previously used functionality working again with the new modules
2011-11-21 22:36:25 +00:00