Is my pty console (a la TIOCCONS)
Chuck Ocheret
chuck at morgan.com
Wed Nov 21 05:00:01 AEST 1990
Is there some way to determine if your pseudo terminal has had an
ioctl(TIOCCONS...) run on it. I have a need to determine if a shell is
running in a console window. Actually I need to know if the shell is
running in an xterm that was invoked with the -C option.
Thanks,
+--------------------+ Chuck Ocheret, Sr. Staff Engineer +---------------+
|chuck at APT.Morgan.COM| Morgan Stanley & Co., Inc. |(212) 703-4474 |
| Duty now ... |19th Floor, 1251 Avenue of the Americas|for the future.|
+--------------------+ New York, N.Y. 10020 USA +---------------+
More information about the Comp.sys.sun
mailing list