Thank you! Thank you! This is perfect! I do believe there is also a way to have screen itself show the window but as I recall that is at the bottom of the screen below the prompt so one may not always read it. With the $WINDOW variable added to my PS1 line, this can be right at the end of the prompt (or wherever I want it in that line) and I can even have the word "window" put in front of it if I want to do so. Nothing shows for this in terminal at large so there is no confusion at all. It also keeps me constantly aware of which window I am in screen if I want to have several windows open. Now that I have three Mac variants and a linux machine all working with a usb switch, I will always know by the prompt, whether in or out of screen, which computer I am on and which window I am in.
Thank you so much! -- Cheryl I tried and tried to turn over a new leaf. I got crumpled wads of tear-stained paper thrown in the trash! Then God gave me a new heart and life: His joy for my despairing tears! And now, every day: "This I call to mind, and therefore I have hope: The steadfast love of the Lord never ceases; his mercies never come to an end; they are new every morning; great is your faithfulness." (Lamentations 3:21-23 ESV) On Sep 2, 2014, at 1:21 PM, Shérab <sebastien.hinde...@ens-lyon.org> wrote: > 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 _______________________________________________ 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