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.
--
| Jerem
The following reply was made to PR bin/161739; it has been noted by GNATS.
From: Jeremy Chadwick
To: freebsd-gnats-sub...@freebsd.org, freebsd-bugs@FreeBSD.org
Cc:
Subject: Re: bin/161739: top -b does not restore ICANON and ECHO terminal
capabilities when exiting
Date: Mon, 17 Oct 2011 11:55
The following reply was made to PR bin/161739; it has been noted by GNATS.
From: Alexander Best
To: Jeremy Chadwick
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: bin/161739: top -b does not restore ICANON and ECHO terminal
capabilities when exiting
Date: Mon, 17 Oct 2011 12:08:13 +
>Number: 161739
>Category: bin
>Synopsis: top -b does not restore ICANON and ECHO terminal capabilities
>when exiting
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible:freebsd-bugs
>State: open
>Quarter:
>Keywords: