From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Gerd_M=c3=b6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Implementing image support for kitty terminal Date: Fri, 9 Sep 2022 16:10:07 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3010"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Cc: emacs-devel@gnu.org To: tomas@tuxteam.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 09 16:12:05 2022 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 1oWejl-0000ZA-NO for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Sep 2022 16:12:05 +0200 Original-Received: from localhost ([::1]:39788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oWejk-0008He-L4 for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Sep 2022 10:12:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWehw-0006fD-B3 for emacs-devel@gnu.org; Fri, 09 Sep 2022 10:10:12 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:36380) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oWehu-0000ya-Qo for emacs-devel@gnu.org; Fri, 09 Sep 2022 10:10:12 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id lz22so4294871ejb.3 for ; Fri, 09 Sep 2022 07:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:cc:to:user-agent:mime-version:date:message-id:from:to:cc :subject:date; bh=mjF2lEp7DZiRms863cnJjC1ULTEH0IvWu9B+JjzCnQw=; b=pvDz7vomxta7XhcSK/KD83Fq84q3HdX0Kr10pKHuWR9G+ooabe5MN6KtVQPDx2NtWS WC/NMJyUg76ak/iBRaEJlW2W5/ob0hEJmO1YurZco+hyp2HscH4D0vxdXym3sAUJTUdD ZR+nh95OHV29dhNByxVhIorEU9Zck4NI0yeHL7yQjHoEGWYPQJt9TublSRYiwkC+KYa3 qkUmD2rzY1NY9p+fwS9/J4SwtpFDsry6Upg7yj7jWeij0f2Cn+CRZJVmxVvr6trLcQAR L21ECdfNzzutscua32002TT7LNNUgQ8vzk/7n4hlcteZVMs89mxdFnYQKUGDTOxIHLJ4 IQMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:content-language :references:cc:to:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=mjF2lEp7DZiRms863cnJjC1ULTEH0IvWu9B+JjzCnQw=; b=o736NsiGWeF135T1d4aeCDtMnWjCFN5Uwtz3/OXcgxEpf7zLn/P771Nomxx38zaMt+ xGjvtvkrLeLGEFWroggedo8GcMFBKcmdCe1pwKfR6EWjVL5KveGqME/j8D8B5qylH2Xj 4CGujZq5WFBAc3vWq8rbJ13efCAHMVnmmNeUSfFtW6pTSVpjNy4XvDero89knThBgXkl SopGgzjPIQqCftnkATIfCf/Vu+bpRgm1iZGweBp/yHmyT+ZsWqXJ9KBr0oV/75bBvghz WDrMflzmLbnYbDfaQFw+7cnzwzNQnPK12odsbw+LjC9tormtr+Vn74laJPCLOnBu5T6T pQiQ== X-Gm-Message-State: ACgBeo3/ThHJ2S1mrEdQbKHzO0fHYedlVZZHA70+occ0NUO5exMGHZ0e CIB78QR9LtjHpDrnOOOEgx4= X-Google-Smtp-Source: AA6agR5vUgOcTNSuEYw17SRBv83El23Biz6DZjzHR+NMV67o7Jg4LsAre+oWprDsN3oXU/40DXLJuw== X-Received: by 2002:a17:906:5a4c:b0:76f:3e98:b453 with SMTP id my12-20020a1709065a4c00b0076f3e98b453mr10012038ejc.509.1662732609446; Fri, 09 Sep 2022 07:10:09 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e36855.dip0.t-ipconnect.de. [217.227.104.85]) by smtp.gmail.com with ESMTPSA id x17-20020a1709065ad100b0073d87068042sm323973ejs.110.2022.09.09.07.10.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 07:10:08 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x636.google.com X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 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, NICE_REPLY_A=-2.079, 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" Xref: news.gmane.io gmane.emacs.devel:295068 Archived-At: > Nagle's algorithm and TCP_NODELAY are the keywords here, AFAIK. Yup, SSH must be using TCP_NODELAY interactively. I can't see how else that would work. And OpenSSH docs say it uses TCP_NODELAY for X forwarding, so that makes sense. Which means that our "intelligent" update on terminals, which does potentially many writes may produce as many packets. Which may be a problem sometimes :-). It wouldn't be hard to buffer the writes until the update is done, I think. But is it worth it as an option? Don't know.