From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qku7Dp9kl2OctiYAWB0awg (envelope-from ) for ; Mon, 12 Dec 2022 12:27:59 -0500 Received: by simark.ca (Postfix, from userid 112) id 2F30D1E124; Mon, 12 Dec 2022 12:27:59 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=oRI1UBmm; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id D579E1E0CB for ; Mon, 12 Dec 2022 12:27:58 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A846B38500B1 for ; Mon, 12 Dec 2022 17:27:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A846B38500B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670866077; bh=opersoLxOI8LfKtVwX/JoSPaBYvUChTkRW1Au+EOVBM=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=oRI1UBmmtUku2vDY9hSEhIjl6HZ6yU/eKW8qAAg5ZkfyAEc9lfahkQheK+xBJu7x9 kk33gdZjIzzYRYpv/DT7yN5CzYcaF/6+ORzmHhnoamuFJp46sWDM9UDtnxDTYX2R/3 daM2zu3Cw8P20kYEIIk+LGe+I36SLad/cs1Q9JNQ= Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) by sourceware.org (Postfix) with ESMTPS id 7DF69385062D for ; Mon, 12 Dec 2022 17:27:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7DF69385062D Received: by mail-il1-x134.google.com with SMTP id z18so3705915ils.3 for ; Mon, 12 Dec 2022 09:27:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=opersoLxOI8LfKtVwX/JoSPaBYvUChTkRW1Au+EOVBM=; b=4aj40RyWutmGZ7xjpk6uKn0lkY28pwfL+Gk4Xh82bXfKjPxoEHJied6nRjFlB1MrE7 8ZBLsGQyNZQmE8l083uuL3rJvhEemI1sgBbB9/pSOazhhxGKvrpMsHr+mj7PmHPCkzi6 EXn3YonUl1JUNaLyQvHon3FDBfT5m2vhhK6XGwPQyqxVIkD2tCd7lMgmfWdzIfmeFk9A rMylt+4XXxyVn2fsy1BqcgZ5X8nuqSt8iIUrG8HHVXaYW52NxfIz8gAHXkHFQI6QjKUa 2bNtFv2LuaKHLskld4FYk/+iS8ipx27ZwOd9Vzro49PrWiKquZVak5la1s9EGJmzC8m9 Q9zQ== X-Gm-Message-State: ANoB5pnlyHwYRskvSllwfM5ShC0m8dgkTlryEuE82FabzVQr76LmEgfG YFiLqN2TvrM1CrAFgFhM0CWh6ZjnmJtVJ7p0 X-Google-Smtp-Source: AA0mqf4PcX6mYGv9fDqU8ToUte+beDKlNFerVD4MLCs5OBfeulsVsupOMKLgtiG7d4I6hR44/FQ6ng== X-Received: by 2002:a05:6e02:e12:b0:304:af35:a464 with SMTP id a18-20020a056e020e1200b00304af35a464mr4140804ilk.8.1670866055747; Mon, 12 Dec 2022 09:27:35 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id o26-20020a02a1da000000b0038a360671adsm114298jah.27.2022.12.12.09.27.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 09:27:35 -0800 (PST) To: Eli Zaretskii Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH 2/3] Refactor code to check for terminal sharing References: <20221205185651.2704492-1-tromey@adacore.com> <20221205185651.2704492-3-tromey@adacore.com> <83359t8wai.fsf@gnu.org> X-Attribution: Tom Date: Mon, 12 Dec 2022 10:27:34 -0700 In-Reply-To: <83359t8wai.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Dec 2022 21:50:29 +0200") Message-ID: <874ju0h6rd.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >> Cc: Tom Tromey >> Date: Mon, 5 Dec 2022 11:56:50 -0700 >> From: Tom Tromey via Gdb-patches >> >> One thing I'm not sure of here is how GetConsoleProcessList will work >> in all situations. MSDN has a warning about it: >> >> This API is not recommended and does not have a virtual terminal >> equivalent. [...] Applications remoting via cross-platform >> utilities and transports like SSH may not work as expected if >> using this API. Eli> AFAIU the warning, we have no reasons to be afraid of using this API. Thanks. I've updated the commit message to reflect this. Tom