[BACK]Return to tty.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/tty.c between version 1.15 and 1.16

version 1.15, 2002/02/21 00:02:04 version 1.16, 2002/02/21 04:16:23
Line 56 
Line 56 
 {  {
         char    *tv_stype, *p;          char    *tv_stype, *p;
   
 /* system dependent function to determine terminal type, if necessary. */          if ((tv_stype = getenv("TERM")) == NULL)
 #ifndef gettermtype  
         char    *gettermtype();  
 #endif /* gettermtype */  
   
         if ((tv_stype = gettermtype()) == NULL)  
                 panic("Could not determine terminal type!");                  panic("Could not determine terminal type!");
   
         if (setupterm(tv_stype, 1, NULL)) {          if (setupterm(tv_stype, 1, NULL)) {

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16