1: /*
   2:  * @(#)defs.h	3.16 4/24/85
   3:  */
   4: 
   5: /*
   6:  * Copyright (c) 1983 Regents of the University of California,
   7:  * All rights reserved.  Redistribution permitted subject to
   8:  * the terms of the Berkeley Software License Agreement.
   9:  */
  10: 
  11: #include "ww.h"
  12: #include <sys/time.h>
  13: 
  14: #define NWINDOW 9
  15: 
  16: struct timeval starttime;
  17: 
  18: struct ww *window[NWINDOW]; /* the windows */
  19: struct ww *selwin;      /* the selected window */
  20: struct ww *lastselwin;      /* the last selected window */
  21: struct ww *cmdwin;      /* the command window */
  22: struct ww *framewin;        /* the window for framing */
  23: struct ww *boxwin;      /* the window for the box */
  24: struct ww *fgwin;       /* the last foreground window */
  25: 
  26: #define isfg(w)     ((w)->ww_order <= fgwin->ww_order)
  27: 
  28: char *shell[128];       /* the shell argv */
  29: char *shellfile;        /* the shell program */
  30: int nbufline;           /* default buffer size for new windows */
  31: char escapec;           /* the escape character */
  32: 
  33:     /* flags */
  34: char quit;          /* quit command issued */
  35: char terse;         /* terse mode */
  36: char debug;         /* debug mode */
  37: char incmd;         /* in command mode */
  38: 
  39: struct ww *getwin();
  40: struct ww *openwin();
  41: struct ww *vtowin();
  42: struct ww *openiwin();

Defined variables

boxwin defined in line 23; used 28 times
debug defined in line 36; used 13 times
fgwin defined in line 24; used 8 times
incmd defined in line 37; used 5 times
lastselwin defined in line 20; used 7 times
quit defined in line 34; used 5 times
starttime defined in line 16; used 3 times

Defined macros

isfg defined in line 26; used 4 times

Usage of this include

Last modified: 1987-02-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2517
Valid CSS Valid XHTML 1.0 Strict