From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 02:18:11 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 5132816A4CE for ; Fri, 3 Dec 2004 02:18:11 +0000 (GMT) Received: from moghedien.mukappabeta.net (moghedien.mukappabeta.net [194.145.150.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A60F743D2F for ; Fri, 3 Dec 2004 02:18:10 +0000 (GMT) (envelope-from mkb@mukappabeta.de) Received: from [192.168.2.10] (pD9542DE1.dip.t-dialin.net [217.84.45.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by moghedien.mukappabeta.net (Postfix) with ESMTP id C517F2D81; Fri, 3 Dec 2004 03:13:20 +0100 (CET) Message-ID: <41AFCCDC.6000109@mukappabeta.de> Date: Fri, 03 Dec 2004 03:18:04 +0100 From: Matthias Buelow User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: f-q@chvlva.adelphia.net References: <41AA5AFC.2090902@fastmail.fm> <20041128201638.N66254@cactus.fi.uba.ar> <41AA663F.2030106@fastmail.fm> <41AE5BB9.1000902@daleco.biz> <20041202032751.GA552@moo.holy.cow> In-Reply-To: <20041202032751.GA552@moo.holy.cow> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Trey Sizemore cc: freebsd-questions@freebsd.org 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: Fri, 03 Dec 2004 02:18:11 -0000 Parv wrote: > That reminds me of my old C++ class editor project. My version of the > editor -- ed like commands, no regex support, menu driven -- > statically compiled w/ GCC 3.4 & stripped takes 403 kB (-O1) or 389 kB > (-O2). (It has yet to go through a thorough review though. Anybody > care to take a look?) I suppose i could/should save a copy just in > case. That's pretty heavy, considering that without REs it would be roughly equivalent to the dreaded EDLIN.COM, which came in at around 7K. ;) -- Matthias Buelow; mkb@{mukappabeta,informatik.uni-wuerzburg}.de