Adapt miniterm and Trace to the input exit character.

1. Symmetric input/output exit character.