Cheryl, You cold use the WINDOW environment variable which seems to be defined inside of screen but perhapsnot outside, you'd need to confirm this on your own system. Then in you scrippts test whether it's defined or not and set ps1 accordingly.
hth, Shérab. _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty