IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2006, 6:55:37 PM (21 years ago)
Author:
eugene
Message:

split init into general and program init, cleaned up open_image, open_graph, and related

File:
1 edited

Legend:

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

    r4763 r5919  
    88
    99/* program-dependent initialization */
    10 void initialize (int argc, char **argv) {
     10void program_init (int *argc, char **argv) {
    1111 
    1212  auto_break = TRUE;
     
    2424  set_str_variable ("PROMPT", opihi_prompt);
    2525  set_str_variable ("RCFILE", opihi_rcfile);
     26
    2627# ifdef HELPDIR_DEFAULT
    2728  set_str_variable ("HELPDIR", MACRO_NAME(HELPDIR_DEFAULT));
     
    2930
    3031  /* ignore the history file.  to change this, see, eg, mana.c */
    31   signal (SIGINT, SIG_IGN);
    3232  signal (SIGPIPE, gotsignal);
    3333  signal (SIGTSTP, gotsignal);
Note: See TracChangeset for help on using the changeset viewer.