LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   korn shell and spellcheck (https://www.linuxquestions.org/questions/linux-newbie-8/korn-shell-and-spellcheck-749113/)

kofucii 08-20-2009 03:07 PM

korn shell and spellcheck
 
Hello,
I'm using slackware 12.2. How can I turn on spellckeck function on ksh? I've tried with "export CDSPELL=cdspell", but It doesn't work. Any ideas?

chrism01 08-20-2009 06:41 PM

According to this http://docsrv.sco.com:507/en/man/html.C/ksh.C.html its on by default if you don't set it, and any setting it to any value turns it on.
Use

unset CDSPELL

to turn it off

You do know it only checks spelling of dirs when you use the cd cmd; its not a generic spellchecker?

Interestingly, the only docs I can find on Google for ksh and cdspell seem to be SCO specific.
The ksh88 manual http://www.research.att.com/sw/downl...an1/ksh88.html and ksh93 manual http://www.research.att.com/sw/downl.../man1/ksh.html don't seem to have it...
However, there's plenty of hits on the bash equiv

shopt -s cdspell

HTH


All times are GMT -5. The time now is 11:04 AM.