From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Terminology in multi-tty primitives Date: Sun, 04 Jan 2009 11:41:45 +0800 Message-ID: <49602FF9.2000001@gnu.org> References: <475362.53773.qm@web83203.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231040552 26126 80.91.229.12 (4 Jan 2009 03:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Jan 2009 03:42:32 +0000 (UTC) Cc: rms@gnu.org, cyd@stupidchicken.com, emacs-devel@gnu.org, Stefan Monnier , Eli Zaretskii , stephen@xemacs.org To: pandyacus@sbcglobal.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 04 04:43:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LJJtu-0003Fb-EJ for ged-emacs-devel@m.gmane.org; Sun, 04 Jan 2009 04:43:42 +0100 Original-Received: from localhost ([127.0.0.1]:49808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJJsf-00006g-1Z for ged-emacs-devel@m.gmane.org; Sat, 03 Jan 2009 22:42:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJJsb-00006b-TV for emacs-devel@gnu.org; Sat, 03 Jan 2009 22:42:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJJsa-00006O-Fc for emacs-devel@gnu.org; Sat, 03 Jan 2009 22:42:21 -0500 Original-Received: from [199.232.76.173] (port=60224 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJJsa-00006L-DM for emacs-devel@gnu.org; Sat, 03 Jan 2009 22:42:20 -0500 Original-Received: from ti-out-0910.google.com ([209.85.142.189]:28075) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LJJsY-0000MU-7e; Sat, 03 Jan 2009 22:42:18 -0500 Original-Received: by ti-out-0910.google.com with SMTP id u5so5075406tia.10 for ; Sat, 03 Jan 2009 19:42:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=sbzsdb0TNf1VkKPDCquiBAalZOk1+YTIAFuaA8IBBIw=; b=WBSKLXi6gLq51wokxG5DxVuNka9R1TtOdwXds2DFPx0RNp44BC5g1Uulw277le4pl/ HawqZbPEVcex0tk7l+HUcyB289qnmFoP3X32CxplkGYagJWe0DbMxm9dfvmbDEQlCyQc WHrAM/W24Heg/Hsq29E68+CoIbaZM7Cms6tuM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ZbanzX6GZIurX/coWQF2cqYiNZ7Nwyv7Gi5WaHfjdaH/UbsbPkFWlTnsLGui59v9uR e6OD90dRS2DUp/hx/rjKWk0UZNvvA8I2GR0z253gZ5lShfo3kTRcP9k5D31AyvS98WVd o8dQxTfKtBaSlKpND7/pk1ygvyrAj+PU3UtEA= Original-Received: by 10.110.95.3 with SMTP id s3mr13044206tib.35.1231040535586; Sat, 03 Jan 2009 19:42:15 -0800 (PST) Original-Received: from ?192.168.249.28? ([124.13.5.7]) by mx.google.com with ESMTPS id b4sm19263891tic.2.2009.01.03.19.42.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 03 Jan 2009 19:42:14 -0800 (PST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <475362.53773.qm@web83203.mail.mud.yahoo.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107563 Archived-At: Chetan Pandya wrote: > On my system I cannot create a tty frame, but isn't there supposed to be the ability to create multiple frames on a terminal? > That is distinct from creating a frame on a different tty. The issue here is that creating a frame on a tty that Emacs does not already own can lead to corruption, because the process that owns that tty keeps drawing to it while Emacs is using it. Perhaps we should limit the ttys that Emacs will create frames on with make-frame-on-tty to ttys that Emacs already owns (either through emacsclient, or the tty that emacs -nw was started in). It is true that we don't limit displays in the same way, but X displays are designed to have multiple applications using them at a time, so we don't have the same problem there.