Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 13:07:10 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: top not restoring terminal echo/icanon correctly
Message-ID:  <CAOjFWZ6SkdHiS5uZgZ6YCYGN%2BbfGuNqVZhbZD35kdPABN=WL%2Bg@mail.gmail.com>
In-Reply-To: <CAOjFWZ4=QTGT7gM0=sq_Aq4UBSGFt3ezxO0-8APYwnGaYGdmmg@mail.gmail.com>
References:  <20120417182242.GA58449@icarus.home.lan> <CAOjFWZ4=QTGT7gM0=sq_Aq4UBSGFt3ezxO0-8APYwnGaYGdmmg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 17, 2012 at 12:38 PM, Freddie Cash <fjwcash@gmail.com> wrote:
> On Tue, Apr 17, 2012 at 11:22 AM, Jeremy Chadwick
> <freebsd@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 =C2=A0(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@omegadrive.sd73.bc.ca:/usr/obj/usr/src/sys/ZFSHOST90 =C2=A0amd64
>
> Both commands work correctly for me with TOP=3DCHP 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=3Dxterm.

> Connecting to the terminal running tmux via SSH also works for both comma=
nds.

The tmux session has TERM=3Dscreen.

> Have not tested either command while physically at the console.
>
> Tested under ZSH as a normal user and CSH as root.

--=20
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6SkdHiS5uZgZ6YCYGN%2BbfGuNqVZhbZD35kdPABN=WL%2Bg>