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 
[email protected]
Elmwood, WI USA

Reply via email to