From owner-freebsd-questions@FreeBSD.ORG Thu Dec 2 04:06:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7EE616A524 for ; Thu, 2 Dec 2004 04:06:47 +0000 (GMT) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 693DC43D1F for ; Thu, 2 Dec 2004 04:06:47 +0000 (GMT) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id 00E1F31F; Wed, 1 Dec 2004 22:06:46 -0600 (CST) Date: Wed, 1 Dec 2004 22:06:46 -0600 From: Tillman Hodgson To: freebsd-questions@freebsd.org Message-ID: <20041202035753.GG569@seekingfire.com> References: <41AA5AFC.2090902@fastmail.fm> <20041128201638.N66254@cactus.fi.uba.ar> <41AA663F.2030106@fastmail.fm> <41AE5BB9.1000902@daleco.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AE5BB9.1000902@daleco.biz> X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/personal/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers X-Tillman-rules: yes he does User-Agent: Mutt/1.5.6i Subject: Re: How to edit file in single user mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 04:06:47 -0000 On Wed, Dec 01, 2004 at 06:03:05PM -0600, Kevin D. Kinsey, DaleCo, S.P. wrote: > There was some discussion on the lists (IIRC) a while back > on the idea of building a small editor binary that you like > (trying to remember some of the possibilities: zed, ved, led, > sted, (but not ted), ee (already in the base system), pico, nano, > nah, can't really remember :-< ) and cp'ing it to /bin in preparation > for just such an emergency. With root partitions {generally} > being a tad larger these days than in the elder times, it might > be a feasible idea...I'm pretty sure *someone* out there has > tried it. Come to think of it, I may. :-) On i386 platforms, I build a copy of e3vi from ports and cp it to /root/bin. It's 12.8k (!) and, as long as you don't get too fancy, it's a reasonable vi clone. Saved my bacon a few times already. -T -- If you can spend a perfectly useless afternoon in a perfectly useless manner, you have learned how to live. Lin Yu-T'ang