Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers:

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers:

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers:

replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers:

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers:

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers:

Source Link
user707650
user707650

I know very little of X11, but running the env command in my terminal, I spotted an environment variable WINDOWID, that shows the same number in different tabs of the same terminal, but a different number in another terminal. Perhaps that's what you need?

It does appear to be an Xterm thing (and probably any terminal that mimicks Xterms behaviour. The xterm(1) man page only says:

ENVIRONMENT

 Xterm sets several environment variables: ... WINDOWID is set to the X window id number of the xterm window. 

Some other possibly relevant questions with answers: