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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3964.0. "Editing inside of DECmcc" by DGOSW0::GUESDON () Mon Oct 26 1992 10:11

We have in our MSL entity definitions a very long attribute, which in fact is
a file (Welcome message for a computer). We'd like to be able to use the editor
(EDT or TPU) when the network manager wants to modify this attribute with the 
"SET" command.

Do you think it is possible ? Can we call Editor routines from within our AM,
when a SET command is received for a specific attribute ? If yes, how can we
manage the differences between the FCL and IMPM presentation modules (Window
creation for IMPM, reset of the terminal for FCL, etc. ) ?

Thanks.

Michel.
    
T.RTitleUserPersonal
Name
DateLines
3964.1VERNA::V_GILBERTFri Oct 30 1992 13:555
In the Iconic Map, you can expand a long field to get a larger text area in 
which to edit but we have no direct mechanism to invoke an editor.  Offhand,
I do not know of any way to do this in the FCL.

Verna
3964.2spawn/launchMCC1::DITMARSPeteMon Nov 02 1992 13:5825
AM's talking to users runs somewhat counter to the
traditional stacking of AM/FM/PM etc...  That said,
"launching" is all the rage these days, and you might
be able to do something along those lines.  

>We'd like to be able to use the editor
>(EDT or TPU) when the network manager wants to modify this attribute with the 
>"SET" command.
>Do you think it is possible ? 

It's possible, but it probably won't work very well, especially
from FCL.

I would encourage you to consider ways other than having
SET initiate the actual editing of the file, and then
perhaps have the SET be able to interpret its argument as a 
name of a file that has been prepared via some 
alternate method, e.g. setting the attribute to "@foo.txt"
would result in your AM fetching foo.txt.

To facilitate invoking an editor, you could put a button on
the user's application menu and/or define a symbol in FCL that
spawns out to an editor.

sorry