From owner-freebsd-questions@FreeBSD.ORG Fri May 11 14:51:55 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03FE316A408 for ; Fri, 11 May 2007 14:51:55 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 9150013C484 for ; Fri, 11 May 2007 14:51:54 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so668495ugh for ; Fri, 11 May 2007 07:51:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kffilTSqRPiXSvMovw7MhPcHCk68P8hpmtTzoKSj5kHvEF2c3iexwxCbDPxvpF+dgG0JXeDTuUVGo9h6YwrdjyafSsZHeu5HymdhF0nhZJcNW9HYd9RjUaBFtWQ0LLcK6W91GTmoVtiKz3laaRKcg0h3aLIS+pfHVI8XiKmuTvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=llSUPz2bxZyu7hEMEpncIWk9pDbUV2PaND/ASzj6+SdT0R8hmAM/3SJaexaWjS1FABUaQnSoNMwRRaNZVrtLDykviTihl+tQGiXaLZyXo8BoaeXShXFPGBIiVlSJqP15GDsGFBrN5mYR7H/ZaZ9iZElm3Dd7liA5FXJ4M9Cpz08= Received: by 10.82.187.16 with SMTP id k16mr5718365buf.1178895108906; Fri, 11 May 2007 07:51:48 -0700 (PDT) Received: by 10.82.158.11 with HTTP; Fri, 11 May 2007 07:51:48 -0700 (PDT) Message-ID: <14989d6e0705110751xb9806e2p48c86e465a12de57@mail.gmail.com> Date: Fri, 11 May 2007 16:51:48 +0200 From: "Christian Walther" To: "Gabriel Rossetti" In-Reply-To: <464448B2.1020901@evotex.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <464448B2.1020901@evotex.ch> Cc: f-q Subject: Re: edit files in single-user-mode, the output is all messed up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 14:51:55 -0000 On 11/05/07, Gabriel Rossetti wrote: > Hello, > > I have never been able to figure out how to do this, and I usually end > up copying the file to be edited to a floppy et be able to edit it from > another machine, but there has to ba a way to do it! Everytime I go into > single-user-mode and I have to edit a file, the output to stdout is > messed up (looks like there are no \n). I tried several editors (vi, ee, > edit (ee I think), and I get the same thing, useless to say that it's > impossible to edit the files. The only editor that works, is vim, but > it's not always installed. Does anyone know why this happens? And does > anyone know how to fix it? You could try to set a decent TERM-variable, such as TERM=vt100 export TERM HTH Christian