[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

2375.0. "Redirect SYS$OUTPUT( RMS output etc. ) into a scroll widget" by CERN::EJM () Wed Feb 28 1990 10:40

Does anyone know how to take normal output and send it to a scroll widget??
That is, I would like to set up something at the beginning of my program that
redirects SYS$OUTPUT so that all fprint and LIB$PUTMSG etc. commands go to that 
window instead of, for example, DECterm.

I suppose the relevant question is how does DECterm or the Session Manager
do it???  They both provide the exact functionality I need.

	John
T.RTitleUserPersonal
Name
DateLines
2375.1DECterm widget, maybeHANNAH::MESSENGERBob MessengerWed Feb 28 1990 12:2811
Re: .0

DECterm includes a "DECterm widget" that includes scroll bars and lines saved
off the top.  One possibility is that you could use the DECterm widget (which
is supported for use by layered products but isn't documented for customer
use).  You could also use the DECwTermPort routine to create a DECterm window,
which your program could read and write to through a TWAn: device.  This
wouldn't give you as much control over the size and position of the window,
though.

				-- Bob
2375.2see ELKTRA::DW_EXAMPLES note 128.0AITG::DERAMODan D'Eramo, nice personWed Feb 28 1990 19:303
        You may also want to check out ELKTRA::DW_EXAMPLES note 128.0.
        
        Dan
2375.3THANXCERN::EJMFri Mar 02 1990 08:493
    Thanks for the pointer.  The example is basically exactly what I need.
    
    John