Improve clip.output()
Fix ctrl-c handling in clip.output()