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 Tue 29 Jul 2014, 07:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
A "traditional" vi for puppy 3.00 ( & 4.20)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
paulh177


Joined: 22 Aug 2006
Posts: 875
Location: ST862228

PostPosted: Fri 16 Nov 2007, 19:42    Post subject:  A "traditional" vi for puppy 3.00 ( & 4.20)  

I've been irritated by e3vi since I first found puppy, but only recently became annoyed enough to look out a replacement.

vim is just too big (23MB) and is overengineered for my wants and needs.
I found source code for the "traditional" vi here, and a suitable termcap that will make it work here (thanks to
this thread)

It compiled without trouble (I'm not a programmer at all btw) under Puppy 3.00 with devx_300, and I packaged it up with dir2pet etc.
Installed, it comes in at about 500K, and it drives nicely for simple tasks.

I hope someone else will find it as useful (and beautiful) as I.

paul

EDIT (05 05 2008) The termcap link given above now seems to be broken, but forum user carolus has found this one:
http://fts.ifac.cnr.it/cgi-bin/dwww?type=file&location=/usr/share/doc/xterm/xterm.termcap.gz
ex-050325-i486.pet
Description  Simple dotpet for trad vi
pet

 Download 
Filename  ex-050325-i486.pet 
Filesize  126.59 KB 
Downloaded  643 Time(s) 

Last edited by paulh177 on Thu 16 Apr 2009, 14:31; edited 1 time in total
Back to top
View user's profile Send private message 
polarops3

Joined: 21 Jun 2008
Posts: 3
Location: salem, oregon usa

PostPosted: Sat 21 Jun 2008, 22:21    Post subject: vi for puppy 4.00
Subject description: lovely! works like a charm
 

Thanks so much, paul. I registered just to thank you.

Works, so far, flawlessly in v4.0 (2.6.21.7), ram only install (live cd from HD).

Though I've been a great puppy admirer and user for about 3 years, now, perhaps I'm still a newbie at getting information. It took me close to an hour to find your download: specifically a pre-compiled vi that was pupget/petget package that works for recent versions.
I wish we could somehow bump up this link for others that might be interested.

Without causing a heated vi discussion, I wonder if we could get this included in the next release of official petGet files unleashed. At least it would be available, then, via the installer.

Again, thanks so very much. My pro-pup-ductivity increases thanks to you.

BTW, I don't know much about termcap, but it ran without hitch in rxvt. I'd be glad to make any quick tests for this on my live-boot.
Back to top
View user's profile Send private message 
paulh177


Joined: 22 Aug 2006
Posts: 875
Location: ST862228

PostPosted: Sun 22 Jun 2008, 03:05    Post subject:  

Thanks very much for your kind words.The very action of your posting will have pushed this thread up the forum ...
However editor preferences are very personal so I somehow doubt this little package will ever take off big-style!
best wishes
Paul
Back to top
View user's profile Send private message 
jimsiff

Joined: 30 Jun 2008
Posts: 3

PostPosted: Tue 01 Jul 2008, 13:59    Post subject:  

Thanks for the package! E3vi is not vi... not even close.
Back to top
View user's profile Send private message 
Kelly

Joined: 20 Aug 2008
Posts: 18
Location: UK

PostPosted: Fri 12 Sep 2008, 05:59    Post subject: Many thanks - my sanity is saved :D  

Paul

Like you e3 had irritated me ever since I started using Puppy - all of a month - but I'd never got irritated enough to do anything about it.

A couple of days ago it finally do and I asked if there was a vi lookalike for Puppy.

The search at http://wellminded.com/puppy/pupsearch.html revealed your thread and I jumped at the chance of a better vi.

Five minutes work of downloading and installing and all I can say is THANKS it is instantly better than e3vi.

Thanks from very happy bunny
Kelly
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2224

PostPosted: Sat 13 Sep 2008, 04:07    Post subject:  

For comparison, you might also try 'elvis' which is the vi substitute used in Salckware. There is also a tinyelvis which is much smaller.
Back to top
View user's profile Send private message 
paulh177


Joined: 22 Aug 2006
Posts: 875
Location: ST862228

PostPosted: Tue 23 Sep 2008, 03:12    Post subject:  

amigo have you got a link for tinyelvis ?

paul
Back to top
View user's profile Send private message 
Sven

Joined: 23 Jul 2008
Posts: 3

PostPosted: Tue 23 Sep 2008, 10:38    Post subject:  

got it from debian

http://packages.debian.org/unstable/editors/elvis-tiny

depends on ncurses but isn't such a mess with termcap

good luck,
Sven
elvis-tiny-1.4.pet
Description  minimal vi like editor
pet

 Download 
Filename  elvis-tiny-1.4.pet 
Filesize  85.04 KB 
Downloaded  582 Time(s) 
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2224

PostPosted: Tue 23 Sep 2008, 12:46    Post subject:  

Here's the debian link:
http://packages.qa.debian.org/e/elvis-tiny.html
It's also in T2:
http://www.t2-project.org/packages/elvis-tiny.html
Back to top
View user's profile Send private message 
RHartman10

Joined: 12 Apr 2009
Posts: 12

PostPosted: Tue 14 Apr 2009, 03:25    Post subject: Found it. Thanks.  

Ignore my request for more info. I was assuming some sort of dedicated pet package search, but a plain ol' forum search was enough.

Thanks again for giving me a real vi!
Back to top
View user's profile Send private message 
paulh177


Joined: 22 Aug 2006
Posts: 875
Location: ST862228

PostPosted: Thu 16 Apr 2009, 14:36    Post subject:  

I've now compiled this under Puppy 4.2.
The .pet includes and installs a suitable termcap, and the main executable has been stripped.
I haven't performed any regression tests Wink
ex-050325-i486.pet
Description  A simple "traditonal" vi compiled under Puppy 4.20
pet

 Download 
Filename  ex-050325-i486.pet 
Filesize  128.32 KB 
Downloaded  493 Time(s) 
Back to top
View user's profile Send private message 
cklammer


Joined: 26 Apr 2008
Posts: 28
Location: Abu Dhabi, United Arab Emirates

PostPosted: Tue 05 Jan 2010, 00:46    Post subject: "xterm: unknown terminal type"
Subject description: The old bug surfaces up - again!
 

Hi,

Sorry to bump an old thread but my post subject relates significantly to this thread's subject ...

I am in the process of switching from 4.2 to 4.3.1. The old "xterm: unknown terminal type" issue is surfacing again (http://www.murga-linux.com/puppy/viewtopic.php?t=28767).

I have tested both versions of the ex-050325 pet and installing termcap manually as per the instruction in the OP (and I still have and used the original termcap file from the very first version of the OP) - nothing works: the issue is persistent. The remedies of the other above mentioned thread do not work either.

Does anybody have any ideas?

Off-Topic: Happy New Year Very Happy

cklammer
Back to top
View user's profile Send private message 
cklammer


Joined: 26 Apr 2008
Posts: 28
Location: Abu Dhabi, United Arab Emirates

PostPosted: Tue 05 Jan 2010, 00:53    Post subject:  

Sven wrote:
got it from debian

http://packages.debian.org/unstable/editors/elvis-tiny

depends on ncurses but isn't such a mess with termcap

good luck,
Sven


It destroys "/usr/local/bin/defaulttexteditor". Original content is:

Code:
#!/bin/sh
exec xterm -e elvis ""


It should be:

Code:
#!/bin/sh
exec xterm -e elvis "$@"


(Just add $@ between the double quotes on the second line)

I am using 4.31 and tested this on a vanilla 4.31 (booted with pfix=ram)

cklammer
Back to top
View user's profile Send private message 
DMcCunney

Joined: 02 Feb 2009
Posts: 897

PostPosted: Wed 06 Jan 2010, 19:56    Post subject: Re: "xterm: unknown terminal type"
Subject description: The old bug surfaces up - again!
 

cklammer wrote:
I am in the process of switching from 4.2 to 4.3.1. The old "xterm: unknown terminal type" issue is surfacing again (http://www.murga-linux.com/puppy/viewtopic.php?t=28767).

I have tested both versions of the ex-050325 pet and installing termcap manually as per the instruction in the OP (and I still have and used the original termcap file from the very first version of the OP) - nothing works: the issue is persistent. The remedies of the other above mentioned thread do not work either.

Does anybody have any ideas?

If you open a terminal and do a "set" or "env", what do you see?

*nix boxes expect to see a "TERM=<whatever>" string in the environment, where <whatever> identifies what you are using as a terminal. The identifier maps to a name in the termcap file, where the entry that defines that terminal and how to talk to it will hopefully be found.

It sounds like either

a) The TERM variable isn't defined, or
b) The value it's set to isn't in termcap, or
c) the termcap file isn't where the system expects to find it.

On Puppy 4.12, here, termcap is in /etc/termcap, and TERM=xterm

The version of vi offered by the OP works fine.
______
Dennis
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0785s ][ Queries: 12 (0.0040s) ][ GZIP on ]