jrincayc / ucblogo-code

Berkeley Logo interpreter
https://people.eecs.berkeley.edu/~bh/logo.html
GNU General Public License v3.0
187 stars 34 forks source link

Char-at-a-time tty input not echoing #96

Closed brianharvey closed 3 years ago

brianharvey commented 3 years ago

? cslsload "fsm ? game 1

will clear the screen and display the word "accept" in lower case. Then what should happen is you type in letters from the set [abc] one at a time, and the letter you typed is echoed, and the "accept" may change to "reject" or back, depending on whether the string on the current line is accepted or rejected (game 1 accepts [ab]*), then when you type enter a capital ACCEPT or REJECT follows the string on that line and you start over with an empty string.

What does happen is that the letters you type don't appear, or maybe one letter appears but not the rest of them.