Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mephisto!purdue!haven!mimsy!tove.umd.edu!hobbs From: hobbs@tove.umd.edu (James David Hobbs) Newsgroups: comp.unix.questions Subject: Re: csh with spelling correction Message-ID: <21824@mimsy.umd.edu> Date: 14 Jan 90 23:04:30 GMT References: <21792@mimsy.umd.edu> <12595@cbnewse.ATT.COM> Sender: news@mimsy.umd.edu Reply-To: hobbs@tove.umd.edu (James David Hobbs) Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 31 tcsh does a very restricted form of spelling correction. Here is a sample interaction with tcsh: % cm -o out main..c cm: Command not found. % cm -o out main..c ^ use editing commands to get last line, and move cursor here. Now hit % 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 No source file main..c % cc -o out main..c ^ if get last command and hit % cc -o out main.c ^ now hit % 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 % The type of spelling correction that I am talking about is syntax-sensitive. David Hobbs