| 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 | 
    I have a PMAX and I put a bunch of control characters in the /etc/motd
    file (serves the same purpose as SYS$ANNOUNCE on VMS systems).  
    
    It looks fine when I cat the file or login via the net, but when I
    login at the console, the /etc/motd gets displayed in the session
    manager window and the control characters are not interpreted. 
    
    Is there any way to get this to work?
    
    I looked in /etc/ttys and the last line seemed to suggest that the
    session manager has terminal type "none", which would explain the fact
    that the characters aren't interpreted.  However, when I changed the
    "none" to "vt100" and did a kill -HUP 1 and logged out and back in,
    nothing had changed.
    
    Any ideas?
    
    T?
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 1944.1 | SM Message window isn't a terminal... | COOKIE::KITTELL | Richard - Architected Info Mgmt | Tue Dec 19 1989 12:36 | 3 | 
| I'm pretty sure the message window is a simple text widget, not a terminal. Hence there isn't any TT driver code doing output interpretation of your text. | |||||
| 1944.2 | FROTHY::TATLOW | The Question | Tue Dec 19 1989 13:05 | 3 | |
|     Well, is there any way to *make* it interpret the characters?
    
    T?
 | |||||
| 1944.3 | SSPENG::KLEINSORGE | So sue me. | Tue Dec 19 1989 15:21 | 8 | |
|     
    Writing a filter for ANSI sequences is a cake walk, it doesn't have to
    be a terminal.  If all that they wanted to do was strip out the data
    that wasn't meant to be printable, then with the ANSI parser from
    DECterm (it's small, and portable "C") and a little additional logic...
    it's an afternoons work.
    
    
 | |||||
| 1944.4 | easy | OXNARD::HAYNES | Charles Haynes | Thu Dec 21 1989 00:05 | 4 | 
|     It might be possible to turn the SM message window into a terminal emulator
    window. Also an afternoon's work (assuming you have sources...)
    
    	-- Charles
 | |||||