Can something like Script be done in System V?
Bjorn Eriksen
ber at enea.UUCP
Sun Jun 9 11:31:04 AEST 1985
I'm posting this for a guy (without net access) that has problems
with process communication in System V. What he needs is something
like the script command in 4.[1-2]BSD.
This is how he explains the problem:
I have been advised to contact you on some Unix problems
I have. As you know I have been involved in questions I
can not sort out myself.
I develop a system based on dialog switching technology
which calls for "Mire".
The Mire program controls application systems by (program
to program) two-pipes read/write communication.
The Mire control program forks a child, redirects pipes to
child stdin/stdout, next exec the application. These traditional
parent-to-child interprocess pipes do not work with screen
handling programs, like "vi", "more" etc.
I need some sort of paren-to-child interface to get under
control applications using screen handlers.
The Mire control program reads a response from the exec'd
child application, compare it with a string of text and
depending on if the comparision is true, sends the new message
to the application system, otherwise kills the application
and sends response to end user.
I can change pipes to Mire-file-child communication if that
helps me but I can not find a file or "virtual terminal" which
is suitable for my purpose.
Well System V wizards, how do you do a front end program that has total
terminal control even over a raw mode "application" like vi.
Some programs don't like to be piped at, so they have to fooled somehow.
I don't know System V that well, so any ideas would be appreciated.
Please also include info about what "version" of System V (that is machine)
it's supposed/not suppused to work on. It's not System V release 2.
--
Bjorn Eriksen
ENEA DATA Sweden
UUCP: {seismo,decvax,philabs}!{mcvax,ukc,unido}!enea!ber
ARPA: decvax!mcvax!enea!ber at berkeley.arpa
mcvax!enea!ber at seismo.arpa
More information about the Comp.unix.wizards
mailing list