From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103797 invoked by alias); 13 Sep 2016 17:45:21 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 103533 invoked by uid 89); 13 Sep 2016 17:45:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=funny, H*Ad:D*cornell.edu, H*f:9Sotx97Vvs, H*i:9Sotx97Vvs X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Sep 2016 17:44:58 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u8DHiuuZ023695 for ; Tue, 13 Sep 2016 13:44:56 -0400 Received: from [10.128.150.14] (dhcp-gs-5646.eduroam.cornell.edu [10.128.150.14]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u8DHitDu016764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 13 Sep 2016 13:44:55 -0400 Subject: Re: Change in 'cygstart' functionality? To: cygwin@cygwin.com References: From: Ken Brown Message-ID: Date: Tue, 13 Sep 2016 17:53:00 -0000 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00202.txt.bz2 On 9/13/2016 10:50 AM, Nem W Schlecht wrote: > Hello all, > > So, I used to be able to do this in Cygwin to open a chat session (in > my case, With Skype for Business aka S4B): > > cygstart "sip:user@domain.com" > > But I noticed recently that this now fails with: > > Unable to start 'sipuser@domain.com': The specified file was not found. > > I have no idea why the colon ":" is getting converted into an a UTF > F038 character. I'm also unsure of when this stopped working, since I > don't use it all that often. > > > I thought maybe having some slashes would be required, so I tried: > > cygstart "sip:/user@domain.com" > > Error: > Unable to start 'sip\user@domain.com': The specified file was not found. > > And yes, I did cut-paste that and *yes* the direction of the slash *changed*. > > > With 2 slashes, a get an error in S4B that the address doesn't > exist/is incorrect. > > With 3 slashes, a new chat window opens! But its with user > "///user@domain" (ie - non-existant user). > > > Is the way the SIP protocol needs to be called broken or did something > change in Cygwin to require slashes as a part of cygstart? There's no code in cygstart to recognize the SIP protocol. (It wouldn't be hard to add such code, as was done a few years ago for "mailto:". See line 598 of cygstart.c in the sources for the cygutils package.) So cygstart treats "sip:user@domain.com" as a file name. The funny Unicode character you see comes from Cygwin's translation to allow ":" as part of a file name. See https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars Ken -- 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