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

Diff for /src/usr.bin/window/Attic/lcmd1.c between version 1.5 and 1.6

version 1.5, 1997/02/25 00:04:07 version 1.6, 2001/11/19 19:02:18
Line 70 
Line 70 
   
 l_window(v, a)  l_window(v, a)
 struct value *v;  struct value *v;
 register struct value *a;  struct value *a;
 {  {
         struct ww *w;          struct ww *w;
         int col, row, ncol, nrow, id, nline;          int col, row, ncol, nrow, id, nline;
Line 78 
Line 78 
         int haspty, hasframe, mapnl, keepopen, smooth;          int haspty, hasframe, mapnl, keepopen, smooth;
         char *shf, **sh;          char *shf, **sh;
         char *argv[sizeof default_shell / sizeof *default_shell];          char *argv[sizeof default_shell / sizeof *default_shell];
         register char **pp;          char **pp;
   
         if ((id = findid()) < 0)          if ((id = findid()) < 0)
                 return;                  return;
Line 143 
Line 143 
 };  };
   
 l_def_nline(v, a)  l_def_nline(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         v->v_num = default_nline;          v->v_num = default_nline;
         v->v_type = V_NUM;          v->v_type = V_NUM;
Line 158 
Line 158 
 };  };
   
 l_smooth(v, a)  l_smooth(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         struct ww *w;          struct ww *w;
   
Line 179 
Line 179 
 };  };
   
 l_def_smooth(v, a)  l_def_smooth(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         v->v_type = V_NUM;          v->v_type = V_NUM;
         v->v_num = default_smooth;          v->v_num = default_smooth;
Line 192 
Line 192 
 };  };
   
 l_select(v, a)  l_select(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         struct ww *w;          struct ww *w;
   
Line 211 
Line 211 
 };  };
   
 l_debug(v, a)  l_debug(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         v->v_type = V_NUM;          v->v_type = V_NUM;
         v->v_num = debug;          v->v_num = debug;
Line 224 
Line 224 
 };  };
   
 l_escape(v, a)  l_escape(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         char buf[2];          char buf[2];
   
Line 248 
Line 248 
 /*ARGSUSED*/  /*ARGSUSED*/
 l_label(v, a)  l_label(v, a)
 struct value *v;  struct value *v;
 register struct value *a;  struct value *a;
 {  {
         struct ww *w;          struct ww *w;
   
Line 266 
Line 266 
 };  };
   
 l_foreground(v, a)  l_foreground(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         struct ww *w;          struct ww *w;
         char flag;          char flag;
Line 289 
Line 289 
 };  };
   
 l_terse(v, a)  l_terse(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         v->v_type = V_NUM;          v->v_type = V_NUM;
         v->v_num = terse;          v->v_num = terse;
Line 302 
Line 302 
 };  };
   
 l_source(v, a)  l_source(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         v->v_type = V_NUM;          v->v_type = V_NUM;
         if (a->v_type != V_ERR && dosource(a->v_str) < 0) {          if (a->v_type != V_ERR && dosource(a->v_str) < 0) {
Line 321 
Line 321 
 /*ARGSUSED*/  /*ARGSUSED*/
 l_write(v, a)  l_write(v, a)
 struct value *v;  struct value *v;
 register struct value *a;  struct value *a;
 {  {
         char buf[20];          char buf[20];
         struct ww *w;          struct ww *w;
Line 347 
Line 347 
 /*ARGSUSED*/  /*ARGSUSED*/
 l_close(v, a)  l_close(v, a)
 struct value *v;  struct value *v;
 register struct value *a;  struct value *a;
 {  {
         struct ww *w;          struct ww *w;
   
Line 365 
Line 365 
 };  };
   
 l_cursormodes(v, a)  l_cursormodes(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
   
         v->v_type = V_NUM;          v->v_type = V_NUM;
Line 380 
Line 380 
 };  };
   
 l_unset(v, a)  l_unset(v, a)
 register struct value *v, *a;  struct value *v, *a;
 {  {
         v->v_type = V_NUM;          v->v_type = V_NUM;
         switch (a->v_type) {          switch (a->v_type) {
Line 401 
Line 401 
   
 struct ww *  struct ww *
 vtowin(v, w)  vtowin(v, w)
 register struct value *v;  struct value *v;
 struct ww *w;  struct ww *w;
 {  {
         switch (v->v_type) {          switch (v->v_type) {
Line 423 
Line 423 
 }  }
   
 vtobool(v, def, err)  vtobool(v, def, err)
 register struct value *v;  struct value *v;
 char def, err;  char def, err;
 {  {
         switch (v->v_type) {          switch (v->v_type) {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6