LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] editor wars: vim vs. nvi

[ILUG] editor wars: vim vs. nvi

Rick Moen rick at linuxmafia.com
Thu Aug 11 17:46:25 IST 2005


Quoting Ken Guest (ilug at ken.guest.cx):

> To me this means nvi is a dead duck - and I'd be seriously surprised if there
> is anything it can do well that vim can not. 

ObQuibble:  Run in incredibly tiny amounts of memory, and reside in a
single, extremely tiny binary file.  In case anyone cares.

Not that vim's exactly memory-hungry by _modern_ standards, with a 2.5MB
Resident Set Size:

  [rick at linuxmafia]
  ~ $ top -b -n 1 | grep vim
  22233 rick       9   0  2576 2576 1588 S  0.0  1.0   0:00.21 vim 
  [rick at linuxmafia]

...or is a disk-hog by modern standards:

   [rick at linuxmafia]
   ~ $ ldd /usr/bin/vim
          libncurses.so.5 => /lib/libncurses.so.5 (0x4001e000)
          libgpm.so.1 => /usr/lib/libgpm.so.1 (0x4005d000)
          libdl.so.2 => /lib/libdl.so.2 (0x40063000)
          libc.so.6 => /lib/libc.so.6 (0x40067000)
          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
  [rick at linuxmafia]
  ~ $ ls -l /usr/bin/vim
  -rwxr-xr-x  1 root root 1074520 2005-01-18 23:59 /usr/bin/vim
  [rick at linuxmafia]

But, for the record, nvi's tinier still.  By a wide margin.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell