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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

844.0. "Session Manager escape characters not translated" by 32291::KENDALL () Thu May 25 1989 03:07

    The system welcome text on my VS2000 contains escape characters
    to do bold, reverse video, etc.  When this file is displayed
    from the inital session manager window after login, the escape 
    sequences are not translated -- just ESC] ESC] .
    
    What do I need to set to get the escapes properly displayed? 
    
    George 

T.RTitleUserPersonal
Name
DateLines
844.1<esc>] or <esc>[ ?56860::BROOMHEADI&#039;ll pick a white rose with Plantagenet.Thu May 25 1989 10:521
844.2<ESC>[, plus code32291::KENDALLThu May 25 1989 12:3331
    
    The text file (a system welcome.txt) is as follows:
    
           <ESC>#3 CLUSTER NOTICES<ESC>[0m
           <ESC>#4 CLUSTER NOTICES<ESC>[0m
    
           System Manager:  <ESC>[1;5m George Kendall <ESC>[m
    
           To see this again, type <ESC>[1m NEWS<ESC>[m
    
    
    
    The output is displayed as:
    
           CE#3 CLUSTER NOTICES CE[0m  
           CE#4 CLUSTER NOTICES CE[0m
                                     
           System Manager: CE[1;5m George Kendall CE[m
    
           To see this again, type CE[1m NEWS CE[m
     
                                                  
    The escape characters are somehow 0not getting translated.  The
    same welcome file works fine on any VTnnn terminal and from a "set
    host" within a DECterm session.  The only problem is from the message
    screen of the Terminal Manager.
    
    George
    
    

844.319458::FISHERBurns Fisher 381-1466, ZKO3-4/W23Thu May 25 1989 13:025
The session manager is not a terminal emulator.  Apparently the text widget does
not understand escape sequences.

Burns

844.432148::KLEINSORGEToys &#039;R&#039; UsThu May 25 1989 13:5311
    
    Since the session manager may frequently get messages that were for
    intended for terminals through it's psuedo-terminal interface, the session
    manager should probably filter the data through an ANSI parser for just
    the graphic data before sending it to the text widget.
    
    I have a nice standalone module that will do it for you that I cloned
    off for DISPMSG, or you can extract one from the DECterm sources.
    
    _Fred