> : I want to duplicate output (and input) of one terminal to another. How can > : I do this? > : > : Here is an applied scenario: I'm training someone 100 miles away. I can > : ssh into their system, while he will log in locally. I know how to > : directly write to another terminal: "echo Hi > /dev/pts/1". How can we > : share a terminal so that I can at least see what he is typing and what the > : output is. If I could type as well that would be great. We are talking > : console only here. However using X is a possibility if there is no console > : solution.
I became curious about this too and queried one of the netbsd lists. Here's what came back: --- try: http://www.conserver.com/ it works with serial ports and with network (eg. telnet) connections --- Use the screen utility, it supports multi-user attachment. Look in pkgsrc/misc/screen for more info --- You can use kibitz, which is included as part of tcl-expect under share/examples/tcl/kibitz. It is not the same as ttysnoop; it is cooperative. By chaining sessions, you gain >2 users. --- I was familar with screen, but didn't think it would do multi-user attachments. Never heard of the others, but conserver looks to be the easier of the two. Haven't a clue about integrating ssh, though I would think if the server is on the remote machine (the one 100 miles away), it wouldn't be a problem. Cheers, Beaker
