From owner-freebsd-questions@freebsd.org Tue Nov 17 05:29:42 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8630AA31CBA for ; Tue, 17 Nov 2015 05:29:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48B07164D for ; Tue, 17 Nov 2015 05:29:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-76-245.dynamic.qsc.de [92.195.76.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 0D668278AB; Tue, 17 Nov 2015 06:29:38 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id tAH5TcWC002402; Tue, 17 Nov 2015 06:29:38 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2015 06:29:38 +0100 From: Polytropon To: Adam Vande More Cc: FreeBSD Questions Subject: Re: Terminal mirror, mirror terminal Message-Id: <20151117062938.c307ca28.freebsd@edvax.de> In-Reply-To: References: <20151117054859.18f085bc.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 05:29:42 -0000 On Mon, 16 Nov 2015 23:07:41 -0600, Adam Vande More wrote: > On Mon, Nov 16, 2015 at 10:48 PM, Polytropon wrote: > > > I'm searching for a simplified solution that will work in the > > following scenario: > > > > I'm logging into a remote location of a user (ssh -Y) in order > > to perform some CLI tasks. I'd like the user to be able to see > > what I'm doing for educational purposes - I usually have him on > > the phone at the same time. So I see a CLI window on my desktop, > > I work on his system, enter commands and so on, and _he_ can see > > a terminal window on his desktop where he can see what I'm doing, > > he'll see my commands and their output "mirrored". > > > > [...] > > > > Well it won't get anymore lightweight than watch(8) eg "watch pts/1" :) Thank you! This is _exactly_ what I've been searching for, and it's even part of the operating system! I've tried it locally with two classic xterms - exactly what I need. It even duplicates "rich apps" (text mode programs) like the Midnight Commander or automatically updating output like "htop" properly. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...