[comp.sys.apollo] problem with PAD_$DEF_PFK under SR10

i91@nikhefh.hep.nl (Fons Rademakers) (07/05/89)

I want to redefine in a program the third mouse button. I managed
to do this and it works nicely under SR9.7. However, under SR10
it does not work anymore like under SR9.7.
The test program is doing the following (see source at end of message):
it redefines the M3 key to open the file pointed at in the vi editor
(as opposed to using the DM editor). After running the program point at
a file name in the transcript pad of the process it was run in
and click the third mouse button. The string 'vi filename' will
be submitted into the input pad of the process (under SR9.7).
However, under SR10 the key is not redefined when clicking in the 
transcript pad of the process. It is only redefined for the input pad
(type a filename in the input pad and click the third mouse button).
The question is what is the problem under SR10, I would expect
the input pad not to be STREAM_$STDOUT. What is the stream id for
the transcript pad? How can I get it to work under SR10?

Thanks in advance,
   Fons Rademakers


PS: if this message came to you via BITNET the DMCMND string might be
    scrambled thanks to IBM.

================ test program =========

      PROGRAM TT
*
%INCLUDE '/sys/ins/base.ins.ftn'
*
      INTEGER       IST
      CHARACTER*4   KEY
      CHARACTER*128 DMCMND
*
      KEY = 'M3  '
*
      DMCMND='/[~a-zA-Z@@@;._@@@-$0-9@@@/@@@\~`]/dr;\[~a-zA-Z@@@;._@'
     +  //'@@-$0-9@@@/@@@\~`]\;/?/xc cm;ti;tl;xd junk;es ''vi @'''';'
     +  //'xp cm;tr;es ''@'''';en'
*
      CALL PAD_$DEF_PFK(STREAM_$STDOUT, KEY, DMCMND, INT2(127), IST)
      PRINT *, 'STATUS =', IST
*
      END
-- 
Org:    NIKHEF-H, National Institute for Nuclear and High-Energy Physics.
Mail:   Kruislaan 409, P.O. Box 41882, 1009 DB Amsterdam, the Netherlands
Phone:  (20)5925018 or 5925003                      Telex: 10262 (hef nl)
UUCP:   i91@nikhefh.hep.nl               BITNET: nikhefh!i91@mcvax.bitnet