Commit graph

229 commits

Author SHA1 Message Date
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
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