#!/bin/rc # clears all the output from programs, # leaving only the command prompts grep `{echo -n '^'^$prompt(1)} /tmp/clearing.$pid cp /tmp/clearing.$pid /dev/text rm -f /tmp/clearing.$pid