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
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
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
196d7b79bf
Fix for tests againsst 'debug' and 'dump' options
2017-03-04 18:34:02 +00: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
142d4ddd66
Merge branch 'master' of github.com:duncs/clusterssh
2016-09-07 09:26:09 +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
Slaven Rezic
ab1dde0e8c
fix skip condition
2016-07-24 11:50:16 +02:00
Duncan Ferguson
8b8a692b6c
Rework hostname expansion
...
Didn't like relying on the bash shell for expansions - instead recoded it to be pure-perl so it is more cross-platform.
Github issue #53
2016-04-29 18:33:50 +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
3b22f44680
Fix tests on Travis CI via Github
...
The Travis CI test systems do not have xterm installed; in the specific test that needs it, add in a path to a 'fake' xterm to allow it to be found
2016-03-26 08:18:48 +00:00
Duncan Ferguson
b330457f99
Add in bash expansions on hostnames
...
Allow hostnames to be expanded using bash where a { is in the host name definition
Github issue #53
2016-02-13 08:48:20 +00:00
Duncan Ferguson
c5c2c4fc0e
Fix option and configuration for 'extra_tag_file'
...
Option was documented but did not work correctly.
Github issue #51
2016-01-23 17:02:52 +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
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
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
Matt Perry
dda4297711
Move send menu file to $HOME/.clusterssh directory
...
Move send menu file from $HOME/.csshrc_send_menu to $HOME/.clusterssh
directory.
2015-09-26 09:25:52 -07:00
Duncan Ferguson
b77830dea5
Fix configuration tests for 'use_natural_sort=0'
2015-09-21 22:35:16 +01:00
Duncan Ferguson
9b21aaaa61
Fix case when the terminal isn't installed
...
Fix the case when the configured terminal isn't actually on the system. Alert for the problem rather than attempt to continue and hang.
2014-12-12 17:18:19 +00:00
Duncan Ferguson
26e783be1c
Skip permissions check test when run as root
...
This is because root has access to the file even when it is locked down in this simple test, so it always fails
Github issue: 11
Thanks to Deny Dias
2014-09-19 22:39:48 +01:00
Duncan Ferguson
a93b3f3cac
Force tests to have English locale
...
Important when user has something else set else tests can fail
Github issue: 10
Thanks to Emanuele Tomasi
2014-09-19 22:33:33 +01:00
Duncan Ferguson
3e2392e9b6
Improve test coverage
2014-07-02 22:39:36 +01:00
Duncan Ferguson
3fa50f0b49
Add in config for macro's
...
Allow for changing macro strings. Also add option in UI to enable/disable macro processing
2014-01-13 18:44:12 +00:00
Duncan Ferguson
6aca350f8b
Add in key shortcut for local hostname macro
...
Another useful macro to have - ALT-l
2013-04-21 22:13:54 +01:00
Duncan Ferguson
b93253123d
Add in key shortcut for username (ALT-u)
...
Seems a useful shortcut to have
2013-04-21 22:05:17 +01:00
Duncan Ferguson
ea811ba639
Run through 'perltidy -pbp'
...
Standardise the code layout
2013-04-15 21:56:19 +01:00
Duncan Ferguson
f1546a0d7d
Resolving tags by external command
...
Start coding up resolving tags by an external command instead of a cluster or tag file
2013-03-25 13:13:03 +00:00
Duncan Ferguson
b2ba4daa46
Start of tags file handling
...
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
2013-03-16 21:56:56 +00:00
Duncan Ferguson
402f6c34a9
Don't set default user name in configuration file
...
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.
2013-03-08 07:58:39 +00:00
Duncan Ferguson
72e37269fb
Fix 'ccon'
...
Fixed 'ccon' not calling the correct command
Sf bug 3605002
2013-02-26 20:10:01 +00:00
Duncan Ferguson
244c657f51
Ensure tests all OK
2013-02-15 08:47:09 +00:00
Duncan Ferguson
a7296983e6
Move .csshrc to .csshrc.DISABLED
...
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
2013-02-13 22:10:30 +00:00
Duncan Ferguson
7755a60161
Allow the path to the comms binary to be set
...
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
2013-02-13 21:41:30 +00:00
Duncan Ferguson
9695b3a4f0
Reinstate 'user' config option
...
Add 'user=' back into the config file
Add newlines for some error messages
2013-02-13 17:50:26 +00:00
Duncan Ferguson
5e51e41790
Fix tests
...
Display differences between expected and actual strings more readily by using Test::Differences
2012-11-26 21:42:06 +00:00
Joe Atzberger
0fe9523e08
Update t/15config.t
...
Your home is not my home.
2012-09-21 02:11:03 -03:00
Duncan Ferguson
3c3e145199
Bring option processing back into use
2011-11-25 22:09:33 +00:00
Duncan Ferguson
2b7ec74e6a
Add in auto_close functionality
...
Set whether terminal windows close after given numnber of seconds or wait until input given into terminal windows
2011-11-24 21:49:08 +00:00
Duncan Ferguson
be0ff95430
Get the hostname reolution code working again
...
Fix option -A (use_all_a_records)
2011-11-18 22:31:12 +00:00
Duncan Ferguson
99b908a64f
Make use of find_binary if not set in config
...
If comms command isnt set then find the path to the binary
2011-11-17 22:51:54 +00:00
Duncan Ferguson
ce4f610905
Move the helper script as is into a module and get working again
2011-08-31 21:01:12 +01:00
Duncan Ferguson
6c32234f5f
WIP: get new config module into use
2011-07-28 10:23:49 +01:00
Duncan Ferguson
74e3913680
More config functionality
...
Load up config files and write out default config file if it doesnt exist.
2011-07-25 18:23:07 +01:00
Duncan Ferguson
b51644512d
Further enhancements to the config module
...
Continue work to move all the config code out of the main module into a sub module. Not yet used by the main module.
2011-07-21 08:23:49 +01:00
Duncan Ferguson
81a79902b6
Further work on config module
2011-07-11 22:07:57 +01:00
Duncan Ferguson
5fb98fc796
Further work on config module
2011-07-11 21:00:43 +01:00
Duncan Ferguson
3fedc40eaf
Read a given config file
...
Throw an exception if it cannot be read
2011-07-09 09:00:24 +01:00