All are interruptible in a way or Yet another. At least one among the prevailing answers presently delivers an implementation of pause. Even your suggested implementation of rest infinity is about-complex as sleep itself is presently interruptibleAkeoAkeo 20611 silver badge44 bronze badges Insert a remark  intr = ^C; quit = ^; erase = ^?; destroy … Read More