[comp.windows.interviews] Redirecting Stdio/Curses to an Interviews Window

S.Khebbal@cs.ucl.ac.uk (05/09/91)

Hello,

I am relatively new to InterViews ( version 2.6 ). 
I am writing an application that has an InterView application window from 
which the user can select different application shells, which should run 
within there own InterViews window.

My problem is that these application shells take input from the keyboard and
place output on to stdout and one of the shells uses the Curses screen
handling package. Now I do not want to rewrite the packages to be fully
InterViews style input and output (mainly time constraints). What I require is
a method or class(interactor) that can display stdio to an InterViews Window (
ie a xterm style window but under control of my program not a separate process)
and a class or interactor that can handle/translate CursesWindow screen
handling onto an InterViews Window.

I would be grateful if anyone could suggest ideas for how to get InterViews to
handle the above or perhaps the appropriate classes for the Curses and
redirection problem, if they have come across this problem.

					-- Thanks in Advance --
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 #  MAIL ADDRESS :                      |    EMAIL ADDRESS :                 #
 #       Mr Sukhdev Khebbal,            |                                    #
 #       Room 224,                      |          skhebbal@uk.ac.ucl.cs     #
 #       Computer Science Department,   |------------------------------------# 
 #       University College London,     |    TELEPHONE NUMBER :              #
 #       Gower Street,                  |                                    #
 #       London WC1E 6BT.               |    LONDON (071) 387 7050 Ext 3664  #
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

S.Khebbal@cs.ucl.ac.uk (05/11/91)

Hello Again,

I am relatively new to InterViews ( version 2.6 ). 
I am writing an application that has an InterView application window from 
which the user can select different application shells, which should run 
within there own InterViews window.

My problem is that these application shells take input from the keyboard and
place output on to stdout and one of the shells uses the Curses screen
handling package. Now I do not want to rewrite the packages to be fully
InterViews style input and output (mainly time constraints). What I require is
a method or class(interactor) that can display stdio to an InterViews Window (
ie a xterm style window but under control of my program not a separate process)
and a class or interactor that can handle/translate CursesWindow screen
handling onto an InterViews Window.

I would be grateful if anyone could suggest ideas for how to get InterViews to
handle the above or perhaps the appropriate classes for the Curses and
redirection problem, if they have come across this problem.

					-- Thanks in Advance --
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 #  MAIL ADDRESS :                      |    EMAIL ADDRESS :                 #
 #       Mr Sukhdev Khebbal,            |                                    #
 #       Room 224,                      |          skhebbal@uk.ac.ucl.cs     #
 #       Computer Science Department,   |------------------------------------# 
 #       University College London,     |    TELEPHONE NUMBER :              #
 #       Gower Street,                  |                                    #
 #       London WC1E 6BT.               |    LONDON (071) 387 7050 Ext 3664  #
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=