home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / datacomm / 8890 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!ut-emx!newshost.cc.utexas.edu!mjl
  2. From: mjl@dino.ph.utexas.edu (Maurice J. LeBrun)
  3. Newsgroups: comp.sys.amiga.datacomm
  4. Subject: Tek/vt100 screen switching in VLT
  5. Message-ID: <MJL.93Jan22000034@dino.ph.utexas.edu>
  6. Date: 22 Jan 93 06:00:34 GMT
  7. Sender: news@ut-emx.uucp
  8. Distribution: comp
  9. Organization: The University of Texas at Austin
  10. Lines: 31
  11.  
  12. --
  13. I'm having some difficulty with a package that writes tektronix graphics
  14. to VLT.  The problem is that when I issue the commands to switch back to the
  15. text screen when terminating the program I lose a character on some
  16. platforms.  What I send is the following:
  17. -------------------
  18. #define CAN  24
  19. #define ESC  27
  20. #define GS   29
  21. #define US   31
  22. #define ETX  3
  23.  
  24. printf("%c%c", US, CAN);
  25. printf("%c%c", ESC, ETX);
  26. -------------------
  27. When just switching screens (but not terminating the program), I just
  28. send a:
  29.  
  30. printf("%c%c", ESC, ETX);
  31.  
  32. When I run this from e.g. my HP workstation, I invariably lose the next
  33. output character, while from a loaded Cray it doesn't happen.  Do I need to
  34. send some padding characters or some such?
  35.  
  36. --
  37. Maurice LeBrun    mjl@dino.ph.utexas.edu
  38. Institute for Fusion Studies, University of Texas at Austin
  39.  
  40. Faire de la bonne cuisine demande un certain temps.  Si on vous fait
  41. attendre, c'est pour mieux vous servir, et vous plaire.
  42.                                 [menu of restaurant Antoine, New Orleans]
  43.