hobbs@tove.umd.edu (James David Hobbs) (01/13/90)
I have already developed a modified csh that checks and corrects spelling mistakes in commands, files, and directories. I am planning on developing another such shell for the Sun, and would like some feedback on what people would like to see in such a system. Would you use a modified csh that would check and correct spelling mistakes in commands, files, and directories? What would you want such a system to look like? Would you like to test such a system? I will summarize responses to the net. Thanks, J. David Hobbs
danj1@cbnewse.ATT.COM (Dan Jacobson) (01/15/90)
hobbs@tove.umd.edu (James David Hobbs) writes: >I have already developed a modified csh that checks and corrects >spelling mistakes in commands, files, and directories. I am >planning on developing another such shell for the Sun, and would >like some feedback on what people would like to see in such a system. Ohio State tcsh already has all that spelling fixing (though I ended up rarely using it), plus all the electric tcsh editing features. FTP it from Ohio State U. P-p-p-personally I prefer Bourne shell for scripts. Perhaps GNU'S bash has spelling correcting too? -- Dan Jacobson +1-708-979-6364 danj1@ihlpa.ATT.COM
tale@cs.rpi.edu (David C Lawrence) (01/15/90)
In article <12595@cbnewse.ATT.COM> danj1@cbnewse.ATT.COM (Dan Jacobson) writes: > Perhaps GNU'S bash has spelling correcting too? It doesn't. -- (setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))
hobbs@tove.umd.edu (James David Hobbs) (01/15/90)
tcsh does a very restricted form of spelling correction. Here is a sample interaction with tcsh: % cm -o out main..c <cr> cm: Command not found. % cm -o out main..c ^ use editing commands to get last line, and move cursor here. Now hit <esc-s> % c -o out main..c ^ it got a command but clearly not the desired one % cc -o out main..c ^ if add c here and hit <cr> No source file main..c % cc -o out main..c ^ if get last command and hit <esc-s> % cc -o out main.c ^ now hit <cr> % Here is how a past shell of mine worked: % cm -o out main..c cm: Command not found. The command has been corrected ? cc -o out main.c y <cr> % The type of spelling correction that I am talking about is syntax-sensitive. David Hobbs