Commit graph

140 commits

Author SHA1 Message Date
Duncan Ferguson
bc7805ca4c Update copyright year 2017-03-04 11:05:20 +00:00
Duncan Ferguson
4f93b8fa3e Further fix to debugging
Using the wrong sub to check what level of debugging was in use
2017-03-04 09:18:48 +00:00
Duncan Ferguson
7981edecca Fix 'remoteuser@' on reopening closed sessions
Was due to using the wrong attribute from a connection when reopening

Github issue #72
2017-03-04 09:06:25 +00:00
Duncan Ferguson
469897d4c5 Prep for next version 2016-10-18 21:35:53 +01:00
Duncan Ferguson
29762f2868 Make a normal release, not a dev one 2016-10-18 21:24:23 +01:00
Duncan Ferguson
7974687cfb Option to hide console menubar
Add option in the config file to hide the menu (Github issue #69)
2016-09-07 09:25:44 +01:00
Andrew
63b83a176c perltidy fixes 2016-07-12 14:03:37 +02:00
Andrew
b7b7ca70ac Take into account WM decorations when tiling
Not all window managers support this but they won't be any worse
off than they are now.
2016-07-12 13:59:25 +02:00
Duncan Ferguson
ed829083c2 Amend version for next round of work 2016-04-30 13:57:34 +01:00
Duncan Ferguson
ede9868d55 Release 4.07 2016-04-30 11:38:22 +01:00
Duncan Ferguson
00c4766e20 Perltidy after changes 2016-04-08 21:24:22 +01:00
Duncan Ferguson
bce8c79f10 Fix config not being set correctly 2016-04-08 21:17:52 +01:00
Duncan Ferguson
454f30978d Fixed tests on systems where bash is not /bin/bash
Some systems, such as BSD, have bash stored in /usr/local/bin

Remove the assumption that bash is /bin/bash

Github issue #60
2016-04-08 21:00:20 +01:00
Duncan Ferguson
754a7137b6 Release 4.0.6 2016-03-26 08:50:48 +00:00
Duncan Ferguson
1a103722f3 Failure to find terminal binary should not be fatal
This will allow the initial build to complete without issue so that the user can install the appropriate terminal, or set the correct config, after installation.

Warnings will be displayed when the program is used.
2015-12-03 21:58:32 +00:00
Duncan Ferguson
7706fdc45e Amend key_quit from 'Control-q' to 'Alt-q'
This is to remove a long-standing conflict with 'Control-s/Control-q'

Github issue #50
2015-11-26 08:55:18 +00:00
Duncan Ferguson
fb475e27f4 Alter behaviour of --list option
--list now takes optional arg of a tag.  If tag is provided then it will output hosts linked to that tag.  If no tag is provided then list available tags (as now).

Also tied in with --quiet|-Q option.  If -Q provided then 'headers' are not output and data is printed on one line for easier parsing by other scripts.
2015-11-15 22:53:04 +00:00
Duncan Ferguson
54499686bf Perltidied 2015-11-15 22:05:14 +00:00
Duncan Ferguson
e87192db9b Add in --quiet | -Q option
Add new option to reduce output in certain scenarios
2015-11-15 21:59:40 +00:00
Duncan Ferguson
43d4f1d246 Remove 'terminal_chdir' code
Code previously added did not work as intended, so removed as it was unnecessary.

Leave in macro substitution for '--action' though as this resolves Github issue #42.

Rework wording in Changes file
2015-11-15 21:12:10 +00:00
Duncan Ferguson
3f79f1ff54 Workaround for KDE glitch
Passing the epoch time as part of generating an event in KDE appears to cause windows to become unmoveable.  Not sending the epoch time fixes this and does not appear to have any side effects
2015-11-09 23:08:51 +00:00
Duncan Ferguson
0358721c67 Remove commented out code 2015-11-09 23:05:54 +00:00
Duncan Ferguson
ffe6a9d283 Add config to allow terminals to run in given dir
Add in terminal_chdir and terminal_chdir_path so that when terminals start they are run in a specific directory.

Documentation to be added.

Github issue #42
2015-11-09 22:46:02 +00:00
Duncan Ferguson
3fcc001cca Bump version number to 4.04_01 2015-11-09 13:39:16 +00:00
Duncan Ferguson
4157d9f3e2 Release 4.04 2015-11-03 21:18:13 +00:00
Duncan Ferguson
c0f2b8af41 Update copyright year 2015-10-01 18:15:51 +01: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
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
05554f1a1f Fix pod coverage test 2014-07-09 20:25:42 +01:00