#: 14210 S12/OS9/68000 (OSK)
06-Feb-92 05:33:43
Sb: #14196-Select
Fm: Kevin Darling 76703,4227
To: Bob van der Poel 76510,2203 (X)
Hi Bob,
Welllll :-), that's interesting. From a program, it's easy to do the 1B21
select, as the system will store away its input preference. Doing it from a
command line turns out to be slightly more difficult...
Partly because I check only for standard output's preference (I just changed
this, thanks for the thought!), and that was because the OSK shell lacks the
6809 version's "1" type of redirection (for running from scripts).
Anyway, the upshot is that you'll need to send the Select to stderr to make it
work right from shell lines in current versions. Easy enough: pack a new Basic
command:
procedure winsel
print #2,chr$($1b)+chr$($21);
end
Then you _should_ be able to do a "(cls;winsel;program) >>/w" and have it pop
to that window. The next line in a script file could be to winsel the original
window.. executed when the program dies, of course.
Let me know what happens. Thanks!! - kevin
|