From owner-freebsd-questions@FreeBSD.ORG Wed May 16 12:23:19 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 7B77516A400 for ; Wed, 16 May 2007 12:23:19 +0000 (UTC) (envelope-from mailing_lists@evotex.ch) Received: from mail2.heig-vd.ch (mail2.heig-vd.ch [193.134.216.149]) by mx1.freebsd.org (Postfix) with ESMTP id 11D6B13C44C for ; Wed, 16 May 2007 12:23:18 +0000 (UTC) (envelope-from mailing_lists@evotex.ch) Received: from localhost (localhost [127.0.0.1]) by mail2.heig-vd.ch (8.13.7/8.13.1/MailGateway 2.01) with ESMTP id l4GCNHF4030663; Wed, 16 May 2007 14:23:17 +0200 X-Virus-Scanned: amavisd-new from YCOM SA at heig-vd.ch Received: from mail2.heig-vd.ch ([127.0.0.1]) by localhost (mail2.heig-vd.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FTGfJEryLG9X; Wed, 16 May 2007 14:23:16 +0200 (CEST) Received: from EINT11.einet.ad.eivd.ch ([10.192.41.28]) by mail2.heig-vd.ch (8.13.7/8.13.1/MailGateway 2.01) with ESMTP id l4GCNCet030659; Wed, 16 May 2007 14:23:14 +0200 Received: from [10.192.60.129] ([10.192.60.129]) by EINT11.einet.ad.eivd.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 May 2007 14:23:12 +0200 Message-ID: <464AF7B0.2070909@evotex.ch> Date: Wed, 16 May 2007 14:23:12 +0200 From: Gabriel Rossetti User-Agent: Thunderbird 1.5.0.10 (X11/20070304) MIME-Version: 1.0 To: Christian Walther References: <464448B2.1020901@evotex.ch> <14989d6e0705110751xb9806e2p48c86e465a12de57@mail.gmail.com> In-Reply-To: <14989d6e0705110751xb9806e2p48c86e465a12de57@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 May 2007 12:23:12.0832 (UTC) FILETIME=[F8DA6C00:01C797B4] 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: Wed, 16 May 2007 12:23:19 -0000 Christian Walther wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Ok, thanks Christian!