Add in a new configuration option to override the system hostname
rather than rely on DNS (which may not be correctly configured on
the system)
Github issue #158
This allows for running commands before and after the comms method in
the command pipeline, such as setting up python virtual environments
and piping output through other commands
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.
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
--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
Refactor file loading code into one place since it should all work in a similar way.
Added in tag functionality.
- Cluster files are: tag host host host host
- Tag files are: host tag tag tag
Yes to add in remainder of code to load in the files automatically
Setting the default username in the config file will override ssh settings, which is generally not what is wanted. Show the option in generated config files but commented out.
Move the old config file to one side since it should no longer be used and the error was more annoying than useful
Also catch perltidy from previous commit
This allows for users to specify using an alternative binary for rsh/ssh/telnet, no matter what $PATH is set to, otherwise will just use the first binary found on $PATH