Changeset b20de4f


Ignore:
Timestamp:
Dec 6, 2003, 7:16:06 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
a68f05d
Parents:
ad96951
Message:
Allow TERMINFO to be overridden in the envrionment
Remove debug messages that can't be printed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rad96951 rb20de4f  
    55        Better 'status' command
    66        Use '+' for popwin corners when 'fancylines' is off
     7        Allow TERMINFO to be overridden in the envrionment
    78       
    892.0.13
  • owl.c

    rd9b0b972 rb20de4f  
    5858#endif
    5959
    60   owl_function_debugmsg("startup: it's the very best place to start");
    61 
    62   owl_function_debugmsg("startup: processing command line arguments");
    6360  argcsave=argc;
    6461  argvsave=argv;
     
    110107#ifdef HAVE_LIBZEPHYR
    111108  /* zephyr init */
    112   owl_function_debugmsg("startup: initializing zephyr");
    113109  ret=owl_zephyr_initialize();
    114110  if (ret) {
     
    118114 
    119115  /* signal handler */
    120   owl_function_debugmsg("startup: setting up signal handler");
    121116  /*sigact.sa_handler=sig_handler;*/
    122117  sigact.sa_sigaction=sig_handler;
     
    128123
    129124  /* screen init */
    130   owl_function_debugmsg("startup: initializing screen");
    131   sprintf(buff, "TERMINFO=%s", TERMINFO);
    132   putenv(buff);
     125  if (!getenv("TERMINFO")) {
     126    sprintf(buff, "TERMINFO=%s", TERMINFO);
     127    putenv(buff);
     128    owl_function_debugmsg("startup: setting TERMINFO to %s", TERMINFO);
     129  } else {
     130    owl_function_debugmsg("startup: leaving TERMINFO as %s from envrionment", getenv("TERMINFO"));
     131  }
    133132  initscr();
    134133  start_color();
     
    152151
    153152  /* owl global init */
    154   owl_function_debugmsg("startup: doing owl global initialization");
    155153  owl_global_init(&g);
    156154  if (debug) owl_global_set_debug_on(&g);
     155  owl_function_debugmsg("startup: first available debugging message");
    157156  owl_global_set_startupargs(&g, argcsave, argvsave);
    158157#ifdef HAVE_LIBZEPHYR
Note: See TracChangeset for help on using the changeset viewer.