From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matt Carlson Newsgroups: gmane.emacs.help Subject: Re: howto: 2 users interactively edit the same file ? Date: Mon, 31 Oct 2005 23:50:39 -0500 Message-ID: <20051101045039.GA29087@ocoa.cs.purdue.edu> References: <87ll0bvd9t.fsf@tiger.rapttech.com.au> <87acgrsieb.fsf@thalassa.informatimago.com> <8764reun7j.fsf@tiger.rapttech.com.au> <43669126_3@news1.prserv.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130820696 23599 80.91.229.2 (1 Nov 2005 04:51:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2005 04:51:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 01 05:51:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWo6x-0004sl-Gs for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Nov 2005 05:51:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWo6w-0003NU-ST for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Oct 2005 23:51:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWo6g-0003Lt-Ff for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 23:50:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWo6c-0003LB-R1 for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 23:50:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWo6c-0003L4-K2 for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 23:50:42 -0500 Original-Received: from [128.10.2.6] (helo=newman.cs.purdue.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWo6c-0003LJ-Md for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 23:50:42 -0500 Original-Received: from ocoa.cs.purdue.edu (ocoa.cs.purdue.edu [128.10.26.65]) by newman.cs.purdue.edu (8.12.9/8.12.9/PURDUE_CS-2.0) with ESMTP id jA14od6A027264 for ; Mon, 31 Oct 2005 23:50:40 -0500 (EST) Original-Received: from ocoa.cs.purdue.edu (localhost [127.0.0.1]) by ocoa.cs.purdue.edu (8.12.9/8.12.9/PURDUE_CS-2.0) with ESMTP id jA14od0D029118 for ; Mon, 31 Oct 2005 23:50:39 -0500 Original-Received: (from mrcarlso@localhost) by ocoa.cs.purdue.edu (8.12.9/8.12.9/Submit) id jA14odRp029117 for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 23:50:39 -0500 Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <43669126_3@news1.prserv.net> User-Agent: Mutt/1.5.8i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30731 Archived-At: * kgold (kgold@watson.ibm.com) wrote: > Tim X writes: > > > > Have you actually tried this? > > > > I find it amazing this will work. The big problem is how can emacs, > > which doesn't support threads, handle simultaneous input from two > > distinct frames? I can't see how it can handle input from two > > different input devices simultaneously either. The physical displaying > > of the frame on another display is easy enough to understand - this is > > a feature of X windows which emacs is able to take advantage of when > > it is built with X lib support - but coping with input from two > > sources at the same time is a very different matter. > > > > I'm very much looking forward to seeing how this can be done and wish > > I had a second computer handy so that I could experiment for > > myself. I've redirected windows to remote displays before under X and > > that works quite will - it will be interesting to see how emacs can > > deal with the concurrency of two users. I hope the OP will keep us > > informed as to progress. > > I just tried it again - works fine. I used to do this all the time > for instant messaging sessions before IM was invented. > > One machine was a pSeries running AIX and another was a Thinkpad > running Linux. > > Warning: There is an obvious security issue, as the frame recipient > can start a shell and become you. So you have to trust your partner. Excellent point. We've now got everything working just as I'd hoped. After finding out about make-frame-on-display (and frames in general) it was really pretty simple. Actually, the xauth stuff took more fussing than did emacs. But-- it's working perfectly now. Thanks to all of you for your help. -regards, Matt > > -- > Ken Goldman kgold@watson.ibm.com 914-784-7646 > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs