Commit graph

239 commits

Author SHA1 Message Date
azenet
3e3ed2c1cc fix missing $self in call to read_ssh_file 2017-03-15 13:17:33 +01:00
azenet
f9c6120477 add support for .ssh/config include directive 2017-03-14 13:43:12 +01:00
Duncan Ferguson
a3e8e221e7 Update version 2017-03-11 08:40:10 +00:00
Duncan Ferguson
4266c2a06e Allow terminal positioning algorithm to be configurable
Previous change "Take into account WM decorations when tiling (Github pull
request #66) (thanks to Andrew Stevenson)" has caused problems on some
systems but improved tiling on others, so make the algorithm configurable
to use the original one (default) or the new style.

To be revisited when all the window handling code is moved into a separate
module
2017-03-07 22:01:27 +00:00
Duncan Ferguson
60d67f911b Fix for perltidy tests 2017-03-04 18:36:44 +00:00
Duncan Ferguson
0fb0ba10c2 Fix more problems with debugging 2017-03-04 11:36:27 +00:00
Duncan Ferguson
be418fa0d0 Correct option used 2017-03-04 11:11:35 +00:00
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
41fe0714b5 Fix a logic bug around --debug option handling
the Base.pm debug method was being overridden within Getopt.pm when all
command line options are turned into accessors.  Since this is done on the
fly there is no compiler warning generated for it.

Also renamed a method in base from 'output' to 'stdout_output' as two objects
had the same method name - Getopt::output and Base::output
2017-03-03 22:52:32 +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
067bab1894 Add in 'unique_servers' into the config file
This was missed previously and should have been there

Github issue #70
2016-10-18 21:23:15 +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
Duncan Ferguson
7822d337f7 Fix typo in docs 2016-09-07 09:11:41 +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
c83e9e785f Use perltidy 2016-05-01 09:45:41 +01:00
Duncan Ferguson
b72b748eff Fix build and test on perl-5.8.9 2016-05-01 09:24:14 +01: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
08adb3766b Fix File::Glob::bsd_glob use on 5.14.4
Perl 5.14.4 did not export bsd_glob - you have to call it from the module explitly.  This makes the code more backwards compatible with perl versions.
2016-04-30 10:22:06 +01:00
Duncan Ferguson
33fa9b9911 Document Range module methods 2016-04-30 09:06:16 +01:00
Duncan Ferguson
8b8a692b6c Rework hostname expansion
Didn't like relying on the bash shell for expansions - instead recoded it to be pure-perl so it is more cross-platform.

Github issue #53
2016-04-29 18:33:50 +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
Andrew
ceda2524cf Add POD docs for expand_filename 2016-03-16 12:56:25 +01:00
Andrew
1c6a709f3a Apply style guidelines 2016-03-16 12:53:15 +01:00
Andrew
6b752e583b Expand ~ and $HOME when looking for files 2016-03-08 18:43:59 +01:00
Duncan Ferguson
b330457f99 Add in bash expansions on hostnames
Allow hostnames to be expanded using bash where a { is in the host name definition

Github issue #53
2016-02-13 08:48:20 +00:00
Duncan Ferguson
c5c2c4fc0e Fix option and configuration for 'extra_tag_file'
Option was documented but did not work correctly.

Github issue #51
2016-01-23 17:02:52 +00:00
Duncan Ferguson
7e55006acd Merge branch 'master' of github.com:duncs/clusterssh 2015-12-07 16:32:50 +00:00
tony mancill
41162764c2 correct typo in manpage 2015-12-03 22:17:02 -08: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
96c73a0080 Add in csftp command 2015-11-15 22:17:29 +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
91a2b70b33 Correct typo and perltidy 2015-11-09 23:04:09 +00:00
Duncan Ferguson
1a3d5495d6 Terminal path documentation 2015-11-09 23:00:23 +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