Mike McClain writes: > If I can learn how to determine which /dev/pts/? is running only bash > and not mc or something else then I can write toX() to just work. ps ax | grep [b]ash | grep -o 'pts...' -- John Hasler john@sugarbit.com Elmwood, WI USA