Re: programatically determine which window am I in?

Clark Wang <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CADv8-ojFu3R7_FwOGiJpW_=UkpUpRHUkdPms1B5vjAEndHhkkA@mail.gmail.com>
On Sat, Jun 20, 2015 at 11:47 AM, Eric Smith <es-uQVgsefbNdNWk0Htik3J/[email protected]> 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
> screen-users-mXXj517/[email protected]
> https://lists.gnu.org/mailman/listinfo/screen-users
>

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.