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.
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.
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.
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
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
--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.
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
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
Fix failures picked up via cpantesters
- Bump version
- Remove accidental duplicate option in test file
- Add TODO to test for duplicate options correctly
- Fix test error when @ARGV is set to undef when this should never happen