From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 14 Sep 2006 05:32:03 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20060914013203.GC17693@localhost.localdomain> Mail-Followup-To: devel@lists.altlinux.org References: <20060914005144.GZ17693@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eu8nj/18vubUeVCi" Content-Disposition: inline In-Reply-To: <20060914005144.GZ17693@localhost.localdomain> Subject: Re: [devel] procps.git X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 01:32:04 -0000 Archived-At: List-Archive: List-Post: --eu8nj/18vubUeVCi Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 14, 2006 at 04:51:44AM +0400, Alexey Tourbin wrote: > $ git-log -p --max-count=3D1 > commit 64ef9663bc217c76ee80007a8cda189a3c7e6919 > Author: Alexey Tourbin > Date: Thu Sep 14 04:42:46 2006 +0400 >=20 > Implement the following behaviour: > =20 > 1) execute a program also when a key is pressed; > 2) but if that key is 'q' then exit instead. > =20 > This makes watch look more like an interactive program. >=20 > diff --git a/procps/watch.c b/procps/watch.c > index 18ded5e..4abad74 100644 > --- a/procps/watch.c > +++ b/procps/watch.c =EB=D3=D4=C1=D4=C9 =D0=CF=C8=CF=D6=C5 =DE=D4=CF git =C7=CC=C0=DE=C9=D4. = =FA=C4=C5=D3=D8 =C4=CF=CC=D6=CE=CF =C2=D9=D4=D8 =CE=C1=D0=C9=D3=C1=CE=CF --- a/procps/procps/watch.c +++ b/procps/procps/watch.c =F0=D2=CF=D3=D4=CF =D1 =D3=C4=C5=CC=C1=CC =CB=CF=CD=CD=C9=D4 =D7 =CB=C1=D4= =C1=CC=CF=C7=C5 procps, =CE=C1=D7=C5=D2=CE=CF=C5 =D0=CF=DC=D4=CF=CD=D5 git =D0=CF=CB=C1=DA=D9=D7=C1=C5=D4 =CE=C5 =D0=CF=CC=CE=D9=CA =D0=D5=D4=D8. > @@ -20,6 +20,7 @@ #include > #include > #include > #include > +#include > #include > #include > #include --eu8nj/18vubUeVCi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFCLETfBKgtDjnu0YRApcXAKCRYyLUo/cbf3VRL6c3ZegtZgs/PgCgz8XA dWv5xwHgMqIqGr1w45zRXNM= =qH/m -----END PGP SIGNATURE----- --eu8nj/18vubUeVCi--