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 Sun 22 Oct 2017, 10:15
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
A good text editor with spell check support?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Author Message
redandwhitestripes

Joined: 02 Jan 2009
Posts: 165

PostPosted: Sun 22 Mar 2009, 21:19    Post subject:  A good text editor with spell check support?
Subject description: Is there one available for Puppy? And how to install ispell?
 

Hi all, hoping the fine folks here can help me out again.

I like to use a text editor with spell checking partly because I am a minimalist by principle but also because I agree with the argument that says text editors are more productive in many situations. ( http://ricardo.ecn.wfu.edu/~cottrell/wp.html ) I am a poor typist though, so........

In my other distro (Crunchbang Linux) I have managed to install Nano and invoke ispell when spell checking. In Puppy I can install Nano but not
ispell. I can download, unzip and extract the ispell.pet file but I don't know how to install it. In both distros I have installed aspell but Nano
cannot seem to invoke it, I get: "error calling aspell".

Can anyone advise how to install ispell? Or can anyone suggest another lightweight text editor in puppy with spell checking functionality? In my forum search I read about MP but it seems I may have the same problem with ispell.

Failing that, I'll just have to quit whining and use Abiword Smile

Greg
Back to top
View user's profile Send private message 
Mr. Maxwell


Joined: 30 Aug 2008
Posts: 215
Location: Nebraska, USA

PostPosted: Sun 22 Mar 2009, 21:51    Post subject:  

Quote:
I can download, unzip and extract the ispell.pet file but I don't know how to install it.


Just click on it! Very Happy

_________________
Super amazing game!
Back to top
View user's profile Send private message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 165

PostPosted: Sun 22 Mar 2009, 22:16    Post subject:  

If I click on it, it just opens the archive. I can extract the archive to a folder but it doesn't seem to install itself on the system. I still can't invoke it in Nano.
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Sun 22 Mar 2009, 22:25    Post subject:  

I'll be glad to advise with specificity if you'll post the URL to the ispell you downloaded.
_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 165

PostPosted: Sun 22 Mar 2009, 22:29    Post subject:  

Thank you,

http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=115
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Sun 22 Mar 2009, 22:34    Post subject:  

I'll be glad to advise with specificity if you'll post the URL to the ispell you downloaded.

A good text editor which also uses ispell is nedit. To enable all of nedit's features and give it a more modern look, it takes some extra files. Nedit is big but the extra files aren't. Meaning I can post the extra files without a problem, but you'll have download nedit.

Suppose you wanted a simple editor like leafpad (which comes with Puppy) but it doesn't have spelling support. You could make a script like this.

Code:
#!/bin/bash
# name of script: lpad
leafpad $1
ispell $1
leafpad $1 &


Program flow:
    $1 will open the file
    lpad postthis.txt
    when you close leafpad;
    ispell checks postthis.txt;
    leafpad opens again, for copy and paste, printing or whatever

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 165

PostPosted: Sun 22 Mar 2009, 22:42    Post subject:  

Thanks for all the help! I will have a good look into the ideas you raised.
Greg
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Mon 23 Mar 2009, 00:22    Post subject:  

Greg,

The PUP package support has changed and changed and changed and became somewhat unsupported.

I fixed the package as a tar.gz

Download it to the top level /

Then these commands

cd /

tar -xzvf ispell.tar.gz

To check spelling of a word type ispell

To check a document ispell docname.txt

It is easy to work with and you can add words to a custom dictionary.

Maybe a PET packager will redo it to the current package system.

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
DMcCunney

Joined: 02 Feb 2009
Posts: 894

PostPosted: Tue 24 Mar 2009, 14:25    Post subject: Re: A good text editor with spell check support?
Subject description: Is there one available for Puppy? And how to install ispell?
 

Hi, Greg:

redandwhitestripes wrote:
I like to use a text editor with spell checking partly because I am a minimalist by principle but also because I agree with the argument that says text editors are more productive in many situations. ( http://ricardo.ecn.wfu.edu/~cottrell/wp.html ) I am a poor typist though, so........

I prefer plain text editors myself. I break out a word processor only when I need special output formatting for a pronted page.

Quote:
In my other distro (Crunchbang Linux) I have managed to install Nano and invoke ispell when spell checking. In Puppy I can install Nano but not ispell. I can download, unzip and extract the ispell.pet file but I don't know how to install it. In both distros I have installed aspell but Nano
cannot seem to invoke it, I get: "error calling aspell".

You can find .PET files aspell and a dictionary for Puppy that you should be able to install here:

aspell http://www.flyupload.com/get?fid=751458890

Dictionary http://www.flyupload.com/get?fid=215280042

As referenced here: http://www.murga-linux.com/puppy/viewtopic.php?search_id=342944277&t=39173

Quote:
Can anyone advise how to install ispell? Or can anyone suggest another lightweight text editor in puppy with spell checking functionality? In my forum search I read about MP but it seems I may have the same problem with ispell.

Most text editors I'm aware of provide spell checking through an external utility such as aspell.

You should be able to add it to Geany, the default text editor supplied with Puppy. Invoke Genie, and click Help to get the HTML manual. Look at the section under Usage/Editing called "Send text through definable commands"
______
Dennis
Back to top
View user's profile Send private message 
redandwhitestripes

Joined: 02 Jan 2009
Posts: 165

PostPosted: Tue 31 Mar 2009, 07:57    Post subject:  

Thank you all kindly. Most helpful Smile
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2148

PostPosted: Sat 02 Jan 2016, 14:58    Post subject:  

Bumping an old thread

aspell doesn't work for me, but hunspell does

#!/bin/bash
leafpad $1; hunspell -c $1; leafpad $1 &

masterpdfeditor doesn't have a spell checker but otherwise is great, you can add text, lines, circles, freehand draw, add attachments to the pdf ...etc.

Use the above leafpad to create and spell check text first, and then just cut/paste that text from leafpad into masterpdfeditor http://www.murga-linux.com/puppy/viewtopic.php?p=865020#865020 (7.5MB SFS filesize).
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4660
Location: Republic of Novo Zelande

PostPosted: Sat 02 Jan 2016, 15:44    Post subject:  

Hi rufwoof - I gave it a go but I'm not sure exactly how to best use it so this is what occurred:

- I started the script from a terminal.
- Leafpad opened up with a blank document.
- I typed some badly spelled text then clicked the close window button and it asked me if I want to save.
- I saved the file and the leafpad window closed.
- A new blank leafpad window opened up.
- I see the following message in the terminal:
Code:
# ./spelltest
Can't open affix or dictionary files for dictionary named "en_NZ".
#


So it looks to me as if it worked as expected but can't find the dictionary for my locale. I wouldn't have any idea exactly which dictionary file (do they have different hunspell versions?) I should use in my system (or may already have installed by default), or where it should be located. Do you have any suggestions please?
cheers!
.
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2148

PostPosted: Sat 02 Jan 2016, 16:00    Post subject:  

Try opening puppy package manager and searching for myspell and then selecting one appropriate to your local/language ... and then install that.

Changing the script to

#!/bin/bash
leafpad a
rxvt -e hunspell -c a
leafpad a

means that a simple click of the script will open up a file called 'a' each time, which you could select all and delete to empty and start a new content, and that gets spell checked on exit and reopened again. I'm finding that to be nicer than having to pass a filename parameter.

One thing that threw me a bit is that if there are no spelling mistakes detected it just flashes the leafpad window (I thought it wasn't running the spell check correctly).

Looking around for en-NZ you might have to do something like http://murga-linux.com/puppy/viewtopic.php?p=715043#715043
Back to top
View user's profile Send private message 
greengeek


Joined: 20 Jul 2010
Posts: 4660
Location: Republic of Novo Zelande

PostPosted: Sat 02 Jan 2016, 17:08    Post subject:  

Thank you very much - that seems to have loaded the dictionary ok now, Unfortunately it doesnt seem to alert me to spelling mistakes though - just saves the file and the terminal shows:
Code:
# ./spelltest2
Hunspell 1.2.12



More testing to follow later...
Back to top
View user's profile Send private message 
rufwoof

Joined: 24 Feb 2014
Posts: 2148

PostPosted: Sat 02 Jan 2016, 17:14    Post subject:  

Try it without the -c parameter in the call to hunspell, just noticed my hunspell doesn't even have a -c option.

#!/bin/bash
leafpad a
rxvt -e hunspell a
leafpad a
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0940s ][ Queries: 15 (0.0214s) ][ GZIP on ]