I asked this in the C++ forum a while ago and didn't get any responces... in X11, from a C/C++ program I want to open an xterm window (not hard) and capture it's TTY number (which I can't seem to find a way to do)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.