added "more" command
[unix-history] / usr / src / usr.bin / window / wwmisc.c
index 0f690ed..fa3072a 100644 (file)
@@ -1,8 +1,16 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)wwmisc.c    3.6 84/04/08";
+static char sccsid[] = "@(#)wwmisc.c   3.9 %G%";
 #endif
 
 #endif
 
+/*
+ * Copyright (c) 1983 Regents of the University of California,
+ * All rights reserved.  Redistribution permitted subject to
+ * the terms of the Berkeley Software License Agreement.
+ */
+
 #include "ww.h"
 #include "ww.h"
+#include "tt.h"
+#include "char.h"
 
 /*
  * Sufficient but not necessary test for total visibility.
 
 /*
  * Sufficient but not necessary test for total visibility.
@@ -22,3 +30,8 @@ register struct ww *w;
                nvis++;
        return nvis == w->ww_i.nr * w->ww_i.nc;
 }
                nvis++;
        return nvis == w->ww_i.nr * w->ww_i.nc;
 }
+
+wwbell()
+{
+       ttputc(ctrl(g));
+}