From owner-freebsd-stable@FreeBSD.ORG Wed Oct 31 11:20:32 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80ED916A419 for ; Wed, 31 Oct 2007 11:20:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6D46013C4B6 for ; Wed, 31 Oct 2007 11:20:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 017E51CC066; Wed, 31 Oct 2007 04:20:12 -0700 (PDT) Date: Wed, 31 Oct 2007 04:20:12 -0700 From: Jeremy Chadwick To: "[LoN]Kamikaze" Message-ID: <20071031112012.GA17701@eos.sc1.parodius.com> References: <47283B2B.805@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47283B2B.805@gmx.de> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-stable@freebsd.org Subject: Re: single user mode broken on RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 11:20:32 -0000 On Wed, Oct 31, 2007 at 09:22:03AM +0100, [LoN]Kamikaze wrote: > Since I switched to RELENG_7 I cannot use /rescue/vi in single user mode any > more. It will just print everything in the bottom line of the screen, so it's > impossible to navigate in a document or see what you're doing. Are you on from a serial console or something like that? (E.g. ssh'd into a machine, then using console or a Portmaster or cu/tip). The reason I mention this: I see what you do when I'm on a machine remotely via serial console in single-user mode (e.g. using Windows XP with PuTTY to ssh into a machine and use console or cu to connect to another box via serial console). The solution for this is to run "stty rows XX columns YY" and specify the size of your terminal window. Also (in the case of PuTTY) saying "setenv TERM xterm" should help too. If you're doing all of this from the actual VGA console itself, make sure your TERM is cons25 and not something else. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |