> Why use a pipe at all? > > cmd="head -c2925 /dev/urandom | uuencode -m - | sed > -n 2,$((N+1))p | > gpg -c -a -o ${KEYFILE}" > rxvt +sb -geometry 80x1 -fn fixed -cr blue -T > Password -e sh -c "$cmd" Perhaps I'm doing something wrong, however when I try this the rxvt window opens and immediately closes without waiting for a password. If there's a named pipe rxvt cannot close until it finishes reading from the pipe. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/