[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1586.0. "Handling broadcast messages in ext. apps." by WPOPTH::BEESON (Down Under in the bottom left corner) Fri Oct 09 1992 06:00

    Hi,
    
    I've written an external application (an editor) to run in the ALL-IN-1
    main process. The program is written in C and uses no special screen
    handling routines (curses or SMG). When a broadcast message is
    recieved, though, it is not handled by the ALL-IN-1 broadcast message
    reciver but rather displayed at the current cursor position.
    
    As I know little about alternate broadcast recievers I appologise if my
    question may seem stupid, but since the application is linked (at run
    time ) with ALL-IN-1 shouldn't it's broadcast messaging handling setup
    still be valid? If not can I make it valid? Again if not can some one
    point to where I can find some info on the subject. The VMS manuals
    only cover this if you are willing to use SMG (which I am not due to
    the fact that SMG routines clear the whole screen and I whish only to
    clear part of it.)
    
    All constructive comments appreciated,
    Regards,
    ajb
T.RTitleUserPersonal
Name
DateLines
1586.1A guessA1VAX::BARTHShun the frumious BandersnatchFri Oct 09 1992 16:058
I assume you are invoking allin1/broadcast ?

If so, it may be that A1 turns off broadcast trapping (though I'm not sure
I know why it would).  You can try issuing an OA$TRM_BRDCST_INIT function
from within your code (call back to A1 to have it do this function) and
then perhaps ALL-IN-1 will be a bit more helpful.

~K.
1586.2Original position is not maintained.WPOPTH::BEESONDown Under in the bottom left cornerMon Oct 26 1992 06:3118
    Hi, Karl,
    
    Sorry for being so slow to respond... If I use /BROADCAST the message
    appears at the bottom of the screen (line 24) with the cursor
    positioned directly after the message. The cursor is not returned to
    the position on the screen where I left it.
    
    I have looked at setting up my own trap, and the I/O User's Reference
    Part I in the VMS documentation set suggests that it can be done fairly
    easily (8.2.4), but not how it is done. Neither have I been able to
    locate a notes conference discussing VMS programming (which I find a
    bit perculiar).
    
    Is the behaviour I'm observing correct? Do you know where I can find
    more information or a formum for discussion of my problem?
    
    Thanks for you time, regards,
    ajb
1586.3ALL-IN-1 may think it's supposed to use line 24A1VAX::BARTHShun the frumious BandersnatchMon Oct 26 1992 18:1620
    Which form does ALL-IN-1 think is current?  (I know you have an editor
    active, but A1 still thinks a form is on the screen - which one?)
    
    It may be that ALL-IN-1 is handling broadcast messages as though you
    had line 24 available for messages.  My guess is that A1 would behave
    in the way you are seeing in that case.
    
    Hmmm.  You might have to turn off A1's trapping and do it yourself,
    just as you are thinking.
    
>    I have looked at setting up my own trap, and the I/O User's Reference
>    Part I in the VMS documentation set suggests that it can be done fairly
>    easily (8.2.4), but not how it is done. Neither have I been able to
>    locate a notes conference discussing VMS programming (which I find a
>    bit perculiar).
    
    I believe that you could ask your question in the VMS conference.
    Check easynotes.lis for the node it's on these days.
    
    ~K.