public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* PTY not working in Mintty
       [not found] <CGME20200410120549eucas1p284c34a682e7720bf10afd3e1fa669aa4@eucas1p2.samsung.com>
@ 2020-04-10 12:05 ` Pavel Fedin
  2020-04-10 12:24   ` Marco Atzeri
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Fedin @ 2020-04-10 12:05 UTC (permalink / raw)
  To: cygwin

  Hello everyone!

  I have two machines in my posession: a desktop and a laptop. Both 
machines have Windows 10 and the same up to date version of Cygwin 
installed. The only difference is "age". The laptop is a new one, with 
freshly installed OS and Cygwin, and the desktop is about one year old 
and its hard drive is about 10 years old, Cygwin was installed a while 
ago and periodically upgraded.

  So far, on the desktop PTY does not work. Attempt to run docker (i am 
using Docker Desktop for Windows) causes "Terminal is not a PTY" error, 
i have to use winpty wrapper as suggested. On the laptop everything is 
fine, docker works in MinTTY out of the box with no need for winpty.

  Is there maybe some hidden setting, which got stuck somewhere in the 
older system ? Why is PTY not working? Can anyone help me to diagnose that ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PTY not working in Mintty
  2020-04-10 12:05 ` PTY not working in Mintty Pavel Fedin
@ 2020-04-10 12:24   ` Marco Atzeri
  2020-04-10 16:21     ` Thomas Wolff
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Atzeri @ 2020-04-10 12:24 UTC (permalink / raw)
  To: cygwin

Am 10.04.2020 um 14:05 schrieb Pavel Fedin via Cygwin:
>    Hello everyone!
> 
>    I have two machines in my posession: a desktop and a laptop. Both
> machines have Windows 10 and the same up to date version of Cygwin
> installed. The only difference is "age". The laptop is a new one, with
> freshly installed OS and Cygwin, and the desktop is about one year old
> and its hard drive is about 10 years old, Cygwin was installed a while
> ago and periodically upgraded.
> 
>    So far, on the desktop PTY does not work. Attempt to run docker (i am
> using Docker Desktop for Windows) causes "Terminal is not a PTY" error,
> i have to use winpty wrapper as suggested. On the laptop everything is
> fine, docker works in MinTTY out of the box with no need for winpty.
> 
>    Is there maybe some hidden setting, which got stuck somewhere in the
> older system ? Why is PTY not working? Can anyone help me to diagnose that ?
> 

Hi pavel,

what is the setting of CYGWIN variable ?

I suggest you to run

"cygcheck -svr > cygcheck.out" and compare the output files

No idea what is "Docker Desktop" but I suggest you to verify that you 
are really running mintty with the same invocation in the two cases.

Regards
Marco

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PTY not working in Mintty
  2020-04-10 12:24   ` Marco Atzeri
@ 2020-04-10 16:21     ` Thomas Wolff
  2020-04-13  7:58       ` Pavel Fedin
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Wolff @ 2020-04-10 16:21 UTC (permalink / raw)
  To: cygwin

Am 10.04.2020 um 14:24 schrieb Marco Atzeri via Cygwin:
> Am 10.04.2020 um 14:05 schrieb Pavel Fedin via Cygwin:
>>    Hello everyone!
>>
>>    I have two machines in my posession: a desktop and a laptop. Both
>> machines have Windows 10 and the same up to date version of Cygwin
>> installed. The only difference is "age". The laptop is a new one, with
>> freshly installed OS and Cygwin, and the desktop is about one year old
>> and its hard drive is about 10 years old, Cygwin was installed a while
>> ago and periodically upgraded.
>>
>>    So far, on the desktop PTY does not work. Attempt to run docker (i am
>> using Docker Desktop for Windows) causes "Terminal is not a PTY" error,
>> i have to use winpty wrapper as suggested. On the laptop everything is
>> fine, docker works in MinTTY out of the box with no need for winpty.
>>
>>    Is there maybe some hidden setting, which got stuck somewhere in the
>> older system ? Why is PTY not working? Can anyone help me to diagnose 
>> that ?
>>
If your desktop Windows version is a bit older, it may not yet support 
the ConPTY API, so cygwin will silently drop its own conpty support. You 
might compare the build numbers (cmd /c ver, or winver).

>
> Hi pavel,
>
> what is the setting of CYGWIN variable ?
>
> I suggest you to run
>
> "cygcheck -svr > cygcheck.out" and compare the output files
>
> No idea what is "Docker Desktop" but I suggest you to verify that you 
> are really running mintty with the same invocation in the two cases.
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PTY not working in Mintty
  2020-04-10 16:21     ` Thomas Wolff
@ 2020-04-13  7:58       ` Pavel Fedin
  2020-04-13  9:11         ` Marco Atzeri
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Fedin @ 2020-04-13  7:58 UTC (permalink / raw)
  To: Thomas Wolff, cygwin

Hi! On 10.04.2020 19:21, Thomas Wolff wrote:
> If your desktop Windows version is a bit older, it may not yet support 
> the ConPTY API, so cygwin will silently drop its own conpty support. 
> You might compare the build numbers (cmd /c ver, or winver).

  Just checked. Both systems report:

Microsoft Windows [Version 10.0.18362.720]

>
>>
>> Hi pavel,
>>
>> what is the setting of CYGWIN variable ?
  It's empty.
>>
>> I suggest you to run
>>
>> "cygcheck -svr > cygcheck.out" and compare the output files
  "Segmentation fault" on both systems.
>>
>> No idea what is "Docker Desktop"
Docker ported to Windows using a virtual machine: 
https://www.docker.com/products/docker-desktop
>> but I suggest you to verify that you are really running mintty with 
>> the same invocation in the two cases.
  How to do that (other than above) ? I am really running it from "Start 
menu" using "Cygwin" icon, that's it.

  Sorry Marco, was unable to answer you directly because for some reason 
i haven't got the message. Neither privately nor via the ML.


  Kind regards.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PTY not working in Mintty
  2020-04-13  7:58       ` Pavel Fedin
@ 2020-04-13  9:11         ` Marco Atzeri
  2020-04-13 10:45           ` Pavel Fedin
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Atzeri @ 2020-04-13  9:11 UTC (permalink / raw)
  To: Pavel Fedin, cygwin

Am 13.04.2020 um 09:58 schrieb Pavel Fedin:
> Hi! On 10.04.2020 19:21, Thomas Wolff wrote:
>> If your desktop Windows version is a bit older, it may not yet support
>> the ConPTY API, so cygwin will silently drop its own conpty support.
>> You might compare the build numbers (cmd /c ver, or winver).
> 
>    Just checked. Both systems report:
> 
> Microsoft Windows [Version 10.0.18362.720]
> 
>>
>>>
>>> Hi pavel,
>>>
>>> what is the setting of CYGWIN variable ?
>    It's empty.
>>>
>>> I suggest you to run
>>>
>>> "cygcheck -svr > cygcheck.out" and compare the output files
>    "Segmentation fault" on both systems.

that is really NOT normal

BLODA ?


>>> No idea what is "Docker Desktop"
> Docker ported to Windows using a virtual machine:
> https://www.docker.com/products/docker-desktop
>>> but I suggest you to verify that you are really running mintty with
>>> the same invocation in the two cases.
>    How to do that (other than above) ? I am really running it from "Start
> menu" using "Cygwin" icon, that's it.
> 
>    Sorry Marco, was unable to answer you directly because for some reason
> i haven't got the message. Neither privately nor via the ML.

sometimes the mail servers do strange things..

> 
> 
>    Kind regards.
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PTY not working in Mintty
  2020-04-13  9:11         ` Marco Atzeri
@ 2020-04-13 10:45           ` Pavel Fedin
  0 siblings, 0 replies; 6+ messages in thread
From: Pavel Fedin @ 2020-04-13 10:45 UTC (permalink / raw)
  To: Marco Atzeri, cygwin


On 13.04.2020 12:11, Marco Atzeri wrote:
>>>> "cygcheck -svr > cygcheck.out" and compare the output files
>>    "Segmentation fault" on both systems.
>
> that is really NOT normal
>
> BLODA ?

  Yes, these machines have some, and it's impossible to get rid of it. 
It is installed according to The Supreme Leader's Order. Identical set, 
by the way, yet on laptop PTY works and on desktop it doesn't. 
Furthermore, winpty works; i don't think it does something drastically 
different.

  Just tried to run on my home personal desktop, everything is fine 
there, so definitely a BLODA.

  Is there any verbose logging to be turned on, which can shed some light ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-13 10:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200410120549eucas1p284c34a682e7720bf10afd3e1fa669aa4@eucas1p2.samsung.com>
2020-04-10 12:05 ` PTY not working in Mintty Pavel Fedin
2020-04-10 12:24   ` Marco Atzeri
2020-04-10 16:21     ` Thomas Wolff
2020-04-13  7:58       ` Pavel Fedin
2020-04-13  9:11         ` Marco Atzeri
2020-04-13 10:45           ` Pavel Fedin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).