Listing 1: A shell script used as a filter

#!/bin/sh
echo -n '^[%-1B'
cat 2>&1
sleep 10
exit 0

