Mixing fungetc with editline causes trouble; so, if editline is installed, use it consistently. Refactor input code to do this properly.
Mixing fungetc with editline causes trouble; so, if editline is installed,
use it consistently. Refactor input code to do this properly.


git-svn-id: fc35eccb03ccef1c432fd0fcf5295fcceaca86a6@23573 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6

linas/link-grammar,opencog/link-grammar,ampli/link-grammar,opencog/link-grammar,opencog/link-grammar,ampli/link-grammar,opencog/link-grammar,linas/link-grammar,linas/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,opencog/link-grammar,MadBomber/link-grammar,linas/link-grammar,MadBomber/link-grammar,ampli/link-grammar,opencog/link-grammar,opencog/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,ampli/link-grammar,ampli/link-grammar,ampli/link-grammar,MadBomber/link-grammar,linas/link-grammar,opencog/link-grammar,ampli/link-grammar,linas/link-grammar,linas/link-grammar,linas/link-grammar,MadBomber/link-grammar,ampli/link-grammar,ampli/link-grammar,linas/link-grammar,opencog/link-grammar