home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pacsoft!mike
- From: mike@pacsoft.com (Mike Stefanik)
- Newsgroups: comp.unix.xenix.sco
- Subject: Re: Current Screen Change
- Message-ID: <1476@pacsoft.com>
- Date: 25 Dec 92 06:44:29 GMT
- References: <1992Dec22.131018.9336@uumeme.chi.il.us>
- Organization: Pacific Software Group, Riverside, CA
- Lines: 17
-
- In an article, rwmech@uumeme.chi.il.us (Robert W. Mech) writes:
- >I am intrested if anyone knows how to switch the current screen of the console
- >automaticly. [...]
-
- The easy way is to send the escape sequence to switch console screens.
- A simple function would look like this:
-
- void switch_screen(int n)
- {
- printf("\033[%dz", n);
- fflush(stdout);
- }
-
- For more information, read the screen(HW) manual page.
- --
- Mike Stefanik mike@pacsoft.com ...!uunet!pacsoft!mike (909) 681-2623
- Pacific Software Group, Riverside, CA
-