Date: Mon, 31 May 2010 20:45:07 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-questions@freebsd.org Subject: Re: text editor Message-ID: <874ohoynh8.fsf@kobe.laptop> In-Reply-To: <20100531155900.GA1417@guilt.hydra> (Chad Perrin's message of "Mon, 31 May 2010 09:59:00 -0600") References: <4C01DD3F.3040000@a1poweruser.com> <871vct44ww.fsf@kobe.laptop> <20100530232827.GB97659@guilt.hydra> <87zkzgsllg.fsf@kobe.laptop> <20100531155900.GA1417@guilt.hydra>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin <perrin@apotheon.com> 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----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874ohoynh8.fsf>