Changeset 61f7250 for owl.c


Ignore:
Timestamp:
Mar 29, 2009, 4:24:34 PM (15 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
e01449c
Parents:
bc7ebf6
Message:
still need to putenv TERMINFO, fix to earlier commit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r19c0c55 r61f7250  
    150150  /* screen init */
    151151  if (!getenv("TERMINFO")) {
    152     owl_function_debugmsg("startup: found TERMINFO unset in environment");
     152    putenv(owl_sprintf("TERMINFO=%s", TERMINFO));
     153    owl_function_debugmsg("startup: setting TERMINFO to %s", TERMINFO);
    153154  } else {
    154     owl_function_debugmsg("startup: found TERMINFO is %s from environment", getenv("TERMINFO"));
    155   }
     155    owl_function_debugmsg("startup: leaving TERMINFO as %s from envrionment", getenv("TERMINFO"));
     156  }
     157
    156158  initscr();
    157159  start_color();
Note: See TracChangeset for help on using the changeset viewer.