Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site enea.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!bellcore!decvax!mcnc!philabs!cmcl2!seismo!mcvax!enea!ber From: ber@enea.UUCP (Bjorn Eriksen) Newsgroups: net.unix,net.unix-wizards Subject: Can something like Script be done in System V? Message-ID: <868@enea.UUCP> Date: Sat, 8-Jun-85 21:31:04 EDT Article-I.D.: enea.868 Posted: Sat Jun 8 21:31:04 1985 Date-Received: Thu, 13-Jun-85 02:18:21 EDT Reply-To: ber@enea.UUCP (Bjorn Eriksen) Organization: ENEA DATA, Sweden Lines: 45 Xref: watmath net.unix:4773 net.unix-wizards:13514 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@berkeley.arpa mcvax!enea!ber@seismo.arpa