delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/14/15:22:30

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49EJMTpt3525955
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=QWYIGeRR
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1F843858433
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1728933748;
bh=yw5If/LcPABrWNvPCw7HRqf/Z0VJj05guAr+Wr2/dOY=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=QWYIGeRR98AIdAQos4DvAzphYoL/Ax69NAJeNLSON8K2faKigKdCVrazvrGryrAWm
tNQwVpNLJi7RwVEl90rSEGMIhw9trNGMvXqrqpjZBIalaitgJT91kazYdEnRzDYaI8
kVNGy5JHOpnWHi8lYc00MVyeiEXOnmtVwGxTpwqY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E5C2B3858C98
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E5C2B3858C98
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728933696; cv=none;
b=RQWh6E+m5pNXHiuVMueF4j/4A9QwBHr5OojGj15KWljNgDyXal0Vx/+U3e6hyHkjLdCXCONwkJXVLFIy7O6fc9uiKuuUx9qFcFWHbWznUGMy1ErLxGs8uVi4I9q8ym6dFo3w1ZaoD94DkfSVNobIUZYKYILnqdM56F9RnccJycM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1728933696; c=relaxed/simple;
bh=zJp+7CoLTWUyg+Ws9eTI6Q/W7tpxf+RGvDdmXoszRvE=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=NMrg/nmDVyXDGqwt2+wmBw2xUK87flj95jM4Ttu93FKd1mp2EID+eLYvp64Us+VrHZazZKK8H2WStcHqgcZwTnfB/ffHbeYGL5GiVTiviXm7rv/+vwnw6M3iceNAqOaaqAem4qZWrz6pFCPIKFOC45ku/XLzmdgR4Tp6sYYsxTM=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Tue, 15 Oct 2024 04:21:29 +0900
To: cygwin AT cygwin DOT com
Subject: Re: fresh install, when I run a c++ program I made from a cygterm
it logs out
Message-Id: <20241015042129.bb800cc5f1a7c5d74e78f887@nifty.ne.jp>
In-Reply-To: <826d4141-c988-4445-b069-17d98deee944@jeffunit.com>
References: <826d4141-c988-4445-b069-17d98deee944 AT jeffunit DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
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: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 49EJMTpt3525955

On Mon, 14 Oct 2024 09:15:02 -0700
jeff wrote:
> I wrote a program called lines.cpp, which is line wc.
> It works fine when I run it from a windows terminal or windows command.
> 
> When I run it from bash, on my u disk, it works fine:
> 
> jdeifik AT epyc-milan-64 /cygdrive/u
> $ lines john.conf
> c: 131785  w: 21581  l:  4505  LP p:  67  longest l: 292   john.conf
> 
> When I run wc from my k disk it works.
> When I run lines from my k disk, it pauses, then logs out:
> 
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> $ wc john.conf
>    4505  21585 131785 john.conf
> 
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> $ lines john.conf
> 
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> $
> logout
> 
> I thought the behavior odd, so I removed cygwin, and I did a fresh 
> install today.
> The problem still persists.
> 
> I am including the source for lines.cpp, though not all the libraries 
> needed to build it.
> 
> Any ideas?

Please provide full reproducible test case as well as
steps to reproduce.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
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