Want to install "vi" on your Puppy?
Want to install "vi" on your Puppy?
The classic editor! You'll need to compile it, so you'll need the devx sfs too, but if you take the following source:
http://nchc.dl.sourceforge.net/sourcefo ... 25.tar.bz2
Edit the Makefile to suit (it's too early to have a configure script) ; make ; make install.
Also install the following file in /etc/termcap:
http://www.ambienteto.arti.benicultural ... termcap.gz
Then it works well. You can log in remotely to your Puppy box and edit files!
The executable is only 226kb and the termcap is 9300 bytes approx.
I can't make pets or pup files yet but perhaps someone else will.
http://nchc.dl.sourceforge.net/sourcefo ... 25.tar.bz2
Edit the Makefile to suit (it's too early to have a configure script) ; make ; make install.
Also install the following file in /etc/termcap:
http://www.ambienteto.arti.benicultural ... termcap.gz
Then it works well. You can log in remotely to your Puppy box and edit files!
The executable is only 226kb and the termcap is 9300 bytes approx.
I can't make pets or pup files yet but perhaps someone else will.
Sounds like an excellent concept - (installing for selves)
E3 asides not-withstanding
Conversely - it is rather insouciant to assume anything - & dismiss off-handedly. when not aware
VIM is highly desirable , I.E. IF a user knows how code -
Esp. in conjunction to use w/Ruby/Python, for formatting assists;
Indentation > automated interpreted language functions etal.
Again, that usage was not AFAIK - the targeted Puppy base of users
E3 asides not-withstanding
Conversely - it is rather insouciant to assume anything - & dismiss off-handedly. when not aware
VIM is highly desirable , I.E. IF a user knows how code -
Esp. in conjunction to use w/Ruby/Python, for formatting assists;
Indentation > automated interpreted language functions etal.
Again, that usage was not AFAIK - the targeted Puppy base of users
There is a vim.pup here
http://www.erikveen.dds.nl/qemupuppy/index.html#7.0.0
I seem to have a dotpet of 7.0 sitting in my downloads as well that is 6MB I'm not quite sure where it came from.
<humour>
http://www.softpanorama.org/Editors/Vim ... umor.shtml
</humour>
http://www.erikveen.dds.nl/qemupuppy/index.html#7.0.0
I seem to have a dotpet of 7.0 sitting in my downloads as well that is 6MB I'm not quite sure where it came from.
<humour>
http://www.softpanorama.org/Editors/Vim ... umor.shtml
</humour>
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]
- Colonel Panic
- Posts: 2171
- Joined: Sat 16 Sep 2006, 11:09
Thanks HW, I'm downloading it (vim) now. If it's too arcane for anyone there's a good add-on program called Cream withich works on top of GVim and gives a number of additional features including an easy editing mode and a range of "themes" giving different colour choices for the text and background.
-
- Posts: 1
- Joined: Fri 25 May 2007, 03:36
Compile vim
Download divx from
ftp://ibiblio.org/pub/linux/distributio ... vx_216.sfs
mount it at boot time. use "BootManager configure bootup" tool in puppy "system" menu
to do that or install with the procedure given bellow (warning: if you install it you cant remove it)
download vim -7.1 source from
ftp://ftp.vim.org/pub/vim/unix/vim-7.1.tar.bz2
unpack the source
go to source directory
Thats it....., it worked for me...
ftp://ibiblio.org/pub/linux/distributio ... vx_216.sfs
mount it at boot time. use "BootManager configure bootup" tool in puppy "system" menu
to do that or install with the procedure given bellow (warning: if you install it you cant remove it)
Code: Select all
1. mount the partition that Puppy is installed to (say /mnt/hda2).
2. Copy devx_2xx.sfs to /mnt/hda2/tmp.
3. # cd /mnt/hda2/tmp
4. # losetup /dev/loop2 devx_2xx.sfs
5. # mkdir mntpt
5. # mount -t squashfs /dev/loop2 mntpt
6. # cp -a --remove-destination mntpt/* /mnt/hda2/
7. # sync
8. # umount mntpt
9. # rmdir mntpt
10 # cd /
11 # umount /mnt/hda2
ftp://ftp.vim.org/pub/vim/unix/vim-7.1.tar.bz2
unpack the source
Code: Select all
tar -xjvf vim-7.1.tar.bz2
Code: Select all
./configure
make
make install
Just a quick note - the procedure outlined by nayanajith above works fine for me with Puppy 3.01. I came to this solution after trying the .pup install mentioned elsewhere, as the .pup file was not readable (error message about corruption) under Puppy 3.01.
Very happy to have vim in place!
Thanks, nayanajith
Dave
Very happy to have vim in place!
Thanks, nayanajith
Dave
gvim for Puppy 3.01
Puppy newbie here. Sure would like to have vim / gvim running under Puppy 3.01. Can someone provide a link or suggestion for a Linux / Puppy newbie?
Many thanks,
Afto
Many thanks,
Afto
Hi there,
Have vim installed for programming practice, feels good and handsome. Yet I fail to get the keys on the NumLock works. So, I add the following lines to .vimrc
set t_K6=^[Ok
set t_K7=^[Om
set t_K8=^[Oo
set t_K9=^[Oj
set t_KA=^[OM
set t_KB=^[On
set t_KC=^[Op
set t_KD=^[Oq
set t_KE=^[Or
set t_KF=^[Os
set t_KG=^[Ot
set t_KH=^[Ou
set t_KI=^[Ov
set t_KJ=^[Ow
set t_KK=^[Ox
set t_KL=^[Oy
Well, actually it works in GUI mode. But when I run vim from command line, it just gives me some letters rather than numbers.
Is it something related to the terminal? If I use :set term=ansi , it works but then it creates other problems. The syntax is off, need to use h,j,k,l instead of the arrow keys, etc.
Any suggestions?
Thanks
Helios
Have vim installed for programming practice, feels good and handsome. Yet I fail to get the keys on the NumLock works. So, I add the following lines to .vimrc
set t_K6=^[Ok
set t_K7=^[Om
set t_K8=^[Oo
set t_K9=^[Oj
set t_KA=^[OM
set t_KB=^[On
set t_KC=^[Op
set t_KD=^[Oq
set t_KE=^[Or
set t_KF=^[Os
set t_KG=^[Ot
set t_KH=^[Ou
set t_KI=^[Ov
set t_KJ=^[Ow
set t_KK=^[Ox
set t_KL=^[Oy
Well, actually it works in GUI mode. But when I run vim from command line, it just gives me some letters rather than numbers.
Is it something related to the terminal? If I use :set term=ansi , it works but then it creates other problems. The syntax is off, need to use h,j,k,l instead of the arrow keys, etc.
Any suggestions?
Thanks
Helios
I tried the slackware vim using the Gslapt slackware package manager for Puppy http://murga-linux.com/puppy/viewtopic.php?t=21908 and it worked flawlessly, although it is huge.
Re: Compile vim
It also works with devx_400.sfs mounted under Dingo (4.00) ... no hassle at all.nayanajith wrote:Download divx from
ftp://ibiblio.org/pub/linux/distributio ... vx_216.sfs
mount it at boot time. use "BootManager configure bootup" tool in puppy "system" menu
to do that or install with the procedure given bellow (warning: if you install it you cant remove it)
download vim -7.1 source fromCode: Select all
1. mount the partition that Puppy is installed to (say /mnt/hda2). 2. Copy devx_2xx.sfs to /mnt/hda2/tmp. 3. # cd /mnt/hda2/tmp 4. # losetup /dev/loop2 devx_2xx.sfs 5. # mkdir mntpt 5. # mount -t squashfs /dev/loop2 mntpt 6. # cp -a --remove-destination mntpt/* /mnt/hda2/ 7. # sync 8. # umount mntpt 9. # rmdir mntpt 10 # cd / 11 # umount /mnt/hda2
ftp://ftp.vim.org/pub/vim/unix/vim-7.1.tar.bz2
unpack the sourcego to source directoryCode: Select all
tar -xjvf vim-7.1.tar.bz2
Thats it....., it worked for me...Code: Select all
./configure make make install
Re: Want to install "vi" on your Puppy?
Okay for me using devx_400 under Dingo (4.00) .. Only one issue:SimonW wrote:The classic editor! You'll need to compile it, so you'll need the devx sfs too, but if you take the following source:
http://nchc.dl.sourceforge.net/sourcefo ... 25.tar.bz2
Edit the Makefile to suit (it's too early to have a configure script) ; make ; make install.
Also install the following file in /etc/termcap:
http://www.ambienteto.arti.benicultural ... termcap.gz
Then it works well. You can log in remotely to your Puppy box and edit files!
The executable is only 226kb and the termcap is 9300 bytes approx.
I can't make pets or pup files yet but perhaps someone else will.
in /etc/profile you have comment out the line
Original:
Code: Select all
alias vi e3vi
Code: Select all
#alias vi e3vi