Daniel Dalton wrote:
I can't find a reliable way to determine the current console number with python or any bash tool. When I say console number, I mean the actual console number, not screen window or device it is sending to or whatever.
You may be able to tell by looking at the DISPLAY environment variable. Usually it has a form like localhost:X.Y where X and Y are numbers identifying the display device and screen. -- Greg -- http://mail.python.org/mailman/listinfo/python-list