lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] editors and spell checking?


From: Karen Lewellen
Subject: Re: [Lynx-dev] editors and spell checking?
Date: Tue, 2 Apr 2024 16:14:49 -0400 (EDT)

Hi,
yes that helps allot.
As I prefer pico to nano for example in the lynx config for my user setup here that line has pico -s name of speller, ispell I believe. So, if they pre nano or simple speller or whatever, they can do the same, either specifying the command line for the speller, assuming it works like pico, or making sure the editor has a speller package. Their configuration for alpine includes the default for aspell on the speller line, but no editor. I have not checked alpine at shellworld, I prefer using pine personally here.
Thanks,
Karen



On Tue, 2 Apr 2024, Tim Chase wrote:

Replying inline

On 2024-04-02 15:33, Karen Lewellen wrote:
I am helping someone resolve an issue, they have access to lynx, but the
editor field is blank.
They are using Ubuntu.

If they're already comfortable with a preferred editor, you can
tell Lynx to use that on the command-line with the "-editor" option:

 $ lynx -editor=/usr/bin/nano http://example.com

They might even have configured their system to use "sensible-editor"
in which case

 $ lynx -editor=/usr/bin/sensible-editor http://example.com

should invoke their preferred editor.

Alternatively, you can use "o" to go to the lynx options, check the
"Save options to disk" checkbox, set the Editor value in there, and
save the options.

Strangely, lynx doesn't honor the common method of setting either
the $EDITOR or $VISUAL environment variable.

In alpine for example there is a field for editor, and one for spell
checking, I admit to thinking they worked together as in are software
dependent.

They can be the same thing or they can be different tools.  Some
editors have spell-check support, some don't; so you might want an
external spell-checker.

Does lynx work the same?  meaning does there need to be one field
for the editor and one for spell checker?

I don't think lynx has anything spell-checking-related, just
editor-related.  However, if they use an editor with built-in
spell-checking, that would do the trick.

or is it enough to make sure the chosen editor is configured
to use the desired spell checker.  meaning adding the editor will
allow for spell checking as well?

I believe this is the case.  I know that vim and emacs both have
support for spell-checking.  And nano does too if you enable it and
add a spell-checking package:

 $ sudo apt-get install spell

With the spell-checker installed, you should be able to use control+t
in nano to spell-check the file.

Hopefully that helps,

-tim










reply via email to

[Prev in Thread] Current Thread [Next in Thread]