IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 19, 2006, 10:26:59 AM (20 years ago)
Author:
eugene
Message:

unified the client/standalone command functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/pantasks_client.c

    r7929 r7938  
    1010void program_init (int *argc, char **argv) {
    1111 
     12  auto_break = TRUE;
     13
    1214  /* load the commands used by this implementation */
    1315  InitBasic ();
    1416  InitData ();
     17  InitAstro ();
    1518  InitPantasksClient ();
    1619
     
    1922  rl_readline_name = opihi_name;
    2023  rl_attempted_completion_function = command_completer;
    21   rl_event_hook = NULL;
    22   rl_set_keyboard_input_timeout (100000);
    2324
    2425  set_str_variable ("HISTORY", opihi_history);
     
    2627  set_str_variable ("RCFILE", opihi_rcfile);
    2728
    28   /* should we trap some commands and exec them locally? */
    29   /* help would be an obvious example... */
    3029# ifdef HELPDIR_DEFAULT
    3130  set_str_variable ("HELPDIR", MACRO_NAME(HELPDIR_DEFAULT));
     
    4544
    4645/* add program-dependent exit functions here */
    47 /* unclear what we should do with the plotting functions:
    48    do we keep the data only on the server, with all plotting
    49    taking place on the server? or what? */
    5046void cleanup () {
    51   // QuitImage ();
    52   // QuitGraph ();
     47  QuitImage ();
     48  QuitGraph ();
    5349  return;
    5450}
     
    6056}
    6157
    62 /* call to opihi shell */
     58/* call to client_shell: this opihi tool uses a slightly different
     59   shell function from the standard tools */
    6360int main (int argc, char **argv) {
    6461  int status;
Note: See TracChangeset for help on using the changeset viewer.