[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: switching to vim-tiny for standard vi? -> which editor should be standard?


Since I have not seem posting from Miquel...

For this discussion of "Which editor should be installed as default on`
the each Debian system?", I think more technical discussion should be
done.  This is old topic. We can always install nano, nvi or vim-* later
as you wish by "sudo aptitude install <your-editor>" :-)

(Disclaimer: I use vim exclusively.)

> From: Stefano Zacchiroli <zack@debian.org>
> Hi Joey, vim-tiny is available in debian/unstable. There are still some
> minor bugs, but the package is fine. The installed-size of it and of
> vim-common are as I anticipated (776 + 232 on i386); the only additional
> dependencies are libc6 and libncurses5.

Well is this small?  By the way, we should also check nano too.

Let me review some status of small editors. (Listed by the size)

Package: elvis-tiny
Priority: optional
Installed-Size: 148
Maintainer: Miquel van Smoornburg <miquels@cistron.nl>
Version: 1.4-20
Pre-Depends: libc6 (>= 2.3.2.ds1-21), libncurses5 (>= 5.4-1)
Size: 46090

Package: nano-tiny
Priority: optional
Installed-Size: 220
Source: nano
Version: 1.3.9-1
Depends: libc6 (>= 2.3.5-1), libslang2 (>= 2.0.1-1)
Size: 138512

Package: nvi
Priority: important
Installed-Size: 632
Version: 1.79-22
Depends: libc6 (>= 2.3.2.ds1-4), libncurses5 (>= 5.4-1)
Size: 288166

Package: vim-tiny
Priority: optional
Installed-Size: 776
Version: 1:6.4-006+1
Depends: vim-common (= 1:6.4-006+1), libc6 (>= 2.3.5-1), libncurses5 (>= 5.4-5)
Size: 377374

Package: vim-common
Priority: optional
Section: editors
Installed-Size: 228
Version: 1:6.4-006+1
Recommends: vim | vim-tiny
Size: 80504

--> This means vim-tiny, it took Installed-Size: 1004 and Size: 457878

Package: nano
Priority: important
Installed-Size: 1380
Version: 1.3.9-1
Depends: libc6 (>= 2.3.5-1), libncursesw5 (>= 5.4-5)
Size: 461694

So aside from vim-tiny, what we have in sid priority important, nvi and
nano, are not smallest editors for the job.  From technical point, we
should chose elvis-tiny and nano-tiny.  Both of these editor have
commands in /bin which is always with us. (What happens if you have NFS
mounted /usr ?)

In terms of updating editors which is installed as the default rescue
system, we should chose small ones: nano-tiny and elvis-tiny.
(elvis-tiny is another vi-clone.).

Sarge installer installs nano and nvi.  I thought it was sort of
overlooked bug of installer.  nano and nvi are in /usr/bin.



Attachment: signature.asc
Description: Digital signature

Reply to: