home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / xenix / sco / 3568 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.8 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!vogon1!wa3wbu!frackit!gdx!jay
  2. From: jay@gdx.UUCP (Jay Snyder)
  3. Newsgroups: comp.unix.xenix.sco
  4. Subject: Re: Current Screen Change
  5. Message-ID: <924@gdx.UUCP>
  6. Date: 30 Dec 92 00:28:54 GMT
  7. References: <1992Dec22.131018.9336@uumeme.chi.il.us> <1476@pacsoft.com>
  8. Organization: GDX-BBS,Central Pa Unix BBS/anon uucp (717)737-3249 PEP+/2400/1200 24hrs
  9. Lines: 34
  10. In-reply-to: mike@pacsoft.com's message of 25 Dec 92 06:44:29 GMT
  11.  
  12. In article <1476@pacsoft.com> mike@pacsoft.com (Mike Stefanik) writes:
  13.  
  14.   > Path: gdx!frackit!wa3wbu!vogon1!psuvax1!uwm.edu!spool.mu.edu!uunet!pacsoft!mike
  15.   > From: mike@pacsoft.com (Mike Stefanik)
  16.   > Newsgroups: comp.unix.xenix.sco
  17.   > Date: 25 Dec 92 06:44:29 GMT
  18.   > References: <1992Dec22.131018.9336@uumeme.chi.il.us>
  19.   > Organization: Pacific Software Group, Riverside, CA
  20.   > Lines: 17
  21.   > 
  22.   > In an article, rwmech@uumeme.chi.il.us (Robert W. Mech) writes:
  23.   > >I am intrested if anyone knows how to switch the current screen of the console
  24.   > >automaticly. [...]
  25.   > 
  26.   > The easy way is to send the escape sequence to switch console screens.
  27.   > A simple function would look like this:
  28.   > 
  29.   >         void switch_screen(int n)
  30.   >         {
  31.   >                 printf("\033[%dz", n);
  32.   >                 fflush(stdout);
  33.   >         }
  34.   > 
  35.   > For more information, read the screen(HW) manual page.
  36.   > -- 
  37.   > Mike Stefanik  mike@pacsoft.com  ...!uunet!pacsoft!mike  (909) 681-2623
  38.   > Pacific Software Group, Riverside, CA
  39.  
  40. Does this work on SCO Unix (or any other 386 unix?).
  41.  
  42. _______________________________________________________________________________
  43. Jay A. Snyder               jay@gdx         ...{uunet,vogon1}!compnect!gdx!jay
  44. This is your Brain: (unix)              GDX-BBS (717) 737-3249 WorldBlazer
  45. This is your Brain on drugs: (MSDOS)     Unix and MSDOS File areas + Xenix bins
  46.