From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by sourceware.org (Postfix) with ESMTPS id C13CF3858D20 for ; Fri, 27 Jan 2023 07:50:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C13CF3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 3A4EE393FB46; Fri, 27 Jan 2023 10:50:02 +0300 (MSK) Received: from vla3-23c3b031fed5.qloud-c.yandex.net (vla3-23c3b031fed5.qloud-c.yandex.net [IPv6:2a02:6b8:c15:2582:0:640:23c3:b031]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 363CB56A0002; Fri, 27 Jan 2023 10:50:02 +0300 (MSK) Received: by vla3-23c3b031fed5.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 1oLjpf9Yi4Y1-C06eg52b; Fri, 27 Jan 2023 10:50:01 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1674805802; bh=UbQbD0Yl3F02TIbllbIiWywq4FoH758wzTmBPBt1k0s=; h=In-Reply-To:Subject:Date:References:To:Message-ID:Reply-To:From; b=hpcyfCZLamE/91h1hARGdsYgu28cU5KB0ZOrIX/Xeg8pLpDzILLgqtnh/APxxJfAL 6DwLQhh1PWvny/6i4XCYkrJI4Y/k4Fh9mA9S5o8wjtYaghlF6zkRYyVVcKpV123M6c ewWXE/TLJlo9mYTZi8CVcGIB7LpdkM71mPbwPrXE= Authentication-Results: vla3-23c3b031fed5.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 27 Jan 2023 07:44:38 -0000 Date: Fri, 27 Jan 2023 10:44:37 +0300 From: Andrey Repin X-Mailer: The Bat! (v9.3.4) Professional Reply-To: cygwin@cygwin.com Message-ID: <1139801724.20230127104437@yandex.ru> To: john daintree , cygwin@cygwin.com Subject: Re: TMP and TMPDIR mapping In-Reply-To: <002f01d93092$ac4f7ff0$04ee7fd0$@dyalog.com> References: <002f01d93092$ac4f7ff0$04ee7fd0$@dyalog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_THEBAT,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Greetings, john daintree! > My understanding is that Cygwin maps $TMP and $TMPDIR (and probably others) > to a Windows form (/cygdrive/c/tmp -> C:\tmp) Nop. The actual mapping depends on your settings, but defaults to /tmp which is inside Cygwin installation root. Another option is to mount /tmp with 'usertemp' option, which would then redirect it to the user's %TEMP%. > when calling a WIN32 program > (e.g. cmd.exe). Is it possible, from bash or from Cygwin startup , to add > additional environment variable names so that they are also automatically > mapped in the same way? What is your question, exactly? What you want to achieve and what your actual observation compared to expected behavior? -- With best regards, Andrey Repin Friday, January 27, 2023 10:41:46 Sorry for my terrible english...