From owner-freebsd-current@FreeBSD.ORG Sun Nov 20 21:47:55 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 15D8C1065679; Sun, 20 Nov 2011 21:47:55 +0000 (UTC) Date: Sun, 20 Nov 2011 21:47:55 +0000 From: Alexander Best To: Jason Edwards Message-ID: <20111120214755.GA38320@freebsd.org> References: <5D3FFA12-BB54-4297-A098-3B85951ECEC5@lassitu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-current@freebsd.org 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 21:47:55 -0000 On Sun Nov 20 11, Jason Edwards wrote: > 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. i just grabbed a copy of "FreeBSD-9.0-RC2-amd64-dvd1.iso" and ran it in qemu. i noticed nothing irregular running ee. also TERM is set to "xterm" on the console. so this is either an issue with bash (have you tried running sh?) or something in your /etc is broken. cheers. alex > > Regards, > Jason