How can a program know if screen number changes?

Chip Salzenberg <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CANSL5VHfgScLtaPk5yja1tNrLgg1_kMhSrnJkU55tSySy5YBLg@mail.gmail.com>
I put my screen number in my prompt (PS1).  I would like to know if the
current screen number has changed from what it was.  How can I learn this?
 Is there a status string I can request, e.g?

_______________________________________________
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.