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

Diff for /src/usr.bin/window/Attic/cmd1.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:46:54 version 1.2, 1996/02/23 14:10:40
Line 1 
Line 1 
 /*      $NetBSD: cmd1.c,v 1.3 1995/09/28 10:34:03 tls Exp $     */  /*      $NetBSD: cmd1.c,v 1.4 1996/02/08 20:44:59 mycroft Exp $ */
   
 /*  /*
  * Copyright (c) 1983, 1993   * Copyright (c) 1983, 1993
Line 40 
Line 40 
 #if 0  #if 0
 static char sccsid[] = "@(#)cmd1.c      8.1 (Berkeley) 6/6/93";  static char sccsid[] = "@(#)cmd1.c      8.1 (Berkeley) 6/6/93";
 #else  #else
 static char rcsid[] = "$NetBSD: cmd1.c,v 1.3 1995/09/28 10:34:03 tls Exp $";  static char rcsid[] = "$NetBSD: cmd1.c,v 1.4 1996/02/08 20:44:59 mycroft Exp $";
 #endif  #endif
 #endif /* not lint */  #endif /* not lint */
   
Line 111 
Line 111 
                 wwputc('\n', cmdwin);                  wwputc('\n', cmdwin);
         wwcurtowin(cmdwin);          wwcurtowin(cmdwin);
         (void) openwin(id, row, col, xrow-row+1, xcol-col+1, default_nline,          (void) openwin(id, row, col, xrow-row+1, xcol-col+1, default_nline,
                 (char *) 0, 1, 1, default_shellfile, default_shell);              (char *) 0, WWT_PTY, WWU_HASFRAME, default_shellfile,
               default_shell);
 }  }
   
 getpos(row, col, minrow, mincol, maxrow, maxcol)  getpos(row, col, minrow, mincol, maxrow, maxcol)
Line 121 
Line 122 
 {  {
         static int scount;          static int scount;
         int count;          int count;
         char c;          int c;
         int oldrow = *row, oldcol = *col;          int oldrow = *row, oldcol = *col;
   
         while ((c = wwgetc()) >= 0) {          while ((c = wwgetc()) >= 0) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2