IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 14, 2005, 10:33:53 AM (21 years ago)
Author:
eugene
Message:

cleanup up communications for speed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pcontrol/pcontrol.c

    r4762 r4763  
    1919  rl_attempted_completion_function = command_completer;
    2020  rl_event_hook = CheckSystem;
    21   rl_set_keyboard_input_timeout (100000);
     21  rl_set_keyboard_input_timeout (1000);
    2222
    2323  set_str_variable ("HISTORY", opihi_history);
     
    3030  /* ignore the history file.  to change this, see, eg, mana.c */
    3131  signal (SIGINT, SIG_IGN);
     32  signal (SIGPIPE, gotsignal);
     33  signal (SIGTSTP, gotsignal);
     34  signal (SIGTTIN, gotsignal);
    3235  return;
    3336}
     
    4447  return;
    4548}
     49
     50void gotsignal (int signum) {
     51  fprintf (stderr, "got signal : %d\n", signum);
     52  return;
     53}
Note: See TracChangeset for help on using the changeset viewer.