From owner-freebsd-current@FreeBSD.ORG Sat Jun 18 16:01:36 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C58C16A41C for ; Sat, 18 Jun 2005 16:01:36 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B1143D1D for ; Sat, 18 Jun 2005 16:01:35 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id j5IG1Pn1055527; Sat, 18 Jun 2005 09:01:25 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id j5IG1Grn055526; Sat, 18 Jun 2005 09:01:16 -0700 (PDT) (envelope-from sgk) Date: Sat, 18 Jun 2005 09:01:16 -0700 From: Steve Kargl To: Peter Jeremy Message-ID: <20050618160116.GA55448@troutmask.apl.washington.edu> References: <20050617214658.GA41804@troutmask.apl.washington.edu> <58826.1119044951@critter.freebsd.dk> <20050617220222.GA42080@troutmask.apl.washington.edu> <20050617220653.GA114@saltmine.radix.net> <20050617221353.GA48584@troutmask.apl.washington.edu> <20050618061603.GM50157@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050618061603.GM50157@cirb503493.alcatel.com.au> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Thomas Dickey Subject: Re: Replace /rescue/vi with mined(1) from DragonFlyBSD 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: Sat, 18 Jun 2005 16:01:36 -0000 On Sat, Jun 18, 2005 at 04:16:04PM +1000, Peter Jeremy wrote: > > > >-r-xr-xr-x 129 root wheel 3669272 Jun 17 15:09 /rescue/ee* > >-r-xr-xr-x 1 root wheel 3564216 Jun 17 14:50 /rescue/mined* > >-r-xr-xr-x 2 root wheel 3940176 Jun 16 15:56 /rescue/vi* > > Exactly what are you comparing here? /rescue/ee, /rescue/mined, and /rescue/vi. > Are these all crunched binaries built identically except > for the embedded editor? Sigh, of course! > If you're looking for ways to save space in /rescue, there are other > low-hanging fruit before you start moving to yet another editor: It's not just space. mined is a small, completely, self-contained editor that is SUFFICIENT for system recovery. It has the nice feature that F1 will print every key binding action on an 80x25 screen. > - It's difficult to justify both sh and [t]csh. > - echo (which is builtin both sh and [t]csh) > - test (which is builtin to sh) > - clri (which is builtin to fsdb) > - routed, rtquery, rtsol (recovering a hosed system shouldn't need a > routing daemon - a static route to the backup server should do) Go for it. Delete the above and submit a patch. I'll enjoy the ensuing religious war over sh and csh. > - pax (when the new libarchive tar is available) This is the freebsd-current mailing list. > - id (there's no 'su' so how can I be anything other than root?) Look at the Makefile. > >This is an editor meant for recovering a system. It's not > >a full blown kitchen sink. > > I don't think anyone is suggesting that we include emacs in /rescue :-) The crunched /rescue/vi is 360 kB larger than the crunched /rescue/mined. It may not be THE kitcken sink of editors, but it is certainly overkill for system recovery. -- Steve