Updated plans

This commit is contained in:
Duncan Ferguson 2010-06-25 11:49:41 +01:00
parent bbc9fa3793
commit 1410a8f807
3 changed files with 50 additions and 31 deletions

View file

@ -13,7 +13,6 @@ lib/App/ClusterSSH/L10N/en.pm
MANIFEST
MANIFEST.SKIP
META.yml
NOTES
README
t/00-load.t
t/01l10n.t
@ -24,4 +23,5 @@ t/boilerplate.t
t/pod-coverage.t
t/pod.t
THANKS
TODO
Makefile.PL

30
NOTES
View file

@ -1,30 +0,0 @@
Bits
====
hosts
clusters
- config
- cmd line args
- terminals
- keyboard translations
- console
Utils
=====
cssh ctelnet crsh
cscp crsync
Processes
=========
if .csshrc is a file or symlink to a file
warn with given actions, i.e.
mv .csshrc{,.orig}
mkdir .csshrc
mv .csshrc.orig .csshrc
if cmd starts with c_ then assume it is name of cluster to open with cssh

49
TODO Normal file
View file

@ -0,0 +1,49 @@
Overview of tasks
=================
Config file
===========
Convert from file ~/.cssrch to directory ~/.clusterssh
For conversion process
- clusters in .csshrc should be placed into 'default.cluster'
- all other config should go into 'config'
- create default menu file
New feature - if cssh -s symlinked to c_xxx then search for xxx as a cluster
file in .clutersshrc and open that
Getopts usage
=============
Set up similar to Nagios::Plugin where Getopts::Long is subclassed
Sort out docs too
Change way commands generated
=============================
Each scrpt file (cssh, crsh, ctelnet, cscp, crsync) should define how
the command is created/used and also none-common options
# Something like the following (needs refinement):
$app->setup_command(
"ssh %PORT% %USER% %HOSTNAME%",
{
%PORT% => [ $app->getopt->port, "-p %PORT%" ],
%USER% => [ $app->getopt->username, "-l %USER%" ],
}
)
Change way terminal windows are created
=======================================
Set up terminal windows in Tk to embedd termainl session into it, such as with
xterm
xterm -wid <wid> ....
This may limit to terminal thats can reparent into a given window id though.
See also:
http://www.perlmonks.org/?node_id=359764
http://www.perlmonks.org/?node_id=643221