X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=v2p8Jvyeit3C4Lh+ HAP2rtw2hIeX47lk9nTBN4cqVVDfXyJzqhlu3pxKMmmbBWOh7ht8Hb3AaDUvCuG7 zw0NXWMt46bCE067iGG/Rg6RuSMyycaL/2V7Kw5kryv6J58rZzO9gNuFSELyoVFY W8jcB5pdN4oOJi5BarHF20D6PNg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=QSX4ZPOl8yfhm6Cvd9g+pj /qlP4=; b=JKcCX6yCFqFhx2oW0JHOfPt2iMczzJA1wbfDz9S+LmZBiBl3yPwBpM fwGVVv0PFidsIpTKzrQaaKOsHa53NmKIkhGTR/sJUBewykhR4UqZ90bLYnQHbXPc JeeGCwxqujXRG6ZeUMIyj/1414Dfm9/EnE7zOsZ1wD0+eYP6ujCSY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=quoting, life, him X-HELO: mail-io0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5HOoaUwab6Fs+7PSebOP4bdm04eiN/uubyv5PDUx03Q=; b=fGS5vejJs7EgwGqoortUwRJuPvdTLVb4AQ1LpFzAFcioN/FzGz8aLaaWt9tonckX0R m69Q86ACh3K3Q8N1E79iIrf2Rllg+29ZK6A6hYHcZh0mA5ICjMNq2FzwTTNTtRBm+/l6 7zjvGm0jIYgH/onQ+FdkyKbPv8jnnyLMGDBWwXSazJO8klRiW0JFRXo/YCJsR4Xhqvg7 kJgz483k8gws1KM6da4gFn8lKerJT/J2uqGQsvh6qIZyuyQ6i3ljG/puQJa4hYMnDO1N cDfKHQ1a+NhY5aB062jtvgQlnzeH3xrPtlaNIaAK/2m04GruygSFYXWmmdSNShrOSOSV qwhA== X-Gm-Message-State: AEkoousSYPX6aUxiigBkdJcUfcc511+/hGMZG1cGFCIn0btsKJMj0Kg4IfO8YXQ5pd7wyw== X-Received: by 10.107.27.144 with SMTP id b138mr80977420iob.163.1470406325817; Fri, 05 Aug 2016 07:12:05 -0700 (PDT) Subject: Re: PATHEXT is fundamental to Windows and Should be recognised by CYGWIN To: cygwin AT cygwin DOT com References: <001001d1edf1$a4e1ae90$eea50bb0$@rogers.com> <1C0AE95E-0118-4353-AA77-4D41F1AE9AE1 AT solidrocksystems DOT com> <001a01d1eea9$f7949a90$e6bdcfb0$@rogers.com> From: cyg Simple Message-ID: <76ec05e9-140a-19cb-942b-698582c3d024@gmail.com> Date: Fri, 5 Aug 2016 10:12:14 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <001a01d1eea9$f7949a90$e6bdcfb0$@rogers.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Michael, You need to configure your email client to wrap your text at no more than 78 characters, 72 would be even better. It helps quoting what you write better. You also need to stop top posting or remove the trailing mail from the reply if quoting that particular mail isn't necessary. Cygwin Community, This conversation has driven me bonkers. Cygwin is a tool for windows first and foremost. It was designed to help make life for those who support both UNIX and Windows servers a little easier by not having to convert scripts and utilities. Cygwin is now trying to be something more by becoming even more UNIX like. Some of the changes that have occurred are presenting havoc on those of us who have used a mix of applications, some Cygwin runtime and some Windows runtime. This makes it difficult as is evidenced by the complaints in this list about ACL issues. With the PATHEXT debate Michael (and others before him) is stating that it would be nice if Cygwin, like its competitors, could use the PATHEXT variable to determine if the file can be executed by extension. The naysayers are stating that it isn't POSIX or UNIX behavior; I agree with that statement. I don't agree that Cygwin cannot use this variable to determine if a file is executable. Cygwin doesn't have to determine the program to use, the Windows API has the smarts for that. All Cygwin needs to do is to pass the file path to the API to execute the file. Cygwin even now makes an exception for files ending in .exe; see the output of 'ls -l /bin/ls' versus 'ls -l /bin/ls*'. I've stated this to cast my support for using PATHEXT even if it is a filtered option via the CYGWIN variable. Michael are you willing to provide code? -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple