From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id A92DB1FF16B for ; Fri, 26 Sep 2025 10:04:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 78D539DF1; Fri, 26 Sep 2025 10:04:49 +0200 (CEST) To: pve-devel@lists.proxmox.com Date: Thu, 25 Sep 2025 08:15:41 +0200 In-Reply-To: <20250925061600.11818-1-aclopte@gmail.com> References: <20250823083010.145866-1-aclopte@gmail.com> <20250925061600.11818-1-aclopte@gmail.com> X-Mailman-Approved-At: Fri, 26 Sep 2025 10:04:47 +0200 MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Johannes Altmanninger via pve-devel Precedence: list Cc: Johannes Altmanninger X-Mailman-Version: 2.1.29 X-BeenThere: pve-devel@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE development discussion List-Help: Subject: [pve-devel] [PATCH vncterm v2 2/3] Parse more OSC sequences Content-Type: multipart/mixed; boundary="===============5162280363557463770==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============5162280363557463770== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: pve-devel@lists.proxmox.com Delivered-To: pve-devel@lists.proxmox.com Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id C268DD5731 for ; Thu, 25 Sep 2025 08:17:12 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id ACCC81778F for ; Thu, 25 Sep 2025 08:17:12 +0200 (CEST) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Thu, 25 Sep 2025 08:17:11 +0200 (CEST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-afcb78ead12so96165466b.1 for ; Wed, 24 Sep 2025 23:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758781025; x=1759385825; darn=lists.proxmox.com; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IRW+jE0ZfDs+khV826N5VSpOQpRvA+BFKBRZsvXyrSY=; b=li1d29y7FQSKjhefOkVxaihEvv1AL/rcTQtYAY3VKmU3rlT9UBrSXur2RKRaU5DWxz C/sJFYKprDSrZ5MLWO3vK0xo8TC/D1eqLaKp8pDK00JAY6A+zY8wVbRAEmYO26L+jxQZ BUwqlDgOu9UU97oM5dPdopxi30ptdriG/7/xnmLexbd+igwIOhwZa40NGku4n9f+fGZj GXKGpYIxzGBun+xJZrL+G79a8Ojy6+SPiqtsO57bkm6YiCDFnKhwc6pgJM9htjhxOvav pWiaI49juf+S3h4lIfTQbjOLJeYr+U7NMjsJoFoAEgkbPcwmzcV/2W7UK1H+Y2vTRYoH y+FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758781025; x=1759385825; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IRW+jE0ZfDs+khV826N5VSpOQpRvA+BFKBRZsvXyrSY=; b=KhUGio2LET/5PjUkvZ2/yDilLDbky4QVnChYTMTx98YILl7farauhH4ZIrbzq97lYi HoCGE3Nxy563+5ChlrwAiyfE9DUoOIs12e6eEqvn/ezVPOH447QSn7k20iFCz7V1odu8 qHml7UNVhDBqQJxG90ugc2elnS3bhTC1P7/MdmAq9kWWLGvwvO17kbW8Ez/5vxHsSjEI GlAXY9UizA7U5P/EQU8SwERZhIP0jEFWhZS7mwiUiqAprXy/yAnnfCqXc4aXR6LGenNj /BeHn7C/RAsrsHREOU0UOv0d2OC4LqhZrCh0BkyoD4ltbtR2/wkQJVNURTETRJPW+FH6 rUeQ== X-Gm-Message-State: AOJu0YysWChpNn7vuQpNEaGJ5RyegQ2mdw0NEDauNaPFju2vigA3/Y/m cWJovFMCjXB2FKYnE+9wHTkSICiOlRKTXipVSWL7eGGAM1r/FnHTPbgWD5s8jSar X-Gm-Gg: ASbGncvQbW9B/gx5hVIJz/GppCX23oWjvmZa/3Qeif0yUIuq4hrOD6OojYj2H0R2HI4 9Ck3nuiH7bHzACv6tIlD59kz1bK2JFBF6p8qTWvaXFQBK3wjgSRFXbSfqawWPbmBJtQw7Jc5LuG LRKd+oYTYLU1rq+czJ67x/b/Q9075PYeLVuIKTVC+E8wqHU1GBS1Fhbx2m6+Vfrl/mx/chL4qUB klxQOKonmBkSbUGSADLtell7qtQHWyhgxVeJ9EugOvSyQCPz6AFUmavX3c5pdW3XIEKaHi3biRw 62cy2tnoGYynMeFms9lxZnGAMoZazqcpMRGgrcboa7b+qy4PCzvOl30D0hca0qJo+yv3PQoCrEC DCxCkCmKVsRKZ4Stmowj71yYXa2X79kbcZgr5L7uJKd1tlzuiwGHjZIa8ybeRj9LkP48= X-Google-Smtp-Source: AGHT+IE/HDY6aU71KEfmFHtzLehKZaOQIhV9saXTbG+CwQsVpA/rEDgv4VmpZU3yNZgnZct+11+1Kw== X-Received: by 2002:a17:907:3f08:b0:b2c:dc13:89e3 with SMTP id a640c23a62f3a-b34bd538972mr236132366b.59.1758781024712; Wed, 24 Sep 2025 23:17:04 -0700 (PDT) Received: from localhost.localdomain (213162081129.public.telering.at. [213.162.81.129]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b353efa4c6dsm96905566b.30.2025.09.24.23.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Sep 2025 23:17:04 -0700 (PDT) From: Johannes Altmanninger To: pve-devel@lists.proxmox.com Cc: Johannes Altmanninger Subject: [PATCH vncterm v2 2/3] Parse more OSC sequences Date: Thu, 25 Sep 2025 08:15:41 +0200 Message-ID: <20250925061600.11818-2-aclopte@gmail.com> X-Mailer: git-send-email 2.51.0.167.g6ad8021821.dirty In-Reply-To: <20250925061600.11818-1-aclopte@gmail.com> References: <20250823083010.145866-1-aclopte@gmail.com> <20250925061600.11818-1-aclopte@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-Mailman-Approved-At: Fri, 26 Sep 2025 10:04:47 +0200 To reproduce the problem, run in Bash: $ printf '\x1b]133;A;click_events=1\x07' Fixes https://bugzilla.proxmox.com/show_bug.cgi?id=6575 Signed-off-by: Johannes Altmanninger --- vncterm.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/vncterm.c b/vncterm.c index 71baa65..9830f21 100644 --- a/vncterm.c +++ b/vncterm.c @@ -1271,17 +1271,8 @@ static void vncterm_putchar(vncTerm *vt, unicode ch) { case 'R': /* reset palette */ // fixme: reset_palette(vc); break; - case '0': - case '1': - case '2': - case '4': - vt->tty_state = ESosc; - break; default: -#ifdef DEBUG - fprintf(stderr, "unhandled OSC %c\n", ch); -#endif - vt->tty_state = ESnormal; + vt->tty_state = ESosc; break; } break; -- 2.51.0.167.g6ad8021821.dirty --===============5162280363557463770== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel --===============5162280363557463770==--