Date: Fri, 21 Mar 2003 10:30:51 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Giorgos Keramidas <keramida@freebsd.org> Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/gstat Makefile gstat.c Message-ID: <5301.1048239051@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 21 Mar 2003 05:11:22 %2B0200." <20030321031122.GA3832@gothmog.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Please just commit it yourself :-) In message <20030321031122.GA3832@gothmog.gr>, Giorgos Keramidas writes: >On 2003-03-20 12:48, Poul-Henning Kamp <phk@FreeBSD.org> wrote: >> phk 2003/03/20 12:48:41 PST >> >> FreeBSD src repository >> >> Modified files: >> usr.sbin Makefile >> Added files: >> usr.sbin/gstat Makefile gstat.c >> Log: >> Add a rudimentary gstat(8) to the system. >> >> This is a small curses based program which shows the diskactivity >> inside GEOM. > >It's a good idea to call endwin() too at the end of a curses program. >Otherwise my terminal remains in cbreak mode which is a bit annoying, >since it messes things up royally :) > >--- patch start --- >Index: gstat.c >=================================================================== >RCS file: /home/ncvs/src/usr.sbin/gstat/gstat.c,v >retrieving revision 1.1 >diff -u -r1.1 gstat.c >--- gstat.c 20 Mar 2003 20:48:41 -0000 1.1 >+++ gstat.c 21 Mar 2003 03:08:28 -0000 >@@ -228,5 +228,7 @@ > break; > } > } >+ >+ endwin(); > exit (0); > } >--- patch end --- > > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5301.1048239051>