Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!seismo!mcvax!inria!crcge1!litp!og From: og@litp.UUCP Newsgroups: comp.unix.questions Subject: Help needed with slave terminals (4.3bsd) Message-ID: <406@litp.UUCP> Date: Wed, 13-May-87 15:48:59 EDT Article-I.D.: litp.406 Posted: Wed May 13 15:48:59 1987 Date-Received: Sat, 16-May-87 10:07:20 EDT Organization: L.I.T.P., Universite Paris VI, Paris, FRANCE Lines: 27 I work under UNIX 4.3bsd. I want to use a terminal as a slave terminal. Say the master terminal is M and the slave is S. I need some of the output produced by a program running on M to be routed to S and I need that program to take some of its input from S. Now the problem I have is the following: terminal S is not hardwired and cannot be hardwired. So it's a plain regular terminal that can only gain access to the system via login. This implies that a shell is running on it. Thus it's allright to send data to it, but if I type something on its keyboard what I type will be picked up by the shell running on S rather than by the program I'm running on M eventhough its awaiting input from S. I suspect the solution lies in pseudo-terminals (pty's) but I don't quite get how the whole thing works. The manual page is somewhat cryptic to me. What I need in fact is some program or suggestion of program that I could run on S and that could make it become a slave. For those who know Multics I want the equivalent of the "slave" command you can give at dialup time instead of "login". -- UUCP: ...seismo!mcvax!inria!litp!og BITNET: GIFFARD@FRCIRP71 Phone: +33 1 43 54 13 65 +33 1 43 36 25 25 ext. 4055