Commit graph

239 commits

Author SHA1 Message Date
Duncan Ferguson
5e8f1b1166 Perltidy to pass the test 2015-11-03 20:59:18 +00:00
Duncan Ferguson
c0f2b8af41 Update copyright year 2015-10-01 18:15:51 +01:00
Duncan Ferguson
1d492e3ba2 Minor doc corrections 2015-10-01 18:15:01 +01:00
Duncan Ferguson
94d3bca20e Merge pull request #43 from mperry2/move_send_menu
Move send menu file to $HOME/.clusterssh directory
2015-10-01 07:32:55 +01:00
Duncan Ferguson
e1df115736 Add docs for use_natural_sort 2015-09-30 18:03:05 +01:00
Duncan Ferguson
efcc12e1d5 Remove unnecessary code 2015-09-30 17:37:24 +01:00
Matt Perry
dda4297711 Move send menu file to $HOME/.clusterssh directory
Move send menu file from $HOME/.csshrc_send_menu to $HOME/.clusterssh
directory.
2015-09-26 09:25:52 -07:00
Duncan Ferguson
153709b220 Fix ccon and ctel not working correctly
Prevent ssh options being applied on non-ssh connections.  Github issue #35
2015-09-21 22:19:22 +01:00
Duncan Ferguson
5fad534ef0 Fix perltidy tests 2015-09-21 21:07:03 +01:00
Duncan Ferguson
56d5a163df Merge branch 'master' of github.com:duncs/clusterssh 2015-05-01 20:42:06 +01:00
Duncan Ferguson
264391660d Include bash completion script in the distribution
The bash completion script was contributed some time ago by Aaron Spettl but never included.  Time to correct that...

Github issue #29
2015-05-01 20:40:06 +01:00
Andrew Stevenson
ed49237f52 Support natural sorting for the order of hosts
Both window order and order in the hosts menu

Fixes #24
2015-03-23 13:10:35 +01:00
Andrew Stevenson
4b02448f0a Don't import Carp twice 2015-03-19 17:58:01 +01:00
Andrew
576ace2e3d Allow re-adding of previously closed sessions
Keep track of which sessions are closed and allow the user to re-add
them in one go. Useful in environments with a lot of network problems.
2015-03-19 17:53:36 +01:00
Andrew
f23821af6f Don't hardcode the number of static menu entries 2015-03-19 17:50:09 +01:00
Duncan Ferguson
c53eedaf1c Update version and changes file with patch from Andrew Stevenson 2015-01-31 10:47:30 +00:00
Andrew Stevenson
4045bb467b logmsg -> $self->debug
logmsg is no more

Fixes #20
2015-01-21 17:48:37 +00:00
Duncan Ferguson
fb4d991053 Fix some tests failures
Fix failures picked up via cpantesters
- Bump version
- Remove accidental duplicate option in test file
- Add TODO to test for duplicate options correctly
- Fix test error when @ARGV is set to undef when this should never happen
2014-12-20 18:05:08 +00:00
Duncan Ferguson
457c3e8e1c Version 4.03_04 release changes 2014-12-12 17:31:14 +00:00
Duncan Ferguson
9b21aaaa61 Fix case when the terminal isn't installed
Fix the case when the configured terminal isn't actually on the system.  Alert for the problem rather than attempt to continue and hang.
2014-12-12 17:18:19 +00:00
Duncan Ferguson
97ec81692a Fix ordering; config needs clusters 2014-12-12 17:15:43 +00:00
Duncan Ferguson
d684b077fd Rearrange initialisation order 2014-12-12 10:25:03 +00:00
Duncan Ferguson
02942e7e24 Reduce unnecessary output
Don't show what windows are going to be opened if there are none.
2014-11-25 20:25:04 +00:00
Duncan Ferguson
12587955b2 Remove history when window closed
Thanks for patch to Bill Rushmore
2014-09-28 09:01:31 +01:00
Duncan Ferguson
f8ed9da353 Ensure code is run through 'perltidy -pbp -nst -nse' 2014-09-19 23:33:08 +01:00
Duncan Ferguson
d9446aa28a Fix Pod::Coverage test 2014-09-19 23:18:22 +01:00
Duncan Ferguson
9962aa08f8 Merge branch 'random' of https://github.com/cqexbesd/clusterssh into cqexbesd-random 2014-09-19 23:06:46 +01:00
Duncan Ferguson
8aaea928d7 Ensure ssh_args in config file is honored
Because the default value is defined for --options parameter, the config file value was always overwritten

Only use --options if config file option is not defined and --options is not the default value
2014-09-19 23:01:41 +01:00
Duncan Ferguson
a93b3f3cac Force tests to have English locale
Important when user has something else set else tests can fail

Github issue: 10

Thanks to Emanuele Tomasi
2014-09-19 22:33:33 +01:00
Duncan Ferguson
f88353d3dd Fix behaviour when no cluster command defined
Also tidyup output to 'cssh -L' when no external clusters defined
2014-08-10 10:37:34 +01:00
Andrew Stevenson
bc45e0cac7 Add "send random number" menu option
Add a new option in the send menu to send a random integer from 0 to
1023 to each host. This can be used to spread load across resources
or delay the activation of commands to spread load across time.

e.g. sleep $(( [random] % 10)) &&
		fetch http://srv-$(( [random] % 5 )).small.server/file
2014-07-24 16:09:44 +00:00
Duncan Ferguson
72668c128f Fix printing of correct version with '-v' 2014-07-09 20:28:52 +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
2e74fd5d3b Merge branch 'master' of github.com:duncs/clusterssh 2014-07-05 23:32:04 +01:00
Duncan Ferguson
d7d9f83b15 Correct ctel pod
Amend references to ssh in the pod to be either the comms binary (telnet, rsh) or more generic wording
2014-07-05 23:26:06 +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
0853d8fee6 Alternative IPv6 address port
Allow for parsing ports from 'xxxx:xxxx:xxxx:xxxx/pppp' style IPv6 addresses
2014-07-02 18:48:06 +01:00
Duncan Ferguson
858112c072 Additional pod docs 2014-06-29 12:49:37 +01:00
Duncan Ferguson
a0b4514176 Perltidy -pbp 2014-06-28 11:40:16 +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
3987586e3f Move tiling and auto quit option processing into module 2014-06-27 18:18:36 +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
3cffd71b2f Swap around some of the short options 2014-06-22 14:49:45 +01:00