Generally expect functionality would probably help with lots of the startup and installation functions of VistA.
I would suggest however, that you use either the perl or python expect modules. Especially the python - excpect module would help to ensure that your code was readable and maintainable. expect as a language is something of a one trick pony (although tcl is more powerful) Regards, -FT On Tue, 2005-08-30 at 20:38 -0400, Nancy Anthracite wrote: > Can Expect handle something like this? > > On Tuesday 30 August 2005 08:28 pm, César Yáñez Fernández wrote: > Thanks a lot for your help, Greg; now I can start the Taskman in a non > interactive way, now, I need to open the 9260/TCP port, so I do: > > GTM> D STRT^XWBTCP(9260) <ENTER> > Start TCP Listener... > Checking if TCP Listener has started... > TCP Listener started successfully. > GTM> > > and to stop it; I just type: > GTM> D STOP^XWBTCP(9260) <ENTER> > Stop TCP Listener... > GTM> > > and now, I want to stop the TASKMAN without confirmation, in order to > stop it, I type: > GTM> D STOP^ZTMKU > Are you sure you want to stop TaskMan? NO// > (...) > > I need to stop the TASKMAN so I can cleanly rundown the databases and > GT.M, what is the correct instruction to do it? > > sorry if I ask too much, but thanks anyway > > On 8/30/05, Greg Woodhouse <[EMAIL PROTECTED]> wrote: > > Most of that is one time setup. The settings are saved in Fileman, so > > the next time around, you only need to start Taskman (your D ^ZTMB, > > though you can also do it through a menu option, if you wish). Other > > options, such as starting the Broker can be designated to start > > automatically, if you wish. Typically, there will be a lot of basic > > tasks (Broker, Mailman, HL7, etc.) that you might want to start > > automatically like this when you start Taskman. But you might want to > > be able to bring up a system without Taskman actually starting (so you > > can do maintenance work or other setup before everything else starts > > up). Think of it as being a little like booting into single user mode > > and then going multi-user. > > > > --- César Yáñez Fernández <[EMAIL PROTECTED]> wrote: > > > Hello to everybody in the list; > > > > > > I have a little problem here, I need to start the TASKMAN and a > > > routine to listen the port 9260/TCP in a not interactive way. When I > > > make it in an interactive way, I do: > > > > > > # mumps -direct > > > GTM> D P^DI <ENTER> > > > VA FileMan 22.0 > > > > > > Select OPTION: 1 <ENTER> > > > ENTER OR EDIT FILE ENTRIES > > > > > > INPUT TO WHAT FILE: TASKMAN SITE PARAMETERS// TASKMAN <ENTER> > > > EDIT WHICH FIELD: ALL// <ENTER> > > > Select TASKMAN SITE PARAMETERS BOX-VOLUME PAIR: ROU<ENTER> > > > BOX-VOLUME PAIR: ROU:vista000// <ENTER> > > > RESERVED: <ENTER> > > > LOG TASKS?: NO// <ENTER> > > > DEFAULT TASK PRIORITY: 7// <ENTER> > > > TASK PARTITION SIZE: <ENTER> > > > SUBMANAGER RETENTION TIME: 10// <ENTER> > > > TASKMAN JOB LIMIT: 250// <ENTER> > > > TASKMAN HANG BETWEEN NEW JOBS: 0// <ENTER> > > > MODE OF TASKMAN: GENERAL PROCESSOR// <ENTER> > > > VAX DSM ENVIROMENT FOR DCL: <ENTER> > > > OUT OF SERVICE: NO// <ENTER> > > > MIN SUBMANAGER CNT: <ENTER> > > > TM MASTER: <ENTER> > > > Balance Interval: <ENTER> > > > LOAD BALANCE ROUTINE: <ENTER> > > > Auto Delete Tasks: Yes// <ENTER> > > > Manager Startup Delay: 5// <ENTER> > > > Select TASKMAN SITE PARAMETERS BOX-VOLUME PAIR: <ENTER> > > > Select OPTION: <ENTER> > > > GTM> D ^ZTMB <ENTER> > > > GTM> D STRT^XWBTCP(9260) <ENTER> > > > Start TCP Listener... > > > Checking if TCP Listener has started... > > > TCP Listener started successfully. > > > GTM> > > > > > > Well, I need to do all that in a non interactive way, inside a Shell > > > script in UNIX; what instructions I need? what I need to do? is it > > > possible to do it? > > > > > > thanks in advance > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > > Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > > & QA > > > Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Hardhats-members mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > > > === > > Gregory Woodhouse <[EMAIL PROTECTED]> > > > > > > > > "Perfection is achieved, not when there is nothing more > > to add, but when there is nothing left to take away." > > -- Antoine de Saint-Exupery > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Hardhats-members mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/hardhats-members > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Hardhats-members mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hardhats-members > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Hardhats-members mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hardhats-members
