Problem:
How can I create an auto-erase ACCEPT?
Resolution:
Some user interface specifications require that a field with a default value be accepted 'as displayed' if the Enter key is pressed.
If, however, the user starts typing in the field, the rightmost characters should be erased automatically, eliminating the need for the user to press repeatedly the space bar to erase to rightmost characters of the displayed default value.
The attached zip file contains a subprogram, display-autoerase, which implements this behavior.