Commit graph

79 commits

Author SHA1 Message Date
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
1bcba455c3 Update references to .clusterssh/config
Config file was moved from $HOME/.csshrc to $HOME/.clusterssh/config some time ago but the docs were not fully updated
2013-02-04 17:14:37 +00:00
Duncan Ferguson
521b1fd37c Fix 'ctel', 'crsh' and 'ccon'
The code wasn't taking into account being called under another name correctly, so wasn't calling the correct comms method.
2012-11-26 21:41:05 +00:00
Duncan Ferguson
a6169dcacb Read $HOME/.clusterssh/clusters
Make sure the new location fo the clusters file is read
2012-07-20 10:08:35 +01:00
Duncan Ferguson
a0cb18da7b State sleeping when using autoclose
Tell the user the length of time the terminal is sleeping for before closing otherwise it looks a little odd when the terms don't close quickly
2011-12-15 13:18:49 +00:00
Duncan Ferguson
a8e68a461b Fix 'autoclose' functionality
Logic wasn't right when defined in the config file and also when used on the command line.
2011-12-15 11:23:28 +00:00
Duncan Ferguson
0f51bb95c3 Add in missing MANIFEST files
Also add in tests to ensure it doesn't happen again
2011-12-09 08:37:23 +00:00
Duncan Ferguson
cb3aa92feb Get "-a 'cmd ; cmd'" multiple commands working
Previously
    cssh -a "hostname ; hostname" <server>
would return the remote hostname and the local hostname.  Fix to allow for both commands to run on the remote server.
2011-12-03 10:03:03 +00: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
23483ce362 Improve Cluster module functionality
Add in extra functionality to load in and record tags and their hosts
2011-11-24 21:47:37 +00:00
Duncan Ferguson
7acdf5da79 Create .clusterssh/clusters file from old .csshrc file 2011-11-23 21:33:50 +00:00
Duncan Ferguson
f92c4b22c6 More functionality fixes 2011-11-21 22:39:47 +00:00
Duncan Ferguson
311dbffcc9 Functionality fixes
Start getting previously used functionality working again with the new modules
2011-11-21 22:36:25 +00:00
Duncan Ferguson
015e130d77 Start using new cluster module 2011-11-21 22:03:54 +00:00
Duncan Ferguson
cd4c59b12e Further work on getting cluster module working 2011-11-21 18:02:26 +00:00
Duncan Ferguson
26e3ab7ef7 Start of cluster module 2011-11-18 22:44: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
4fdfb00f9f Get window retiling working again
Ensure the retiling code works after moving to new config module
2011-11-18 22:19:00 +00:00
Duncan Ferguson
05a439a27a Fix 'evaluate_command' or -e switch on cssh 2011-11-17 22:53:06 +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
70bfa5b1c6 Fix pod coverage test 2011-11-17 20:27:28 +00:00
Duncan Ferguson
78c71b5960 Move potential new helper code into the helper module 2011-08-31 21:12:49 +01:00
Duncan Ferguson
1d98a078dd Fix key binding to pass on events again 2011-08-31 21:10:13 +01: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
4976b953bd Tidyups from merge 2011-07-28 21:34:30 +01:00
Duncan Ferguson
2af32a22d4 Fixed missed merge tag 2011-07-28 21:32:04 +01:00
Duncan Ferguson
4da6a909a5 Merge branch 'master' into wip 2011-07-28 21:30:45 +01:00
Duncan Ferguson
25c479a851 Merge branch 'release_4_00'
Conflicts:
	Changes
	lib/App/ClusterSSH.pm
2011-07-28 21:29:12 +01:00
Duncan Ferguson
61acdf3815 Fix '-l <username>' option (SF bug 3380675)
'-l <username>' had stopped working again - fix and test
2011-07-28 10:46:01 +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
Duncan Ferguson
3caf243048 Further config & test improvements - WIP 2011-07-08 14:30:03 +01:00
Duncan Ferguson
98d6edbfd4 Start work on a configuration object 2011-07-08 13:00:29 +01:00
Duncan Ferguson
aa3c06b306 Merge from release_4_00 2011-07-08 12:56:28 +01:00
Duncan Ferguson
4c81e20ae2 Fix uninitialised error message 2011-07-08 12:42:48 +01:00
Duncan Ferguson
abe177d4d8 More use of Exception::Class 2011-07-01 16:40:29 +01:00
Duncan Ferguson
0d7e2fa14e Reset log level to known maximum 2011-07-01 14:48:21 +01:00
Duncan Ferguson
efe6cf2e9c Start switching code to use Exception::Class
Use Exception::CLass is as easier to get data back up the calling tree than just using die();
2011-07-01 14:46:01 +01:00
Duncan Ferguson
f04b4040ae Add in 'ccon' command
Thanks for Brandon Perkins for the patch
2011-06-30 11:12:59 +01:00
Duncan Ferguson
e58a20de24 Fix uninitialised variable error 2011-06-24 22:25:16 +01:00
Duncan Ferguson
dc4814a4f9 Cater for missing pod2text command
If 'pod2text' is missing off the system then an error is seen when starting cssh - hide the error and instead set the help text to suggest checking if pod2text is installed correctly.

Thanks to Sami Kerola for the patch.
2011-04-12 09:40:20 +01:00
Duncan Ferguson
8ae8459b1e Amend doc L<xx> links
Amend all L<xx> links to prevent build breakage on cygwin (Sf bug 3115635)
2011-04-01 15:39:40 +01:00
Duncan Ferguson
bb07aacc63 Fix not acting on '-l username'
'-l username' now acts as per previous releases

Thanks to Ryan Brown for reporting
2011-01-24 19:47:59 +00:00