text editor

Giorgos Keramidas keramida at ceid.upatras.gr
Mon May 31 17:45:33 UTC 2010


On Mon, 31 May 2010 09:59:00 -0600, Chad Perrin <perrin at apotheon.com> wrote:
>> Vim is much smaller than Emacs but it still a few MB's here:
>>
>>   keramida at kobe:/usr/ports/packages/All$ ls -ld vim*
>>   -rw-r--r--  1 root  wheel  - 5757731  1 Απρ 17:11 vim-lite-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 at kobe:/opt/emacs/bin$ ls -ld emacs-*
  -rwxr-xr-t  2 root  wheel  - 13395130 31 Μαϊ 20:13 emacs-24.0.50

The full Emacs installation in /opt/emacs is more than 110 MB:

  keramida at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100531/d9ea5f83/attachment.pgp


More information about the freebsd-questions mailing list