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

Diff for /src/usr.bin/tip/Attic/tip.c between version 1.9 and 1.10

version 1.9, 1998/07/12 05:27:04 version 1.10, 2000/01/09 05:38:47
Line 208 
Line 208 
          * the "cu" version of tip.           * the "cu" version of tip.
          */           */
   
           i = fcntl(FD, F_GETFL);
           if (i == -1) {
                   perror("fcntl");
                   cleanup();
           }
           i = fcntl(FD, F_SETFL, i & ~O_NONBLOCK);
           if (i == -1) {
                   perror("fcntl");
                   cleanup();
           }
   
         tcgetattr(0, &defterm);          tcgetattr(0, &defterm);
         term = defterm;          term = defterm;
         term.c_lflag &= ~(ICANON|IEXTEN|ECHO);          term.c_lflag &= ~(ICANON|IEXTEN|ECHO);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10