Commit graph

131 commits

Author SHA1 Message Date
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
Andrew
ceda2524cf Add POD docs for expand_filename 2016-03-16 12:56:25 +01:00
Andrew
1c6a709f3a Apply style guidelines 2016-03-16 12:53:15 +01:00
Andrew
6b752e583b Expand ~ and $HOME when looking for files 2016-03-08 18:43:59 +01: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
7e55006acd Merge branch 'master' of github.com:duncs/clusterssh 2015-12-07 16:32:50 +00:00
tony mancill
41162764c2 correct typo in manpage 2015-12-03 22:17:02 -08:00
Duncan Ferguson
1a103722f3 Failure to find terminal binary should not be fatal
This will allow the initial build to complete without issue so that the user can install the appropriate terminal, or set the correct config, after installation.

Warnings will be displayed when the program is used.
2015-12-03 21:58:32 +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
96c73a0080 Add in csftp command 2015-11-15 22:17:29 +00:00
Duncan Ferguson
54499686bf Perltidied 2015-11-15 22:05:14 +00:00
Duncan Ferguson
e87192db9b Add in --quiet | -Q option
Add new option to reduce output in certain scenarios
2015-11-15 21:59:40 +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
91a2b70b33 Correct typo and perltidy 2015-11-09 23:04:09 +00:00
Duncan Ferguson
1a3d5495d6 Terminal path documentation 2015-11-09 23:00:23 +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
Duncan Ferguson
5e8f1b1166 Perltidy to pass the test 2015-11-03 20:59:18 +00:00
Duncan Ferguson
c0f2b8af41 Update copyright year 2015-10-01 18:15:51 +01:00
Duncan Ferguson
1d492e3ba2 Minor doc corrections 2015-10-01 18:15:01 +01:00
Duncan Ferguson
94d3bca20e Merge pull request #43 from mperry2/move_send_menu
Move send menu file to $HOME/.clusterssh directory
2015-10-01 07:32:55 +01:00
Duncan Ferguson
e1df115736 Add docs for use_natural_sort 2015-09-30 18:03:05 +01:00
Duncan Ferguson
efcc12e1d5 Remove unnecessary code 2015-09-30 17:37:24 +01: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
Andrew Stevenson
ed49237f52 Support natural sorting for the order of hosts
Both window order and order in the hosts menu

Fixes #24
2015-03-23 13:10:35 +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
f8ed9da353 Ensure code is run through 'perltidy -pbp -nst -nse' 2014-09-19 23:33:08 +01:00
Duncan Ferguson
8aaea928d7 Ensure ssh_args in config file is honored
Because the default value is defined for --options parameter, the config file value was always overwritten

Only use --options if config file option is not defined and --options is not the default value
2014-09-19 23:01:41 +01:00
Duncan Ferguson
f88353d3dd Fix behaviour when no cluster command defined
Also tidyup output to 'cssh -L' when no external clusters defined
2014-08-10 10:37:34 +01:00
Duncan Ferguson
72668c128f Fix printing of correct version with '-v' 2014-07-09 20:28:52 +01:00
Duncan Ferguson
d7d9f83b15 Correct ctel pod
Amend references to ssh in the pod to be either the comms binary (telnet, rsh) or more generic wording
2014-07-05 23:26:06 +01:00
Duncan Ferguson
085803c328 List external clusters
List on command line (cssh -L) and in 'add host' dialogue in GUI
2014-07-05 20:26:44 +01:00
Duncan Ferguson
c6747288d5 Improve test coverage 2014-07-04 21:41:52 +01:00
Duncan Ferguson
3e2392e9b6 Improve test coverage 2014-07-02 22:39:36 +01:00
Duncan Ferguson
0853d8fee6 Alternative IPv6 address port
Allow for parsing ports from 'xxxx:xxxx:xxxx:xxxx/pppp' style IPv6 addresses
2014-07-02 18:48:06 +01:00
Duncan Ferguson
858112c072 Additional pod docs 2014-06-29 12:49:37 +01:00
Duncan Ferguson
a0b4514176 Perltidy -pbp 2014-06-28 11:40:16 +01:00
Duncan Ferguson
3987586e3f Move tiling and auto quit option processing into module 2014-06-27 18:18:36 +01:00
Duncan Ferguson
dbfa2733fd Move auto close and show history option processing into module 2014-06-27 18:17:22 +01:00
Duncan Ferguson
3cffd71b2f Swap around some of the short options 2014-06-22 14:49:45 +01:00
Duncan Ferguson
2f9779d8f5 Move some post-processing option handling into the getopt module 2014-06-22 14:42:21 +01:00
Duncan Ferguson
e6ed822a43 Fix using accessors names where the original option used hyphens 2014-06-21 13:31:04 +01:00
Duncan Ferguson
97884dd03e Start using config provided in getopts module 2014-06-20 15:16:41 +01:00
Duncan Ferguson
f39ffcb9e4 Generate synopsis text from options 2014-06-18 22:28:44 +01:00
Duncan Ferguson
5c31d13f83 Switch location of Pod::Usage calls 2014-06-16 21:31:10 +01:00
Duncan Ferguson
4abbf5e494 Rework all pod
This is to simplify code and layout, as well as make it far easier to switch to Locale::TextDomain in the future
2014-06-14 08:10:56 +01:00
Duncan Ferguson
6113f5d83a Add more doc sections 2014-06-11 18:04:51 +01:00
Duncan Ferguson
5b8cfc9e4d Add more doc sections 2014-06-08 10:10:18 +01:00
Duncan Ferguson
374775bf87 Display default option value if one is defined 2014-06-08 09:51:58 +01:00