Changeset 19c0c55
- Timestamp:
- Mar 29, 2009, 3:41:03 PM (16 years ago)
- Branches:
- owl
- Children:
- 488ebf6
- Parents:
- 2b23a36a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
r395b32e r19c0c55 59 59 int newmsgs, nexttimediff; 60 60 struct sigaction sigact; 61 char *configfile, *tty, *perlout, *perlerr, **argvsave , buff[LINE], startupmsg[LINE];61 char *configfile, *tty, *perlout, *perlerr, **argvsave; 62 62 owl_filter *f; 63 63 owl_style *s; … … 66 66 char *dir; 67 67 struct termios tio; 68 #if OWL_STDERR_REDIR69 int newstderr;70 #endif71 68 72 69 argcsave=argc; … … 153 150 /* screen init */ 154 151 if (!getenv("TERMINFO")) { 155 sprintf(buff, "TERMINFO=%s", TERMINFO); 156 putenv(buff); 157 owl_function_debugmsg("startup: setting TERMINFO to %s", TERMINFO); 152 owl_function_debugmsg("startup: found TERMINFO unset in environment"); 158 153 } else { 159 owl_function_debugmsg("startup: leaving TERMINFO as %s from envrionment", getenv("TERMINFO"));154 owl_function_debugmsg("startup: found TERMINFO is %s from environment", getenv("TERMINFO")); 160 155 } 161 156 initscr(); … … 358 353 /* welcome message */ 359 354 owl_function_debugmsg("startup: creating splash message"); 360 strcpy(startupmsg, "-----------------------------------------------------------------------\n");361 sprintf(buff, "Welcome to Owl version %s. Press 'h' for on-line help. \n", OWL_VERSION_STRING); 362 strcat(startupmsg, buff); 363 strcat(startupmsg, " \n");364 strcat(startupmsg, "If you would like to receive release announcements about Owl you can \n");365 strcat(startupmsg, "join the owl-users mailing list at http://www.ktools.org/ \n");366 strcat(startupmsg, " ^ ^ \n");367 strcat(startupmsg, " OvO \n"); 368 strcat(startupmsg, "Please report any bugs or suggestions to bug-owl@ktools.org ( ) \n"); 369 strcat(startupmsg, "-----------------------------------------------------------------m-m---\n"); 370 owl_function_adminmsg("", startupmsg);355 owl_function_adminmsg("", 356 "-----------------------------------------------------------------------\n" 357 "Welcome to Owl version " OWL_VERSION_STRING ". Press 'h' for on-line help. \n" 358 " \n" 359 "If you would like to receive release announcements about Owl you can \n" 360 "join the owl-users mailing list at http://www.ktools.org/ \n" 361 " ^ ^ \n" 362 " OvO \n" 363 "Please report any bugs or suggestions to bug-owl@ktools.org ( ) \n" 364 "-----------------------------------------------------------------m-m---\n" 365 ); 371 366 sepbar(NULL); 372 367
Note: See TracChangeset
for help on using the changeset viewer.