j_torsmyr%avh.unit.uninett@TOR.NTA.NO (Jo Torsmyr) (11/18/87)
Hallo, I've used SMG$SET_OUT_OF_BAND_ASTS to control interruptkeys as ^Y. The problem is that I'm interesting to know the out-of-band character, but I'm not able to access this so-called 3-longword structure that SMG creates! Can anybody help me?! Here's what the RTL-Manual says: AST-argument VMS usage: user_arg type: longword (unsigned) access: read only mechanism: by value The argument you supply for the AST. The AST-argument argument is an unsigned longword that contains the value to be passed to the AST routine. However, the AST routine may also need to know the out-of-band character and the pasteboard-id at which it was typed. Therefore, the Screen Management Facility creates a 3-longword structure to hold this information and passes the address of this structure as the first argument to the AST routine. The remaining four arguments are R0, R1, PC, and PSL. Just one more question, has anybody used SMG with Modula-2, I have some problems with Smg$Read_String, I'm not able to specify the terminator-set, :-( If any of you have some examples, I would appriciate to hear from you... Jo Torsmyr, AVH.UNIT.UNINETT