[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

652.0. "Receipts in mixed word-processing environment" by BRUMMY::MARTIN::BELL (Martin Bell, TCC, Birmingham UK) Fri May 08 1992 10:51

We have a customer using WordPerfect as the word processor within ALL-IN-1 on
one of their nodes, but WPS-PLUS on the remainder of the network.

When sending messages between nodes, a WPS-PLUS document can be read anywhere,
but a WordPerfect document can only be read on a node with WordPerfect
installed. Thus the customer routes messages FROM the WordPerfect node through
a MR gateway @WPC, supplied by WPCORP, which performs a translation to DX format
automatically. As this WPC gateway only exists on the WordPerfect node, dummy
@WPC gateways (with /replace="") are included on the WPS-PLUS nodes, so that
return addresses work ok when answering a message.

Unfortunately, when sending messages from a WPS-PLUS node, message router tries
to be clever and does not bother including the @WPC in the return address
(because we said /replace=""), so if a WordPerfect user ANSWERs a message, it
does not go through the WPC gateway, and is sent in WordPerfect format.

Now the WordPerfect integration includes a script to insert in the ANSWER named
data to automatically include the WPC gateway and thus provide the translation
- this works ok (although isn't the most efficient bit of scripting).

So everything is fine so far, BUT!

Unfortunately, if a WPS-PLUS user requests a READ-RECEIPT from a WordPerfect
user, the message is constructed in WordPerfect format, and the return address
does not include the WPC gateway. The generation of the RR message is performed
from within the MAIL READ code, thus we cannot use the above WordPerfect script
to modify the return address.

Is it possible to modify the read-receipt code to produce the message in
WPS-PLUS (or even ASCII) rather than the users default editor?


The only other option would be to install the WPC Message Router gateway on
all nodes in the network, but this will depend on how WPCORP want to licence
that component of their product.

Any ideas would be much appreciated,

cheers,

Martin
T.RTitleUserPersonal
Name
DateLines
652.1V3.0 issues ASCII Read ReceiptsIOSG::SHOVEDave Shove -- REO-D/3CFri May 08 1992 15:139
    The simplest solution is to upgrade to version 3.0 !
    
    In v3.0 (for other reasons than this) Read Receipts are forced to
    ASCII.
    
    This change was made in code; it would be pretty difficult (but, this
    being ALL-IN-1, probably not impossible) to do this as a customisation.
    
    Dave.
652.2Can be done via script and boilerplateSHALOT::WARFORDRichard Warford @OPA DTN 393-7495Fri May 08 1992 23:1017
    I worked out a solution to this for GLAXO about 2 years ago, and
    had it in a DECUS presentation. BUT unfortunately I don't remeber
    the details. All it took was a little bit of script code tied via
    a boilerplate (and a few tricks in the script code!).
    
    If I remeber right, it would during the creation of the read-reciept,
    delete the document being created automatically, and force the creation
    of a new document in ASCII form. The document was left open in mail
    so that upon return from the merge being done in Bliss code, the Bliss
    thought the new message was the one it had started with.
    
    You might look in the DECUS directories on
    SHALOT::TRANS$:[TRANSFER.DECUS] to see if you can find a tips and
    techniques type session notes and look in them to try and find the 
    code. (I'm out of town right now or would do it for you).
    
    Rick
652.3ALL-IN-1 can do _anything_BRUMMY::MARTIN::BELLMartin Bell, TCC, Birmingham UKMon May 11 1992 10:5319
    Rick,
    
    	thanks for the pointer. Editing the boilerplate is a possibility,
    and i will try to get in touch with Bruce Mason who has had quite a bit
    to do with Glaxo. I tried looking through the DECUS directories, but
    couldn't find anything too obvious (via SEARCH). If i draw blanks i
    suppose i will have to copy all the presentations over and have a long
    read!
    
    Dave,
    
    	we would _love_ to go to ALL-IN-1 v3.0, but we gotta wait for
    WPCORP to bring out the compatible version of WordPerfect :-(
    
    
    Cheers,
    
    Martin
          
652.4Ask for Vid Desai at GlaxoSHALOT::WARFORDRichard Warford @OPA DTN 393-7495Tue May 12 1992 02:465
    Actually, its a former DECie at GLAXO that I did this for. Just ask
    for the "mexican" - Vid Desai! Since they are supposed to be running
    with it, they certainly should have a copy around.
    
    Rick
652.5What Rick presented two years agoSHALOT::DUNCANJoe - CIS/EIC Doc. Mgmt. Solution Set ConsultantTue May 12 1992 16:0227
     Here is the extract from Rick's presentation from the Spring 1990
     DECUS symposium (this is obviously some boilerplate text, and an
     associated menu option):

<&OA GET #OLD_DOC=OA$CURMES<->
     \MAIL PUSH\MAIL ORIGINAL<->
     \GET #TITLE="Read Receipt for " <->
          CAB$.TITLE[OA$CURMES]<->
     \GET #DOC = OA$CURMES\MAIL POP>
<&OA GET #X = OA$CURMES_FILE:H<->
     \GET_TOKEN #X,#X,"."\GET #X = #X::H ".WPL">
<&OA GET OA$FUNCTION=<->
     "MERGE OA$BLP:RRTEMPLAT.BLP," #X>
<&OA MAIL GET #DOC<->
     \GET OA$FUNCTION=<->
          "MAIL ANSWER/NOEDIT/NOALL/NOSEND/FNAME=" #X>
<&OA CABINET DELETE_OR_REFILE ,"OUTBOX">
<&OA WRITE CHANGE CAB$ %KEY=OA$CURDOC,TITLE=#TITLE,<->
    SUBJECT=#TITLE,MAIL_STATUS="SENT">
<&OA GET OA$MENU_REMAINDER=<->
	"RRDELETE " OA$MENU_REMAINDER>


;;RRDELETE;;
CABINET DELETE_DOCUMENT #OLD_DOC
 
     
652.6BRUMMY::MARTIN::BELLMartin Bell, TCC, Birmingham UKWed May 13 1992 10:3511
Joe,

	thanks for the code. It looks like the customer is prepared to wait
for v3.0 as WordPerfect doesn't seem to be too far away now.

Nevertheless, i will salt away the code segment in my "clever tricks" folder,
you never know when this sort of thing will pop up again.

Cheers,

	mb