1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Copyright (c) 2020 Joost van Baal-Ilić <joostvb-draai@mdcc.cx> -->
<head>
<meta name="keywords" content="manual">
<style type="text/css">
/* START aephea.base.css */
body
{ text-align: justify;
margin-left: 0%;
margin-right: 0%;
}
a:link { text-decoration: none; }
a:active { text-decoration: none; }
a:visited { text-decoration: none; }
a:link { color: #1111aa; }
a:active { color: #1111aa; }
a:visited { color: #111166; }
a.local:link { color: #11aa11; }
a.local:active { color: #11aa11; }
a.local:visited { color: #116611; }
a.intern:link { color: #1111aa; }
a.intern:active { color: #1111aa; }
a.intern:visited { color: #111166; }
a.extern:link { color: #aa1111; }
a.extern:active { color: #aa1111; }
a.extern:visited { color: #661111; }
a.quiet:link { color: black; }
a.quiet:active { color: black; }
a.quiet:visited { color: black; }
div.verbatim
{ font-family: monospace;
margin-top: 1em;
margin-bottom: 1em;
font-size: 10pt;
margin-left: 2em;
white-space: pre;
}
div.indent
{ margin-left: 8%;
margin-right: 0%;
}
.right { text-align: right; }
.left { text-align: left; }
.nowrap { white-space: nowrap; }
.item_leader
{ position: relative;
margin-left: 8%;
}
.item_compact { position: absolute; vertical-align: baseline; }
.item_cascade { position: relative; }
.item_leftalign { text-align: left; }
.item_rightalign
{ width: 2em;
text-align: right;
}
.item_compact .item_rightalign
{ position: absolute;
width: 52em;
right: -2em;
text-align: right;
}
.item_text
{ position: relative;
margin-left: 3em;
}
.smallcaps { font-size: smaller; text-transform: uppercase }
/* END aephea.base.css */
body { font-family: "Garamond", "Gill Sans", "Verdana", sans-serif; }
body
{ text-align: justify;
margin-left: 8%;
margin-right: 8%;
}
</style>
<title>dr_watch</title>
</head>
<body>
<p style="text-align:right">
15 дец 2020
<a class="local" href="dr_watch.ps"><b>dr_watch</b></a>
20201215
</p>
<a name="name"></a>
<h2>NAME</h2>
<p style="margin-bottom:0" class="asd_par">
dr_watch — execute a program periodically, showing output fullscreen</p>
<a name="synopsis"></a>
<h2>SYNOPSIS</h2>
dr_watch command
<a name="description"></a>
<h2>DESCRIPTION</h2>
dr_watch behaves like watch(1): it runs command repeatedly, displaying its
output. By defaults, it executes "sleep 2" before it refreshes the program's
output: it behaves as watch. However, unlike watch, it supports refreshing the
screen when some external command, passed in the DR_SLEEP_CMD environment
variable, exits.
If DR_NICE_WATCH is set to "false", it tests wether watch(1) is available on
the system and runs it if found.
<a name="environment"></a>
<h2>ENVIRONMENT</h2>
dr_watch honors integer DR_SLEEP: number of seconds to wait between execution;
DR_SLEEP_CMD: e.g. 'sleep 5' or 'mpc idle'; and DR_NICE_WATCH: set this to
"false" if you prefer traditional watch over our reimplementation.
<a name="copyright and license"></a>
<h2>COPYRIGHT AND LICENSE</h2>
This manpage is copyright 2009, 2011, 2012, 2018 Joost van Baal-Ilić <joostvb-draai@mdcc.cx>.
Draai is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License, as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version. This program is distributed WITHOUT ANY WARRANTY. You should have
received a copy of the GNU General Public License along with draai. If not,
see <a class="extern" href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.
<a name="author"></a>
<h2>AUTHOR</h2>
Joost van Baal-Ilić <joostvb-draai@mdcc.cx>
</body>
</html>
|