[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

2671.0. "MEssage /latin1 string" by LFOIS1::ALIE () Thu Apr 02 1992 06:43

    A customer which use DECMCC 1.2 (b.l 4) on Ultrix 4.2 have a pb to
    create a message.
    In fact, i try several thing, and latin1 string seems to be ok, but
    this format does not understand the RETURN key.
    
    Have you a solution, or can we try to do a MCCmessage ?
    
    
    Thanx for your answer..
    
T.RTitleUserPersonal
Name
DateLines
2671.1More information pleaseMOLAR::ROBERTSKeith Roberts - DECmcc Toolkit TeamThu Apr 02 1992 11:1413
RE: .0

>    A customer which use DECMCC 1.2 (b.l 4) on Ultrix 4.2 have a pb to
>    create a message.
>    In fact, i try several thing, and latin1 string seems to be ok, but
>    this format does not understand the RETURN key.
>    
>    Have you a solution, or can we try to do a MCCmessage ?

  Could you provide a bit more information?  What exactly is your
  customer trying to do?  I am not sure what the "RETURN key" is.

  /keith
2671.2LFOIS1::ALIEThu Apr 02 1992 11:308
    We are trying to create our own message ...
    
    So we try with latin1string but there are no way to do a carriage
    return. 
    
    Everything is on the same line.
    
    
2671.3Are you trying to 'force' message formatting?TOOK::MCPHERSONSave a tree: kill an ISO working group.Thu Apr 02 1992 13:1412
>                       <<< Note 2671.2 by LFOIS1::ALIE >>>
>
>    We are trying to create our own message ...
>    
>    So we try with latin1string but there are no way to do a carriage
>    return. 
>    
>    Everything is on the same line.

Are you trying to embed a carriage return character in the message (<CTRL>M )
to 'force' message formatting?      

2671.4try imbedding a "\n"TOOK::CALLANDERMCC = My Constant CompanionFri Apr 24 1992 15:3829
    we don't handle imbedded control sequences in the latin1string
    (at least not explicitly), but from the FCL at least, we use
    printf to put the strings to the display so if you have a "\n"
    in the latin1string it will cause a carraige returen (and
    the FCL will even handle the indentation alignment). 
    
    From my tester module:
    
    !!!!!!!!!!!!!! Alarm, 24-APR-1992 11:34:14 !!!!!!!!!!!!!! [1]
    Domain: LOCAL_NS:.jill                                Severity:
    Indeterminate
    Notification Entity: EventGenerator LOCAL_NS:.eventgenerator
    Event Source: EventGenerator LOCAL_NS:.eventgenerator
    Event Data Returned:
    Event: NotifGeneralEvent
    
                                 StringData = "AbCdEfGh
                                              AbCdEfGh
                                              AbC
    
    
                  
    
    The string data was created using an input latin1string of:
    
    "AbCdEfGh\nAbCdEfGh\nAbC"
    
    I haven't tried this from the IM PM to see what it does; sorry.