Using gtm_init() or gtm_ci() functions in the gtmshr
call-in library seems to change the terminal settings.
Specifically, these terminal settings are changed
(there may be others):
brkint -> ON (breaks cause interrupt signal)
time 0 -> time 8 (character read timeout set to 8ms)
ircnl -> OFF (disables cr->nl translation)
icanon -> OFF (disables terminal shortcut keys)
echo -> OFF (disables character echo. this is the most
annoying one)
imaxbel -> ON (??)
There doesn't seem to be a way to avoid the terminal
setting changes. A '$ /bin/stty sane' command will fix
them after using a C program that calls-in to mumps.
Logged In: YES
user_id=220075
Hi Steve,
We've identified a GT.M bug with call-ins that causes the
terminal settings to be retained from GT.M instead of
restoring from the values before invocation. We've created a
tracking number (S9F01-002524) to fix this in a future
release. Meanwhile, please use the workaround you already
mentioned (stty sane).
Thank you for reporting the problem,
-malli
This is identified as a bug in the YottaDB code base (https://github.com/YottaDB/YottaDB/issues/184). The fix will be in the next YottaDB release (r1.20).
Regards
– Bhaskar