Commit graph

159 commits

Author SHA1 Message Date
Duncan Ferguson
17cbd36d7c Merge branch 'master' of github.com:duncs/clusterssh 2014-02-18 20:29:03 +00:00
Matt Perry
cfaf930f16 Correct spelling and grammar errors
Corrected several typos, spelling errors, and grammatical errors.
2014-02-17 15:39:20 -08:00
Duncan Ferguson
f344270921 Add wondow geomerty into host spec
Also improve host tests to be more comprehensive and understandable
2014-02-01 13:47:42 +00:00
Duncan Ferguson
58bd88a023 Amend 'tag-file' short option to 'r'
This is to avoid an option clash with the cluster file option
2014-01-17 09:31:19 +00:00
Duncan Ferguson
56faa0ac30 Fix 'File->Show History'
Missed an object reference in the original call for showing the window
2014-01-14 11:17:50 +00: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
583c8bbe53 Fixed the default cluster not being opened
This was due to a method being called in scalar context, which returned incorrect detail

Reported by Aaron C. de Bruyn
2014-01-04 15:07:34 +00:00
Duncan Ferguson
e825bc17ca Fixed "uninitialised errors in hash element" bug 2013-12-31 11:18:46 +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
85a796600a Fixed a bug with 'show history' key shortcut
Fix incorrect method call
2013-04-21 22:09:43 +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
e9bb9ef34c Fixed macros (%u,%s,%h,%n) multiple replacements 2013-04-20 09:17:20 +01:00
Duncan Ferguson
5ea730aff9 Fix tests 2013-04-16 09:23:03 +01:00
Duncan Ferguson
ea811ba639 Run through 'perltidy -pbp'
Standardise the code layout
2013-04-15 21:56:19 +01:00
Duncan Ferguson
d7e116e470 Functionality to call external command
Code and tests to call the external command
2013-04-15 21:34:05 +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
6fccd92d6a Bring new 'tag' file into use
/etc/tags and $HOME/.clusterssh/tags is now used

Refacter some code to make it clearer and update docs for new options
2013-03-19 21:06:00 +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
83691ee6be New options to not open repeated terminals
In many situations it can be very useful to open multiple terminals to the same host.  In others, it isn't.  Provide for either usage.

Patch from Oliver Meissner
2013-02-27 10:26:05 +00:00
Duncan Ferguson
0eb27e2538 Fixed clusters defined in .clusterss/config file
Bug due to incorrect passing of arguments to the module method

Sf bug 3605675
2013-02-26 20:11:37 +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
052ed6ca62 Set WM_CLASS on windows
SourceForge bug ID 3187736

Also run through perltidy
2013-02-15 08:26:41 +00:00
Duncan Ferguson
d0fa3f1df4 Fix cssh starting if xterm is not installed
Fix cssh not starting if xterm isn't installed and an alternate terminal such as uxrvt is used,

SourceForge bug 3494988
2013-02-14 23:44:15 +00:00
Duncan Ferguson
dc7b4ccb17 Fix watch line expression to catch 4.x series tarballs
Debian patch LP ID #1076897
2013-02-14 22:17:43 +00:00
Duncan Ferguson
74d1cf7f0a Updated manpage whatis entries
Patch by Tony Mancill
2013-02-14 22:11:21 +00:00
Duncan Ferguson
42982cb59b Fix migration of .csshrc when not working as expected
Debian bug ID #673507
2013-02-14 21:23:49 +00:00
Duncan Ferguson
b333641287 Cope with being invoked as 'clusterssh'
Debian bug ID #644368
2013-02-14 21:16:49 +00:00
Duncan Ferguson
042780f873 Pastes uses a strange keyboard layout
Patch taken from Debian bug ID #364565
2013-02-14 21:12:40 +00:00
Duncan Ferguson
f264316002 Apply Debian patch for bug ID #57820 2013-02-13 22:18:45 +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
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