Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59924 - Wish: Have vim install as a system editor and not install in /usr
Summary: Wish: Have vim install as a system editor and not install in /usr
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 20:36 UTC by Richard Fujimoto
Modified: 2004-08-12 11:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Fujimoto 2004-08-09 20:36:19 UTC
If it's possible, I would like to suggest that the vim.eclass installs the vim binary and all necessary files in /bin not in /usr/bin.

Since /usr is on a seperate partition for me, and I had already uninstalled nano, I was without an editor during a failed boot up.  I had to cat,grep,sed a file to edit it.

Perhaps a local use flag for vim that when enabled built vim as a system editor "BINDIR=/bin" and when disabled, "BINDIR=/usr/bin" ?

I `ldd` the /usr/bin/vim executable and it output this:

ldd /usr/bin/vim
        linux-gate.so.1 =>  (0xffffe000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x4002c000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0x4006d000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x40073000)
        libutil.so.1 => /lib/libutil.so.1 (0x40178000)
        libc.so.6 => /lib/libc.so.6 (0x4017b000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4028f000)
        libm.so.6 => /lib/libm.so.6 (0x402a0000)
        libdl.so.2 => /lib/libdl.so.2 (0x402c2000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x402c5000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x402d9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Reproducible: Always
Steps to Reproduce:
Comment 1 Ciaran McCreesh 2004-08-12 11:29:03 UTC
This isn't really possible, since we'd need to have a /share/vim* for the runtime files. If you need a small system editor, there's always sys-apps/ed...