I asked this, planning to implement a change in caption color based on the screen number.
This works great in a shell script continuously looping, however this is not elegant, accordingly is there a way to watch the $WINDOW variable more efficiently from within screen and on a change, to refresh the screen caption accordingly? Eric Clark Wang wrote on Fri-26-Jun 15 5:49AM > On Sat, Jun 20, 2015 at 11:47 AM, Eric Smith <[1]e...@fruitcom.com> wrote: > > I want to write a screen macro with logic that depends on which > window (name) is active. How would I do that? > > Screen would set the $WINDOW variable. Not sure if it's what you want. > > -clark > > Thanks > > Eric > > _______________________________________________ > screen-users mailing list > [2]screen-users@gnu.org > [3]https://lists.gnu.org/mailman/listinfo/screen-users > > References > > Visible links > 1. mailto:e...@fruitcom.com > 2. mailto:screen-users@gnu.org > 3. https://lists.gnu.org/mailman/listinfo/screen-users -- Best regards, Eric Smith BioVolt B.V. Mobile: 00 31 6 455 09313 - Tel Wageningen: +31 317 728888 _______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users