Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 16:05
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to install Vim package from Slackware
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
bwongchaowart

Joined: 08 Aug 2005
Posts: 8
Location: Pennsylvania

PostPosted: Mon 08 Aug 2005, 02:43    Post subject:  How to install Vim package from Slackware  

This may seem like trivial information to experienced Linux users but this post would have saved me some time and trouble, so it might help someone else.

Some time ago JohnMurga posted an older version of Vim compiled with minimal features
(http://www.murga.org/~puppy/viewtopic.php?t=53&highlight=vim). The advantage of that, naturally, was a small binary, but since I love Vim, I wanted an up-to-date version with a richer feature set. I don't have a compiling environment for Puppy set up (that would, of course, be best), so I downloaded the latest Slackware Vim package. At the moment this is version 6.3, patch level 85, compiled two weeks ago. I got this from http://mirrors.usc.edu/pub/linux/distributions/slackware/slackware-current/slackware/ap/vim-6.3.085-i486-1.tgz.
It needed libgpm (http://mirrors.usc.edu/pub/linux/distributions/slackware/slackware-current/slackware/a/gpm-1.19.6-i486-6.tgz).

Installation was self-evident: I put libgpm.so.1.18.0 into /usr/lib/ and the Vim executable into /usr/bin/. To save space, I placed the Vim runtime files into a squashfs which I mounted onto /usr/share/vim/. Then I needed to make a symbolic link from /usr/lib/libgpm.so.1 to /usr/lib/libgpm.so.1.18.0.

For some reason the default history setting was 0, which meant that there was no command line history, so I had to add "set history=20" to .vimrc. (I haven't checked the other settings yet -- adjust as necessary.) Otherwise, it seems to work, although I haven't tested it rigorously. I'm using Puppy version 1.0.4 and the library versions are not exactly the same as Slackware's; I don't know if this is a problem but Vim hasn't done anything unexpected yet.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0427s ][ Queries: 11 (0.0076s) ][ GZIP on ]