top not restoring terminal echo/icanon correctly

Freddie Cash fjwcash at gmail.com
Tue Apr 17 20:07:16 UTC 2012


On Tue, Apr 17, 2012 at 12:38 PM, Freddie Cash <fjwcash at gmail.com> wrote:
> On Tue, Apr 17, 2012 at 11:22 AM, Jeremy Chadwick
> <freebsd at jdc.parodius.com> 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 omegadrive.sd73.bc.ca 9.0-STABLE FreeBSD 9.0-STABLE #4
> r233844: Tue Apr 10 13:28:22 PDT 2012
> root at omegadrive.sd73.bc.ca:/usr/obj/usr/src/sys/ZFSHOST90  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.

Just an update.  The console session has TERM=xterm.

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

The tmux session has TERM=screen.

> 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 gmail.com


More information about the freebsd-stable mailing list