Commit graph

197 commits

Author SHA1 Message Date
Duncan Ferguson
6ec912aac2 Release 4.14 2019-08-21 21:15:44 +01:00
Duncan Ferguson
dab4fa2237 Add in macro_user_1 .. 4
Add in user macros that can run an external command to pass into each
client terminal session.  Ensure that if no user command is defined that
the expected 'Alt-1' to 'Alt-4' keys are passed into the terminals
instead.

Include docs and examples of how they might be used.
2019-03-28 22:52:03 +00:00
Duncan Ferguson
805f97cd78 Include github issue in changes log 2019-03-16 14:59:08 +00:00
Duncan Ferguson
6529bccdbd Correct macro_hostname to be as per the docs
macro_hostname should be the FQDN of the server where cssh is being run
2019-03-16 14:54:31 +00:00
Duncan Ferguson
dd33799eb7 Mark github issue in changes log 2019-03-16 14:40:04 +00:00
Duncan Ferguson
537c4c2572 Add 'auto quit' setting to the File menu
The initial value for "auto quit" is taken from the config file but can
be overridden within the console UI for that session.

Although menu code for "auto close" is added, the functionality does not
work as expected.  This is because the setting is put onto each terminal
when it is opened and is not updated thereafter.
2019-03-16 14:35:16 +00:00
Duncan Ferguson
40d0bd4b8f Include generated README in the repository
This is so releases downlaoded directly from github pass tests and
also so the project page has the text available
2019-03-16 08:14:06 +00:00
Duncan Ferguson
73657d2fa3 4.13.2_02 release 2019-01-14 20:06:43 +00:00
Duncan Ferguson
5016a136d6 Travis tidyups
Amendments attempting to get travis build order working
2018-11-25 13:12:56 +00:00
Duncan Ferguson
e5c33c6e13 Version bump and travis fix
- Amend min version of Getopt::Long for Travis
- Bump the dist version
2018-11-25 13:03:30 +00:00
Duncan Ferguson
e857392130 First round of Dist::Zilla changes
Start process to convert to using Dist::Zilla to make life
easier for both the author and for users
2018-11-25 00:08:31 +00:00
Duncan Ferguson
47fd5237f9 Update to Perl::Tidy 20181117 2018-11-17 22:24:18 +00:00
Duncan Ferguson
717e7af776 Fix for 'bad pad value "3m"' error when using Tk 804.034
It appears Tk::Dialog from Tk version 804.034 has a bug in it that was
not in Tk 804.033.  Swap from using Tk::Dialog to Tk::DialogBox to
avoid the bug until it can be reported/fixed upstream..

Github issue #108
2018-11-17 22:07:50 +00:00
Duncan Ferguson
7670b0be39 Pull in all fixes from 4.13.x 2018-03-15 22:09:44 +00:00
Duncan Ferguson
205bf683bd Release 4.13.2 release date 2018-03-14 19:40:15 +00:00
Duncan Ferguson
7d515388a2 Improvements to docs
Amend links and wording in SUPPORT and REPORTING BUGS sections
2018-03-09 09:18:39 +00:00
Duncan Ferguson
15d3e210cf Fix for running 'make -j 3'
Prevent the same files being generated mutliple times when using
'make -j 4'.

OpenSUSE bug: https://bugzilla.opensuse.org/show_bug.cgi?id=1083835
SourceForge support ticket 55
2018-03-08 21:58:55 +00:00
Duncan Ferguson
5b827fd163 Minor release 4.13.1 for perltidy test fix 2018-03-05 10:09:38 +00:00
Duncan Ferguson
0fe831e25f Update Changes file 2017-12-27 10:29:11 +00:00
Duncan Ferguson
684b5311d5 Release 4.13 dated 2017-12-27 10:03:49 +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
16deb34d14 Fix Changes date to pass tests 2017-11-18 16:48:38 +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
a7e066e48f Mark 4.10_02 release 2017-08-15 16:45:11 +01:00
Duncan Ferguson
2cfc4739b2 Merge branch 'AsharLohmar-master' 2017-08-08 19:58:47 +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
Duncan Ferguson
a3373813db Include the version number in the man page 2017-04-13 08:43:29 +01:00
Duncan Ferguson
6f1254b3d8 Include link to coverage tests in resources 2017-04-13 08:33:12 +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
554605d8b0 README is generated at release time
Original contents of README have been moved to INSTALL.

README is created by generating the docs for cssh and dropping them
into the README file
2017-04-12 22:43:56 +01:00
Duncan Ferguson
eebbea81b8 Add note to CHanges and THANKS files 2017-03-16 22:44:59 +00:00
Duncan Ferguson
a3e8e221e7 Update version 2017-03-11 08:40:10 +00:00
Duncan Ferguson
4665a23f09 Release 4.09 2017-03-11 08:36:59 +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
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
4fe7b00713 Add perl 5.24 to Travis-CI config 2016-10-18 21:37:22 +01:00
Duncan Ferguson
469897d4c5 Prep for next version 2016-10-18 21:35:53 +01:00
Duncan Ferguson
9f6c000592 Release 4.08 2016-10-18 21:27:31 +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