[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

1944.0. "Controlling session manager terminal type" by FROTHY::TATLOW (The Question) Tue Dec 19 1989 12:32

    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.RTitleUserPersonal
Name
DateLines
1944.1SM Message window isn't a terminal...COOKIE::KITTELLRichard - Architected Info MgmtTue Dec 19 1989 12:363
   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.2FROTHY::TATLOWThe QuestionTue Dec 19 1989 13:053
    Well, is there any way to *make* it interpret the characters?
    
    T?
1944.3SSPENG::KLEINSORGESo sue me.Tue Dec 19 1989 15:218
    
    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.4easyOXNARD::HAYNESCharles HaynesThu Dec 21 1989 00:054
    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