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

Reply via email to