Commit graph

160 commits

Author SHA1 Message Date
Duncan Ferguson
2e0f63360b Update version 2018-03-09 08:51:35 +00:00
Duncan Ferguson
5b827fd163 Minor release 4.13.1 for perltidy test fix 2018-03-05 10:09:38 +00:00
Duncan Ferguson
651c756f55 Fix tests for updated Perl::Tidy 2018-03-03 15:29:13 +00:00
Duncan Ferguson
1c03f947bf Perltidy 2017-12-24 12:26:23 +00:00
Duncan Ferguson
c50b6fff14 Object configured console window position
The console position is always put at the top left corner rather than
the configured position due to the combination of:

    `$mw->update;$mw->withdraw`

Only withdraw the window if it is not already withdrawn.

Thanks to eserte for the fix.

Github issue #100
2017-12-24 12:09:40 +00:00
Duncan Ferguson
4a72b1cab3 Ensure ssh_args is unset if config file line is empty
If the config file has 'ssh_args=', ensure the options are removed and
not set as the default specified in the getopts code
2017-12-23 22:45:28 +00:00
Duncan Ferguson
37ce2b8a0d v4.12; fix undefined value error 2017-12-23 12:46:48 +00:00
Duncan Ferguson
d8addf58d1 Release 4.11 2017-12-22 12:17:40 +00:00
Duncan Ferguson
0dbf7c6808 Add in external_command_pipe
Allow for specific commands to be passed into cssh via a command pipe.
This will allow for adding in new sessions and retiling existing
sessions.

More commands may be added over time.
2017-12-22 12:07:38 +00:00
Duncan Ferguson
9a4c7714f9 Upgrade Perl::Tidy requirement to version 20171214
Due to https://metacpan.org/source/SHANCOCK/Perl-Tidy-20171214/CHANGES#L3

Github issue #99

Thanks to eserte (Slaven Rezić)
2017-12-21 23:53:30 +00:00
Duncan Ferguson
93432c1580 Fix for multiple range expansion
Allow ranges such as 'h{a,b}{1,2}' to expand to 'ha1 ha2 hb1 hb2' rather
than return a perl error

Thanks to Markus Frosch (lazyfrosch).

Github issue #97.
2017-11-18 11:52:39 +00:00
Duncan Ferguson
df96d66150 Merge branch 'master' of https://github.com/AsharLohmar/clusterssh into AsharLohmar-master 2017-08-08 19:52:41 +01:00
Duncan Ferguson
309ec40de0 Fix stupid typo 2017-08-04 09:04:21 +01:00
Duncan Ferguson
d6bd23ef12 Correct bug tracker URL in POD text
Github issue #92
2017-08-03 22:43:39 +01:00
Lohmar ASHAR
d1bc22ee22 added "fillscreen" option 2017-05-01 17:24:04 +02:00
Lohmar ASHAR
cd355f965d added support for specifying the desired number of columns or rows 2017-04-29 17:08:22 +02:00
Duncan Ferguson
5cd27cb11f Upate version 2017-04-13 08:32:36 +01:00
Duncan Ferguson
771f0a18e4 Release 4.10_01 for README generation testing 2017-04-12 22:50:06 +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
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