I use Ctrl-C to terminate things like cat on output, Ctrl-D to terminate input or logout.