top not restoring terminal echo/icanon correctly

Freddie Cash fjwcash at
Tue Apr 17 19:38:47 UTC 2012

On Tue, Apr 17, 2012 at 11:22 AM, Jeremy Chadwick
<freebsd at> wrote:
> (Please keep me CC'd as I'm not subscribed to the list)
> I'd like to request that folks running RELENG_8 (and RELENG_9, though I
> do not use it) please check the behaviour of their terminal after each
> of following commands are run (check terminal after each command):
> top -a  (press "q" after 1 screen refresh)
> top -b

FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #4
r233844: Tue Apr 10 13:28:22 PDT 2012
root at  amd64

Both commands work correctly for me with TOP=CHP in the env, and with
TOP unset in the env.

Connecting to the console over the network using the console
redirection support in the SuperMicro K8HDGi-F motherboard.

Connecting to the terminal running tmux via SSH also works for both commands.

Have not tested either command while physically at the console.

Tested under ZSH as a normal user and CSH as root.

Freddie Cash
fjwcash at

More information about the freebsd-stable mailing list