Commit graph

271 commits

Author SHA1 Message Date
Duncan Ferguson
c807b52129 Improve test coverage 2017-12-27 13:44:31 +00:00
Duncan Ferguson
5615bbc5b1 Update copyright year to 2018 2017-12-27 11:03:52 +00:00
Duncan Ferguson
b9731d0e35 Fix tests
- perltidy
- add pod to new modules
- code fix for accessing config via Base.pm
- fix some minor typos
2017-12-27 10:58:28 +00:00
Duncan Ferguson
4dcba4d693 Apply console position fix 2017-12-27 10:22:07 +00:00
Duncan Ferguson
3a7e832855 Move all Tk code into its own module 2017-12-27 10:19:53 +00:00
Duncan Ferguson
3d571b2801 Start reworking Tk into a module 2017-12-27 10:17:46 +00:00
Duncan Ferguson
7163916a99 Mark new dev version (4.13_01) 2017-12-27 10:16:29 +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
d9b3de5d55 Slightly more debug infoi around ssh lookups 2017-08-04 07:52:10 +01:00
Duncan Ferguson
4a1f0ed5fd Allow for debug to be enabled via the environment 2017-08-04 07:51:44 +01:00
Duncan Ferguson
d6bd23ef12 Correct bug tracker URL in POD text
Github issue #92
2017-08-03 22:43:39 +01:00
Duncan Ferguson
f1446f9be3 Expand uses of ranges
Ranges can now be used on:

Ports:
        cssh localhost:{22001..22008}

FQDN's:
        cssh host{10..20}.domain.name

IP's:
        cssh 192.168.10.{10..20}
2017-05-17 22:35:46 +01:00
Duncan Ferguson
fa01db1a03 Allow dashes in hostname when expanding in ranges
Hostname characters allowed here are currently any alpha-numberic, underscores
and dashes.

Github issue #89
2017-05-16 00:58:44 +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
593b241e6a Fix typo 2017-04-13 09:05:53 +01:00
Duncan Ferguson
d822ecd81d Fix code for perltidy test 2017-04-13 09:04:23 +01:00
Duncan Ferguson
a3373813db Include the version number in the man page 2017-04-13 08:43:29 +01: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
fc66ddc34b Fixup some code typos in the pull request 2017-03-16 22:42:06 +00:00
Duncan Ferguson
07f59738e6 Fix pod coverage test 2017-03-16 22:33:37 +00:00
Duncan Ferguson
7a08f3239e Fix perltidy test 2017-03-16 22:30:41 +00:00
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