This article is from the FAQ, by with numerous contributions by others.
If you link a systemenv program as a MPW tool, the keyboard will block all
systems when you call any of the get operations: getLine, getInt etc. The
solution is to link your program as an application.