Nedit: problem with spell checker
Thodori Nakos
theodoros.nakos at ugent.be
Wed Mar 28 14:06:41 CEST 2007
Hi Tony & Alexei,
thanks a lot for your input. I followed your instructions (i.e.
modifying the options in the
preferences menu, as Tony suggested, and putting the command proposed by
Alexei) and the spell-checker now works!
I had been using Nedit under Linux for about 10 years and I had found it
an excellent editor. It's great I can continue using it under Mac and
getting support
for solving minor problems.
Best regards and thanks again:-)
Thodori
On 27 Mar 2007, at 21:54, Tony Balinski wrote:
> Quoting "A.V.Kuznetsov" <kuzn at umps.mephi.ru>:
>
>> Hi Thodori,
>>
>>> csh: spell: Command not found
>>> cat: stdin: Bad file descriptor
>>
>> I can not find spell command in Nedit 5.5 source.
>> The Shell menu contains item spell with following script
>>
>> cat>spellTmp; xterm -e ispell -x spellTmp; cat spellTmp; rm spellTmp
>>
>> which creates the temporary file spellTmp
>> (in folder where checked file is located)
>> calls ispell to check it, then replace buffer content
>> by the checked file and delete it.
>>
>> May be you csh uses alias spell <-> ispell?
>
> Thodori,
>
> Why not just change the spell shell command used by NEdit?
> Via the menu: Preferences > Default Settings > Customize Menus >
> Shell Menu... - this opens a dialog. Now, in the list on the right,
> select your Shell Menu command: spell (in your case, I expect). Once
> this is selected, make sure that under "Command Input" the "either"
> button is on (allowing a selection to be used if there is one, or the
> whole document if not). Similarly, for "Command Output", select
> "dialog"
> (the output of the command will be in a dialog box). Now change the
> command in the "Shell Command to Execute" box towards the bottom.
> This allows you to use any command you like, such as the one Alexey
> suggests above. Now use the "OK" or "Apply" button to take your
> changes
> into account. (I would use apply, so you can keep the Shell Menu
> dialog
> open and also test the newly modified Shell menu entry.) Finally, save
> the modified entry for future use with the menu item Preferences >
> Save Defaults. (If you don't do this, you will be prompted by NEdit
> when the program shuts down normally - when closing the last window
> or using the File > Exit / Ctrl-Q menu action - to save settings.)
>
> Although there is a built-in command, there's nothing magical about
> it:
> it can be changed. The use of spell is for Unix machines that rely on
> standard Unix (NOT Linux or BSD) installed programs. This, I believe,
> still represents a large proportion of NEdit users; indeed one of
> NEdit's
> advantages is its support of these proprietary systems. It's also
> NEdit's
> major drawback, because we need to maintain functionality with
> these old
> systems, which means continuing to use the Motif library they provide.
>
> Tony
> --
> NEdit Discuss mailing list - Discuss at nedit.org
> http://www.nedit.org/mailman/listinfo/discuss
----------
Thodori Nakos
Sterrenkundig Observatorium
University of Ghent
Krijgslaan 281 S9, WE03
B-9000 Ghent, Belgium
phone: +32-9-264.47.64
fax: +32-9-264.49.89
More information about the Discuss
mailing list