On Mon, 26 Jul 2004, Malcolm J. Currie wrote:
> Once agreed we can tackle the others.
>
SHL library is now ready for action *and* I've update the following apps
to use it (it didn't take very long):
photom
hdstools
esp
ccdpack
polpack
atools
kappa
kaprh
pisa
convert
figaro
+ specx, jcmtdr and surf
Norman - I even did ESP for you :-)
I think it's simplified things enormously given all the code that
will disappear next time you cvs update. The SHL library converts the adam
tasks to a single call.
Hopefully I did it all correctly. I tested most of them.
I don't think I missed any apps. I haven't removed the code from kaplibs
yet. I've run out of time for tonight.
Now I need to look at the subpar help stuff since that looks like it
contains some cleverer name translation code than shl (or at least
explicitly states the rules for translation of XXX_HELP to a filename)
which should be put into SHL instead of home brewed SHL_TRNVAR.
[sup_nametr]. Actually, glancing at this, simply moving the
sup_iput/sup_oput/sup_pwhlp into SHL would have saved a lot of trouble
since that also includes command line editing! Sod it. At least now when I
do that merge all the apps will suddenly get command line editing and
proper translation of ADAM_HELP.
Finally, I also need to take a look at the help stuff in ICL!
(uface_pwhlp - bizarrely the call to UFACE_SCRNSZ has been commented out
so ICL doesn't check. Given the number of xxx_scrnsz routines we had on
the system I'm amazed that one was removed :-)
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|