delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/15/06:49:56

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 49FAntB63801234
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=fSD3a6Zt
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AC1C385841D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1728989393;
bh=WIIhr8pMjZPNmUYgPwBN8z17oO8xXO8QI+wFkJLyRRM=;
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=fSD3a6ZthE9vOoLqT5Da5bLD6XcA6UYwuOzOwVpNjo5q9CzB/UyticjMT5eJnZ5Dw
Oz9aNWCHkn+KJhLe+LtyUx9zLibHSNHVHUdPEaPLdyVqpNpCap7RVed9WYj7IkqN8Q
M3rwxvMPaOGV7+tPcdXhtU7qDUu76gsnZtYFmUsE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BA0BB3858D26
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BA0BB3858D26
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728989336; cv=none;
b=aZwgf4+0/0PZ13FnzLXxPDIOlrLEfPoAxs50G1sbaSWTtFE57OhZqGHiLpnqC9Prt979yc5B8cv/owwIWcyofaMQQEDUCCAjOp6ItqBBAHXY82ZX59wiu7rPVUsDlXVJ+uxUYum31OiMg9ck/uvPesFCWiIKyPrLMKU+Zy5lXCU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1728989336; c=relaxed/simple;
bh=HYYSKi1HwmvJIgBTfTcw1z1qTx5LaMQc4Sb9cG+xVq4=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=BRdKHbx4GbqJfWY2LYOjuwcef41azh3TvkTtXJtTjzu/FaUr51Yo2ZJvvfaOFST6ENzVB6xIP3EgZ8JNj1Pw6SNsPaY04Bc6Tp7BJzHEARJgnFJHkYKGKdZMHk0jH1iRMSb9B8jmiMUOVuz1jYwhdBVGzudV3hgTqdoqRhU/MnM=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Tue, 15 Oct 2024 19:48:42 +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: <20241015194842.907f20d6023f745e8f829499@nifty.ne.jp>
In-Reply-To: <844a0865-027c-419c-b22c-c05f9016bdfb@jeffunit.com>
References: <826d4141-c988-4445-b069-17d98deee944 AT jeffunit DOT com>
<20241015042129 DOT bb800cc5f1a7c5d74e78f887 AT nifty DOT ne DOT jp>
<bba13fdb-2c6c-48ff-93e3-335a02efbe54 AT jeffunit DOT com>
<20241015044037 DOT 49cc26f49a4bcc8290b5c2aa AT nifty DOT ne DOT jp>
<3e67dacc-248e-4bcf-a26a-972ae93e2a08 AT jeffunit DOT com>
<844a0865-027c-419c-b22c-c05f9016bdfb 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=-5.1 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 49FAntB63801234

On Mon, 14 Oct 2024 14:18:04 -0700
jeff via Cygwin <cygwin AT cygwin DOT com> wrote:

> I have a test case.
> 
> this is test.c:
> #include <stdio.h>
> int    main(int argc, char *argv[])
> {
>      for (int i = 0; i < argc; i++)
>      printf("%s\n", argv[i]);
> }
> 
> compiled with gcc test.c -o testx.exe
> 
> when run from windows terminal:
> testx one two three
> testx
> one
> two
> three
> 
> when run from cygwin bash shell and /cygdrive/k
> jdeifik AT epyc-milan-64 /cygdrive/k
> $ testx one two thee
> testx
> one
> two
> thee
> 
> when run from cygwin bash shell and /cygdrive/k/pw-crack
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack
> $ testx one two thee
> testx
> one
> two
> thee
> 
> when run from cygwin bash shell and /cygdrive/k/pw-crack/fred_john
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john
> $ !testx
> testx one two thee
> testx
> one
> two
> thee
> 
> when run from cygwin bash shell and /cygdrive/k/pw-crack/fred_john/run
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> $ testx one two thee
> 
> jdeifik AT epyc-milan-64 /cygdrive/k/pw-crack/fred_john/run
> $
> logout

Is drive k: something special, such as network drive?
If so, what kind of network drive is it?

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