#: 18011 S12/OS9/68000 (OSK)
03-May-93 13:47:54
Sb: #17996-#makpal
Fm: LARRY OLSON 72227,3467
To: Mike Haaland 72300,1433 (X)
Mike,
I'll try that pause before the Select(0).
I'm beginning to think I have a problem here with WINDIO or the window
descriptors.
I had thought originally that when you do a Select(Wpath) after Wpath has
been opened (Wpath - open("/w",3)), Stdin, Stdout, Stderr would all be set to
Wpath. That was the way it worked on the CoCo in Basic09. But when I try that
in C on the MM1, the only path that was being set to Wpath, was Stdout, the
other 2 (Stdin,Stderr), remained set to the original path. So when I did the
Select, I could output to the screen, but I couldn't get any input into Wpath
from the keyboard. If I then Selected the original path, the characters I was
trying to enter into Wpath, were here, on path.
I have been trying to over come this, but with no luck, so that was why I
finally just set it up to DWEnd the original path then DWSet Wpath.
Now I'm thinking that the problem is with my system, because I just bought
Write-Right from Joel Hegberg at the Chicago fest, and he has a printer setup
routine that is acting the same way. He opens a small window which contains
various controls to set and enter printer controls into a file, every thing in
the panel is mouse driven, and works fine, but when I try to enter the printer
codes from the keyboard, nothing is placed on the screen. Then when I select
Quit, and the program exits, the numbers that I had entered are there on the
original path.
So I'm going to go through all the window associated boot modules and see if
this is the problem.
Larry
There is 1 Reply.
|