delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/08/12/11:08:08

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57CF88qE1621019
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 57CF88qE1621019
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=tyW9+eLL
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B7943858405
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1755011285;
bh=110QgfSkW660oOejB0VT+Y28kzhhB711FPhyhZzNE7M=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=tyW9+eLLAdf+z7KjlySXwA6v/MfD7PzydlYWH2Ibaub5o0+PTv141bTWwNejcuidF
LxgY4+LyEVamRk6tEl4PIs9Ro2kNPWyKlw1fa6JMlUdm1odmsPcFWiNXsNjPWV3wdA
0a642ySUTDY41Rpg+YK5vVSx9M/S1AYSD/4dq+sM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DD77F3858C83
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DD77F3858C83
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755011104; cv=none;
b=azN0z1md2g3mbW6CgW4JrU3VG4YZNgvwM3tB795X0m015AwRZ3DcJ3eTlHurjieRlpjV1PKM8rRVaT4JV/BY4rns2d9DuaU8tLaQ+gUEyMelXm1zzhoZQWaQuzm4ngfNFUTAKytqlJ8gfwogSwUpUMEwusc8wwgvGyg7fHmi2cc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1755011104; c=relaxed/simple;
bh=UetzLgwXxsLX2TdtZV87MCT1u/ZZ5hmuj/AKF8ef418=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=c3SmA3qjDA0LqllMSEwSzh9/YC5MQrQo0qInyqCGPUK3kZ+PZT3bXMTEmmrqa/vaLFn+vHjsSUyVPk3N8r6Dqapd+s7rBDX2PXdVVi535RfgpSKhOjPXN70fMYG6HfhBPtXbAgqRd6eb9QZC0X3qCFdIoJHuhVwLKVxiu6Rblko=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD77F3858C83
X-Yandex-Fwd: 1
Date: Tue, 12 Aug 2025 17:55:00 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <751661436.20250812175500@yandex.ru>
To: L 2750558108 <L2750558108 AT outlook DOT com>, cygwin AT cygwin DOT com
Subject: =?gb2312?Q?Re:_=BB=D8=B8=B4:_Screen_:_The_screen_session_creaeted_by_ssh_and_local_?=
=?gb2312?Q?console_seems_separated?=
In-Reply-To: <SA1P220MB165695D1A21DA6E619D77073B12EA@SA1P220MB1656.NAMP220.PROD.OUTLOOK.COM>
References: <SA1P220MB1656486F8E863333AE2AADE8B12DA AT SA1P220MB1656 DOT NAMP220 DOT PROD DOT OUTLOOK DOT COM>
<20250807131611 DOT 3e7ddc20a0dbc9432e1ba974 AT nifty DOT ne DOT jp>
<20250807132154 DOT d38418f36df0bde3c4a67562 AT nifty DOT ne DOT jp>
<730588d6e22d4284b49f15ee853dcd7cae21594247a844718d3025c696f69141SA1P220MB16569712CB359D8E14F2E7F9B12CA AT SA1P220MB1656 DOT NAMP220 DOT PROD DOT OUTLOOK DOT COM>
<425098424 DOT 20250809144826 AT yandex DOT ru>
<SA1P220MB165695D1A21DA6E619D77073B12EA AT SA1P220MB1656 DOT NAMP220 DOT PROD DOT OUTLOOK DOT COM>
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, L 2750558108!

>> Is that a Windows host or Linux?

> Both the host and my pc are Windows

>> If you want to share the same console, GNU screen needs to be configured in a
>> certain way. And that's not an easy setup.

> What should I do for that? I couldnt find any information on the Internet

Here's a relevant documentation page:
https://www.gnu.org/software/screen/manual/html_node/Multiuser-Session.html

>> I would strongly recommend to look into tmux instead.

> I have tried tmux but also meet more problem. Sometimes even I try to
> reattach a session opened in the same local console (no ssh thing), it fails
> and told me "open terminal failed: not a terminal". But sometimes it can
> reattach correctly in the local console, when I try ssh it says "open
> terminal failed: not a terminal" again. It made me confuse. What should I do to achieve my intended with tmux?


>> That issue has been fixed like 3 to 5 years ago.
>> screen -aS main
>> ^A^D
>> screen -aDR main

> Seems not work for me. After execute "screen -aDR main" in ssh, the console frozen directly

>> $ uname -a; screen --version
>> CYGWIN_NT-10.0-19045 daemon2 3.6.3-1.x86_64 2025-06-05 11:45 UTC x86_64 Cygwin
>> Screen version 5.0.1 (build on 2025-06-19 16:06:44)

If that's the same for you, the answer could be in the other software
installed on your system.
I would try a clean VM with only Cygwin installed. Because that works for
other people. (Also, did you disable the new pty console by chance?)


-- 
With best regards,
Andrey Repin
Monday, August 11, 2025 20:47:22

Sorry for my terrible english...

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019