TODO revision 1.2
11.2Smsaitoh	$NetBSD: TODO,v 1.2 2019/12/27 10:20:01 msaitoh Exp $
21.1Sperry
31.1SperryThings to do with spell(1)
41.1Sperry
51.1Sperrya) This code needs to be made WARNSable. Right now it isn't.
61.1Sperryb) Make sure that we are very compatible with the SVID and Solaris
71.1Sperry   versions of the command (since those are the best models we have,
81.1Sperry   there being no SuS spec.)
91.1Sperryc) Perhaps the last BSD version of /usr/dict/words that was 32V
101.1Sperry   derived should be merged in to the modern /usr/dict/words file. It
111.1Sperry   has a bunch of useful additions over the original 32V file etc.
121.1Sperryd) The code should be commented and cleaned. The code style is very
131.1Sperry   1970s.
141.1Sperrye) The way this works is bad. All the rules of how to deal with
151.1Sperry   spelling, suffixes, etc, are hard-coded in. That made sense in v7,
161.1Sperry   but it doesn't any more.
171.1Sperryf) The word search algorithm might be made better. millert turned it
181.2Smsaitoh   into a binary search from the original hash mechanism.
191.1Sperryg) Also, the general mode that this program works in is VERY 1970s --
201.1Sperry   it just spits out a list of words that are misspelled without
211.1Sperry   context. By merging spell and spellprog, and doing a wee bit of
221.1Sperry   hacking, it should be possible to do things like complaining about
231.1Sperry   the line number that things are misspelled on etc.
24