From owner-freebsd-current@FreeBSD.ORG Sun Nov 20 13:41:36 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F541106566C for ; Sun, 20 Nov 2011 13:41:36 +0000 (UTC) (envelope-from sub.mesa@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6264B8FC0A for ; Sun, 20 Nov 2011 13:41:36 +0000 (UTC) Received: by ywe9 with SMTP id 9so5638896ywe.13 for ; Sun, 20 Nov 2011 05:41:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jKUDFBHrXRXwBCLbx1y2M9G4DAzNApLNptXNDpppwzA=; b=XjjRMiIw8sv06s/bFJBPY9zG2dsEVRlDl/u9SgAaAlezfg0JfTJj6lzdDiBdssQMUN Hpde+EOI6mOhXJveN32WJQpFrHQ7ddhYXYkTU/lqz6r9Zv++Zk3BugGvmu842MaITggs g3CjVvIffFz4KsY8zTtmjYb/r7sJeTKDCEX/4= MIME-Version: 1.0 Received: by 10.236.185.68 with SMTP id t44mr14746320yhm.41.1321796495736; Sun, 20 Nov 2011 05:41:35 -0800 (PST) Received: by 10.236.79.233 with HTTP; Sun, 20 Nov 2011 05:41:35 -0800 (PST) In-Reply-To: <5D3FFA12-BB54-4297-A098-3B85951ECEC5@lassitu.de> References: <5D3FFA12-BB54-4297-A098-3B85951ECEC5@lassitu.de> Date: Sun, 20 Nov 2011 14:41:35 +0100 Message-ID: From: Jason Edwards To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ee (easy editor) bugged on 9.0? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2011 13:41:36 -0000 On Sat, Nov 19, 2011 at 6:07 PM, Stefan Bethke wrote: > Am 19.11.2011 um 17:29 schrieb Jason Edwards: > >> Dear list, >> >> Has anyone noticed the easy editor is quite bugged on 9.0? On console >> direct access, opening the easy editor has several bugs: >> >> 1) the cursor starts on line 2 instead of line 1 >> 2) the line numbering is printed on line 1 instead of the boundary (line 0) >> 3) the keys page up and page down bring the escape menu >> >> Strange enough, if I SSH into the box the ee editor works normally. So >> I'm wondering if this is something other people have noticed? Just >> want to exclude the possibility of me doing something wrong. >> >> I've noticed this behavior on 9-CURRENT, 9.0-RC1 as well as 9.0-RC2, >> amd64. GENERIC kernel and tested inside Virtualbox. > > Working fine here on 9.0-RC1. > > Is this a fresh install, or did you upgrade? Have you updated your ttys to set the terminal type to xterm instead of cons25? This is a fresh install. I do make a LiveCD using scripted tools. But it pretty much is a vanilla FreeBSD install with just some packages preinstalled (webserver, php, etc). The only relevant changes I think are a change to /etc/ttys. But when I revert the file back to the defaults, the problem stays. I thought that perhaps Virtualbox had something to do with it, but it seems to happen on a real system as well. Some of you asked for the environmental settings. Using 'env' the output begins with: -- on console -- TERM=cons25 SHELL=/usr/local/bin/bash -- via SSH -- TERM=xterm SHELL=/usr/local/bin/bash Via SSH the ee editor works as it should. On the console it is bugged. Regards, Jason