• spell command

    From Marco Moock@21:1/5 to All on Wed Apr 30 22:25:42 2025
    Hello!

    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    --
    kind regards
    Marco

    Send spam to 1746044150muell@stinkedores.dorfdsl.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Allodoxaphobia@21:1/5 to Steven G. Kargl on Wed Apr 30 21:54:34 2025
    On Wed, 30 Apr 2025 21:39:59 -0000 (UTC), Steven G. Kargl wrote:
    On Wed, 30 Apr 2025 22:25:42 +0200, Marco Moock wrote:

    Hello!

    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    You're looking for the textproc/aspell port and its
    variations for native languages.

    Yeah. If you have `nano`, you should have `aspell`.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Steven G. Kargl@21:1/5 to Marco Moock on Wed Apr 30 21:39:59 2025
    On Wed, 30 Apr 2025 22:25:42 +0200, Marco Moock wrote:

    Hello!

    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    You're looking for the textproc/aspell port and its
    variations for native languages.

    --
    steve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to All on Wed Apr 30 23:07:02 2025
    [in reply to John D Groenveld <groenveld@acm.org>]
    ffoo

    Hello!

    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    --
    kind regards
    Marco

    Send spam to 1746044150muell@stinkedores.dorfdsl.de


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to Marco Moock on Wed Apr 30 23:12:11 2025
    In article <20250430222542.5920469e@ryz.dorfdsl.de>,
    Marco Moock <mm@dorfdsl.de> wrote:
    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    $ pkg search spell

    <URL:https://man.freebsd.org/cgi/man.cgi?query=pkg-search&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html>

    John
    groenveld@acm.rg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Thu May 1 10:38:29 2025
    On 30.04.2025 21:39 Uhr Steven G. Kargl wrote:

    On Wed, 30 Apr 2025 22:25:42 +0200, Marco Moock wrote:

    Hello!

    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    You're looking for the textproc/aspell port and its
    variations for native languages.

    I noticed that at least one application (dtpad) requests the spell
    program (no a at the beginning).


    --
    kind regards
    Marco

    Send spam to 1746041999muell@stinkedores.dorfdsl.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Thu May 1 10:39:49 2025
    On 30.04.2025 23:12 Uhr John D Groenveld wrote:

    $ pkg search spell

    <URL:https://man.freebsd.org/cgi/man.cgi?query=pkg-search&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html>

    I can't find a package with pkg_search that provides the "spell"
    command.

    Did I do something wrong or doesn't it exist at all?

    --
    kind regards
    Marco

    Send spam to 1746047531muell@stinkedores.dorfdsl.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to mm@dorfdsl.de on Thu May 1 13:18:59 2025
    In article <20250501103829.38729050@ryz.dorfdsl.de>,
    Marco Moock <mm@dorfdsl.de> wrote:
    I noticed that at least one application (dtpad) requests the spell
    program (no a at the beginning).

    Shot in the dark:
    # pkg install bsd-spell
    # ln -s /usr/local/bin/bspell /usr/local/bin/spell

    Appears that the CDE ports are maintained.
    $ pkg rquery '%m' cde-devel
    You might also submit a bug report via bugs.freedbsd.org

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Levine@21:1/5 to All on Thu May 1 18:58:35 2025
    According to Marco Moock <mm@dorfdsl.de>:
    On 30.04.2025 23:12 Uhr John D Groenveld wrote:

    $ pkg search spell

    <URL:https://man.freebsd.org/cgi/man.cgi?query=pkg-search&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html>

    I can't find a package with pkg_search that provides the "spell"
    command.

    Did I do something wrong or doesn't it exist at all?

    Indeed it doesn't exist. There are aspell and hunspell and a lot of language packs for them
    and a script that makes aspell work like ispell which might be close enough to the spell
    command you want, or it might not.

    As far as I can tell the old "spell" command has never been part
    of the base system. This man page confusingly suggests that it's
    in the ports but it's not:

    https://man.freebsd.org/cgi/man.cgi?query=spell&sektion=1&manpath=FreeBSD+14.2-RELEASE+and+Ports

    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to John Levine on Thu May 1 21:39:58 2025
    On Thu, 01 May 2025 18:58:35 +0000, John Levine wrote:

    According to Marco Moock <mm@dorfdsl.de>:
    On 30.04.2025 23:12 Uhr John D Groenveld wrote:

    $ pkg search spell

    <URL:https://man.freebsd.org/cgi/man.cgi?query=pkg- search&apropos=0&sektion=0&manpath=FreeBSD+14.2- RELEASE+and+Ports&arch=default&format=html>

    I can't find a package with pkg_search that provides the "spell"
    command.

    Did I do something wrong or doesn't it exist at all?

    Indeed it doesn't exist. There are aspell and hunspell and a lot of
    language packs for them and a script that makes aspell work like ispell
    which might be close enough to the spell command you want, or it might
    not.

    As far as I can tell the old "spell" command has never been part of the
    base system. This man page confusingly suggests that it's in the ports
    but it's not:

    https://man.freebsd.org/cgi/man.cgi?
    query=spell&sektion=1&manpath=FreeBSD+14.2-RELEASE+and+Ports

    Is it not in the port textproc/bsd-spell?

    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to Marco Moock on Thu May 1 21:39:13 2025
    On Wed, 30 Apr 2025 22:25:42 +0200, Marco Moock wrote:

    Hello!

    My FreeBSD 14.2 doesn't include the spell command.
    I can't find it in /usr with find, so it seems not to be installed.

    Is that still available and in which package?

    Look for the port bsd-spell

    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to news0009@eager.cx on Thu May 1 22:17:33 2025
    In article <m7i81dFh72vU14@mid.individual.net>,
    Bob Eager <news0009@eager.cx> wrote:
    Is it not in the port textproc/bsd-spell?

    By default, the package ships spell(1) as bspell. <URL:https://www.freshports.org/textproc/bsd-spell>

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to John D Groenveld on Thu May 1 22:27:00 2025
    On Thu, 01 May 2025 22:17:33 +0000, John D Groenveld wrote:

    In article <m7i81dFh72vU14@mid.individual.net>, Bob Eager
    <news0009@eager.cx> wrote:
    Is it not in the port textproc/bsd-spell?

    By default, the package ships spell(1) as bspell. <URL:https://www.freshports.org/textproc/bsd-spell>

    Exactly, as I said. Just renamed as bspell, presumably to avoid (or cause) confusion!



    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to news0009@eager.cx on Fri May 2 12:26:46 2025
    In article <m7iapjFh72vU15@mid.individual.net>,
    Bob Eager <news0009@eager.cx> wrote:
    Exactly, as I said. Just renamed as bspell, presumably to avoid (or cause) >confusion!

    The OP might benefit from just installing from upstream.
    $ pkg rquery '%w' bsd-spell
    https://github.com/gbergling/bsdspell

    <URL:https://github.com/gbergling/bsdspell/blob/main/Makefile>
    | # Build targets
    | all: spell deroff

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to John D Groenveld on Fri May 2 15:59:13 2025
    On Fri, 02 May 2025 12:26:46 +0000, John D Groenveld wrote:

    In article <m7iapjFh72vU15@mid.individual.net>,
    Bob Eager <news0009@eager.cx> wrote:
    Exactly, as I said. Just renamed as bspell, presumably to avoid (or
    cause)
    confusion!

    The OP might benefit from just installing from upstream.
    $ pkg rquery '%w' bsd-spell https://github.com/gbergling/bsdspell

    <URL:https://github.com/gbergling/bsdspell/blob/main/Makefile>
    | # Build targets | all: spell deroff

    John groenveld@acm.org

    Or just 'pkg install bsd-spell'



    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Levine@21:1/5 to All on Fri May 2 17:28:48 2025
    According to Bob Eager <news0009@eager.cx>:
    On Fri, 02 May 2025 12:26:46 +0000, John D Groenveld wrote:

    In article <m7iapjFh72vU15@mid.individual.net>,
    Bob Eager <news0009@eager.cx> wrote:
    Exactly, as I said. Just renamed as bspell, presumably to avoid (or >>>cause)
    confusion!

    The OP might benefit from just installing from upstream.
    $ pkg rquery '%w' bsd-spell https://github.com/gbergling/bsdspell

    <URL:https://github.com/gbergling/bsdspell/blob/main/Makefile>
    | # Build targets | all: spell deroff

    John groenveld@acm.org

    Or just 'pkg install bsd-spell'

    IF you run bspell, it immediately complains that it can't
    find /usr/share/dict/stop, If you touch that name to make
    an empty file, now it says

    spellprog: /usr/share/dict/stop: Invalid argument

    No matter what badly spelled stuff I feed it, it produces no output.

    While I can believe that the intention may be that it's the old spell
    program, the reality appears otherwise.

    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John D Groenveld@21:1/5 to johnl@taugh.com on Fri May 2 20:11:07 2025
    In article <vv2vcg$17op$2@gal.iecc.com>, John Levine <johnl@taugh.com> wrote: >IF you run bspell, it immediately complains that it can't
    find /usr/share/dict/stop, If you touch that name to make
    an empty file, now it says

    spellprog: /usr/share/dict/stop: Invalid argument

    No matter what badly spelled stuff I feed it, it produces no output.

    # ln -s /usr/local/share/dict/stop /usr/share/dict
    # ln -s /usr/local/bin/bspell /usr/local/bin/spell
    $ /usr/local/bin/bspell /etc/motd
    FAQ
    forums.FreeBSD.org
    fr
    FreeBSD
    https
    motd
    pkg
    usr
    www.FreeBSD.org

    Not sure if its sufficient for the OP's needs.

    While I can believe that the intention may be that it's the old spell >program, the reality appears otherwise.

    <URL:https://cgit.freebsd.org/ports/commit/?id=bb1f23aa2db1e409fe2538f2895dd1d2de6ef790>
    | Install bsd-spell as bspell instead of spell since it otherwise
    | conflicts with textproc/aspell-ispell.

    John
    groenveld@acm.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bob Eager@21:1/5 to John Levine on Fri May 2 20:02:53 2025
    On Fri, 02 May 2025 17:28:48 +0000, John Levine wrote:

    According to Bob Eager <news0009@eager.cx>:
    On Fri, 02 May 2025 12:26:46 +0000, John D Groenveld wrote:

    In article <m7iapjFh72vU15@mid.individual.net>,
    Bob Eager <news0009@eager.cx> wrote:
    Exactly, as I said. Just renamed as bspell, presumably to avoid (or >>>>cause)
    confusion!

    The OP might benefit from just installing from upstream.
    $ pkg rquery '%w' bsd-spell https://github.com/gbergling/bsdspell

    <URL:https://github.com/gbergling/bsdspell/blob/main/Makefile>
    | # Build targets | all: spell deroff

    John groenveld@acm.org

    Or just 'pkg install bsd-spell'

    IF you run bspell, it immediately complains that it can't find /usr/share/dict/stop, If you touch that name to make an empty file, now
    it says

    spellprog: /usr/share/dict/stop: Invalid argument

    No matter what badly spelled stuff I feed it, it produces no output.

    While I can believe that the intention may be that it's the old spell program, the reality appears otherwise.

    You are probably right.

    The fix is to make the stop list file non-empty. I added one line
    containing just 'a' and it seems to work.

    Yes, the diagnostic is terrible.

    Turns out that there *is* a stop list, in /usr/local/share/dict/stop, and
    that is a real one. But that's supposed to be the local list. I think the package should be installing that as the global list in /usr/share/dict/
    stop, as that is searched for first.


    --
    Using UNIX since v6 (1975)...

    Use the BIG mirror service in the UK:
    http://www.mirrorservice.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)