#!/bin/sh xterm -name notes -T xnotes -e \ sh -c "notes || { echo; echo \"Press Enter\"; read r; }" .