From owner-freebsd-questions@FreeBSD.ORG Mon May 31 17:45:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 108A31065670 for ; Mon, 31 May 2010 17:45:33 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDDC8FC25 for ; Mon, 31 May 2010 17:45:31 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o4VHj9Ob011307 Received: from kobe.laptop (ppp-94-64-236-75.home.otenet.gr [94.64.236.75]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o4VHj9Ob011307 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 31 May 2010 20:45:15 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o4VHj9kt064710 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 May 2010 20:45:09 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o4VHj8M1064705; Mon, 31 May 2010 20:45:08 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: freebsd-questions@freebsd.org References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> <20100530232827.GB97659@guilt.hydra> <87zkzgsllg.fsf@kobe.laptop> <20100531155900.GA1417@guilt.hydra> Date: Mon, 31 May 2010 20:45:07 +0300 In-Reply-To: <20100531155900.GA1417@guilt.hydra> (Chad Perrin's message of "Mon, 31 May 2010 09:59:00 -0600") Message-ID: <874ohoynh8.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: text editor 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: Mon, 31 May 2010 17:45:33 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin wrote: >> Vim is much smaller than Emacs but it still a few MB's here: >> >> keramida@kobe:/usr/ports/packages/All$ ls -ld vim* >> -rw-r--r-- 1 root wheel - 5757731 1 =CE=91=CF=80=CF=81 17:11 vim-l= ite-7.2.344.tbz > > Does Vim install more than the binary? I've got this: > > > ls -l /usr/local/bin/vim > -rwxr-xr-x 1 root wheel 1650340 Apr 18 12:20 /usr/local/bin/vim Yes, it does: help files; syntax highlighting rules; manpages; around 14 binaries in /usr/local/bin; including more than a thousand files in /usr/local/share. > I don't think the size of the installation tarball is necessarily > representative of the final size. For modern editors like Vim and Emacs the binary is pretty much a basic 'scripting engine' that loads plugins, scripts and other data files to present an editing user interface to the user. The last Emacs binary I compiled is 13 MB: keramida@kobe:/opt/emacs/bin$ ls -ld emacs-* -rwxr-xr-t 2 root wheel - 13395130 31 =CE=9C=CE=B1=CF=8A 20:13 emacs-2= 4.0.50 The full Emacs installation in /opt/emacs is more than 110 MB: keramida@kobe:/opt/emacs$ du -sk . 113298 . The binary itself is a small part of the installation; almost 1/10 of the full size of GNU Emacs. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwD9aQACgkQ1g+UGjGGA7a0VgCfTERvqbfCo3BMdnels2/zBnqT 2z4AnArMr+ibtR9zzT/ExJIPXLrga/Ja =4qsp -----END PGP SIGNATURE----- --=-=-=--