Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!rpi!crdgw1!crdos1!davidsen From: davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) Newsgroups: comp.unix.xenix Subject: Re: Multiscreens - which one is active? Message-ID: <1331@crdos1.crd.ge.COM> Date: 23 Oct 89 15:24:27 GMT References: <11@dynasys.UUCP> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: GE Corp R&D Center Lines: 17 I can't tell you how to determine the screen in use, but I can tell you how to force it to be the one you wrote your message to... the sequence ESC [ XX z (where XX is 00-11, terminal number) will change the screen. You can do something like: echo "Hey you!\033[01z" >/dev/tty02 Note that this can be a REAL pain for the person using the console, so be careful. I use this to put certain message on a problem screen and then change to it. I use it only when something needs to be noticed RIGHT NOW. -- bill davidsen (davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen) "The world is filled with fools. They blindly follow their so-called 'reason' in the face of the church and common sense. Any fool can see that the world is flat!" - anon