The 'call' function seems to disable echo. Also, The Enter key does
not end an input line, Ctrl-J must be used instead.

When I run: (call 'sh "-c" "echo -n 'name: '; read name; echo $name")
It outputs "name :" and waits for input. I type something (e.g. "abc")
but nothing echo. I press the Enter key, nothing happens. I press
Ctrl-J, then it prints "abc".

If I instead use: (call 'sh "-c" "stty sane; echo -n 'name: '; read
name; echo $name")
It works fine, but after returning to PicoLisp prompt, line editing broke.

How to solve this this problem?

UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to