Duncan Ferguson
97884dd03e
Start using config provided in getopts module
2014-06-20 15:16:41 +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
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
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
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
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
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
3c3e145199
Bring option processing back into use
2011-11-25 22:09:33 +00:00
Duncan Ferguson
7acdf5da79
Create .clusterssh/clusters file from old .csshrc file
2011-11-23 21:33:50 +00:00
Duncan Ferguson
015e130d77
Start using new cluster module
2011-11-21 22:03:54 +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
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