Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!unmvax!ncar!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!ucsdhub!sdcsvax!beowulf!djohnson
From: djohnson@beowulf.ucsd.edu (Darin Johnson)
Newsgroups: comp.sys.amiga.tech
Subject: Help with console escape sequence
Message-ID: <7183@sdcsvax.UCSD.Edu>
Date: 3 Oct 89 02:58:29 GMT
Sender: nobody@sdcsvax.UCSD.Edu
Reply-To: djohnson@beowulf.UCSD.EDU (Darin Johnson)
Distribution: usa
Organization: EE/CS Dept. U.C. San Diego
Lines: 31


I can't seem to get a WINDOW STATUS REPORT to be generated from a 
console.  Here is the sample program I am using.

#include 
#include 

main() {
  struct FileHandle *win;
  unsigned char ob[64], i, max;
  extern int EnableAbort = 1;
  win = Open("CON:0/0/200/100/foobar", MODE_NEWFILE);
  ob[0] = 0x9b;
  ob[1] = 0x71;
  Write(win, &ob, 2);
  max = Read(win, &ob, 63);
  for (i=0; i