home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!ut-emx!newshost.cc.utexas.edu!mjl
- From: mjl@dino.ph.utexas.edu (Maurice J. LeBrun)
- Newsgroups: comp.sys.amiga.datacomm
- Subject: Tek/vt100 screen switching in VLT
- Message-ID: <MJL.93Jan22000034@dino.ph.utexas.edu>
- Date: 22 Jan 93 06:00:34 GMT
- Sender: news@ut-emx.uucp
- Distribution: comp
- Organization: The University of Texas at Austin
- Lines: 31
-
- --
- I'm having some difficulty with a package that writes tektronix graphics
- to VLT. The problem is that when I issue the commands to switch back to the
- text screen when terminating the program I lose a character on some
- platforms. What I send is the following:
- -------------------
- #define CAN 24
- #define ESC 27
- #define GS 29
- #define US 31
- #define ETX 3
-
- printf("%c%c", US, CAN);
- printf("%c%c", ESC, ETX);
- -------------------
- When just switching screens (but not terminating the program), I just
- send a:
-
- printf("%c%c", ESC, ETX);
-
- When I run this from e.g. my HP workstation, I invariably lose the next
- output character, while from a loaded Cray it doesn't happen. Do I need to
- send some padding characters or some such?
-
- --
- Maurice LeBrun mjl@dino.ph.utexas.edu
- Institute for Fusion Studies, University of Texas at Austin
-
- Faire de la bonne cuisine demande un certain temps. Si on vous fait
- attendre, c'est pour mieux vous servir, et vous plaire.
- [menu of restaurant Antoine, New Orleans]
-