#43 Aspell in 'daemon' mode

open
nobody
None
6
2011-07-07
2005-09-14
Philipp Lehman
No

If you connect Aspell's stdin and stdout to two FIFOs, Aspell will
terminate after processing one query. It would be extremely helpful
to have a pseudo-daemon mode in which Aspell continues waiting
for further queries until it receives a command or a signal. E.g., you
would launch it like this:

aspell daemon <input.fifo >output.fifo

and it would process anything that it receives via stdin until it
encounters a "$$q" command or receives a SIGHUP signal. It may
also be useful to have it fork automatically on startup.

The rationale is that not all editors are capable of keeping up a
persistent connection via a pipe and relaunching it all the time is
extremely ineffective (especially if you try to implement some kind of
on-the-fly spellchecking...).

Discussion

  • Kevin Atkinson
    Kevin Atkinson
    2011-07-07

    That sounds easy to implement and somewhat helpful.

    I consider it.

     
  • Kevin Atkinson
    Kevin Atkinson
    2011-07-07

    • priority: 5 --> 6