From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Q: child frames on ttys Date: Wed, 21 Aug 2024 10:11:50 +0200 Message-ID: <87ttfethvd.fsf@gmail.com> References: <86ikvz302s.fsf@gnu.org> <132fd5ff-bcdf-4d93-acab-186e52f80d9a@gmx.at> <26111134-1d5a-4ddb-ba4c-b0a5891cbe0a@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17528"; mail-complaints-to="usenet@ciao.gmane.io" Cc: martin rudalics , Eli Zaretskii , emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 21 10:12:58 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sggSf-0004U4-Tp for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Aug 2024 10:12:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sggRh-0002VR-Ay; Wed, 21 Aug 2024 04:11:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sggRf-0002Uu-FI for emacs-devel@gnu.org; Wed, 21 Aug 2024 04:11:55 -0400 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sggRe-0001q3-0d; Wed, 21 Aug 2024 04:11:55 -0400 Original-Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-428e0d184b4so49366265e9.2; Wed, 21 Aug 2024 01:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724227912; x=1724832712; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=gTj8A+kfaEoRjwnyrwH2VWK71i7OZRMBXMyu07Gu0wY=; b=Uzg1dh2fxRNeHRYYXTWgHzXCal47tnDz7bRokw7HA/Sfl67JE4ufCII9bdIFWH0DM3 GDDyO87gEnWqgwvxKkN2ZesSg1CxlVEqNQn1+FJhJnXACjnLhbwk0Rod6arlmFbJ/Avf rYVR5IN6V1B6oqhXLaleRrR0uQsr8ATtP8mgwNIAXiYolUQn0Gsvwx+WJeLuiedJZgiG 0hUS46L/43C6e/6OxTxCi654CNiUDaY7PVGiIV4FI65gRnFIXXgOFn8Ru7xMCMO5seNw v/M0yURc0yr2+T5pchWPmrQEPylkU+/E2Ow4UlMifyUDTFVNoO1xPQ0QcARhYeIzgQvq 6Y8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724227912; x=1724832712; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gTj8A+kfaEoRjwnyrwH2VWK71i7OZRMBXMyu07Gu0wY=; b=k3ElC/3rcA5g+IBTDu7yPNLj1fiwHMxKZ+PtzYsE2cuowfg1SldVTm14R7+vP8lyMw 2zphRt3iQPmDwT9MKyDMM8h1rgBNlDG133gVvgPqDwhXqSbGfjct24hOmJPx7hAc1O1z 7pnmBLFRzF9e8vN06dmE2DmcKUWMhiiqgGzRlFm0yXi3XGr/lbsxA4+P6wjNOLR9g8J5 Zhf2BIPkkPwetk40tdNYnJvU0i9ujKPqeMXnbmsHE2yIlf4GmqEFISxePaqmFGobf6gM UyB24Od8EI/S0m8SxiaiWctT/25usLTJuUv051ON0pAPU5LhT3FG+v3+VzuOTXuiywjH +BUA== X-Forwarded-Encrypted: i=1; AJvYcCU3B7Q7+l6kyDDF2qHhmEbk5gEhFlm0fDFXw1EcTbCMr3ItmoOb+2OrFJ0fzZxyyMAcgZ9g@gnu.org, AJvYcCXrktnS//Kh+v0FaKvpTvDXIZ8DWNXMOx7fbcXy2jr4/XZquWuMx5v3EVbZ/nFLI/zFBjDjKmnfot8uRDA=@gnu.org X-Gm-Message-State: AOJu0YzhAQcOt7kEyBT/m7oYCfpuEX7o74PzGQUyeToFW1lD/R8Aw/WP 4CaqQZ+rrkjsrCjvNiNpNAGkc7w19bpQ1mGpcdKD+wRLd4ZjQabU0GREyg== X-Google-Smtp-Source: AGHT+IETD0x1TrvOiaOe+hcNWiKDufkOmkg4nK7KOJ7mUXM2bDlWPv6gdCb9+gWHPy1ZjPZgcfQiyA== X-Received: by 2002:a05:600c:1f90:b0:428:52a:3580 with SMTP id 5b1f17b1804b1-42abd110cf9mr11662955e9.3.1724227911341; Wed, 21 Aug 2024 01:11:51 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb51:2c7:ea7f:dc4e:b6a3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42abee86da6sm16286535e9.17.2024.08.21.01.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2024 01:11:50 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Wed, 21 Aug 2024 10:03:33 +0200") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=rpluim@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322994 Archived-At: >>>>> On Wed, 21 Aug 2024 10:03:33 +0200, Gerd M=C3=B6llmann said: >>=20 >>> 6. Update: Build frame matrices for all windows visible on a termin= al. >>> Copy visible parts of child fraem desired glyphs to root frame >>> desired glyphs. Then write to the screen. >>>=20 >>> 7. After writing to the screen, copy visble parts of root frame >>> current glyphs to current glyphs of children. >>=20 >> What does the current glyph matrix of the root frame contain now? T= he >> overwritten parts or the original ones? Or are the original parts >> stashed away so they can be easily reused when the child frame is ma= de >> invisible? Gerd> The curren matrix of the root frame must always reflect what is o= n the Gerd> screen, so that we can decide what to output to the terminal to m= ake the Gerd> terminal display what the desired matrix says. IOW, the parts of = the Gerd> root frame's current matrix that were overwritten don't really Gerd> interest anymore. Don=CA=BCt tty menus already do this? Perhaps we could reuse them. Robert --=20