What is expected behavior of READ X#1 with a control character

27 views
Skip to first unread message

Kevin Toppenberg

unread,
Feb 26, 2025, 4:27:08 PMFeb 26
to Everything MUMPS

What is expected behavior of READ X#1 with a control character.

e.g.
USE $p:(NOESCAPE:NOCANONICAL)
READ X#1

And then if user enters escape (#27) or backspace (#127),  then what is expected behavior?

As I am testing on my machine [escape] will return a value (#27) for X, but [backspace] does not return anything, and the READ continues wait for input.

I tend to think that this is OK.  With the IO changes I am finalizing, if the user wants a return value for [backspace], then can READ *X.  

Can others let me know what they think whether [backspace]  should return anything with READ X#1? 

I'm trying to decide if this should be left alone or fixed.

Kevin
Reply all
Reply to author
Forward
0 new messages