Date: Mon, 17 Oct 2011 11:55:42 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/161739: top -b does not restore ICANON and ECHO terminal capabilities when exiting Message-ID: <20111017185542.GA97233@icarus.home.lan> In-Reply-To: <201110171200.p9HC0OK2051258@freefall.freebsd.org> References: <20111017115534.EB277102C1C@icarus.home.lan> <201110171200.p9HC0OK2051258@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Follow-up: Something I was thinking about as I was falling asleep last night: there's a good possibility the problem is actually reversed. That is to say, ICANON/ECHO is being adjusted when in "top -b" mode it shouldn't be. If this is the case, some simple if()s should do the trick. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111017185542.GA97233>