Changeset 7938 for trunk/Ohana/src/opihi/pantasks/pantasks_client.c
- Timestamp:
- Jul 19, 2006, 10:26:59 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/pantasks_client.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/pantasks_client.c
r7929 r7938 10 10 void program_init (int *argc, char **argv) { 11 11 12 auto_break = TRUE; 13 12 14 /* load the commands used by this implementation */ 13 15 InitBasic (); 14 16 InitData (); 17 InitAstro (); 15 18 InitPantasksClient (); 16 19 … … 19 22 rl_readline_name = opihi_name; 20 23 rl_attempted_completion_function = command_completer; 21 rl_event_hook = NULL;22 rl_set_keyboard_input_timeout (100000);23 24 24 25 set_str_variable ("HISTORY", opihi_history); … … 26 27 set_str_variable ("RCFILE", opihi_rcfile); 27 28 28 /* should we trap some commands and exec them locally? */29 /* help would be an obvious example... */30 29 # ifdef HELPDIR_DEFAULT 31 30 set_str_variable ("HELPDIR", MACRO_NAME(HELPDIR_DEFAULT)); … … 45 44 46 45 /* 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 plotting49 taking place on the server? or what? */50 46 void cleanup () { 51 //QuitImage ();52 //QuitGraph ();47 QuitImage (); 48 QuitGraph (); 53 49 return; 54 50 } … … 60 56 } 61 57 62 /* call to opihi shell */ 58 /* call to client_shell: this opihi tool uses a slightly different 59 shell function from the standard tools */ 63 60 int main (int argc, char **argv) { 64 61 int status;
Note:
See TracChangeset
for help on using the changeset viewer.
