From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 811 invoked by alias); 30 Mar 2012 14:36:54 -0000 Received: (qmail 737 invoked by uid 22791); 30 Mar 2012 14:36:53 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_XD,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nihxway5out.hub.nih.gov (HELO nihxway5out.hub.nih.gov) (128.231.90.113) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Mar 2012 14:36:14 +0000 X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEFAGvEdU+cKEcV/2dsb2JhbABDtXKDBoEHggoBAQQSFRM/EAIBCA0nAgkHHxMUAwENAQEEDg0ah2ejGJQjin+FLmMEjSuOSoocgwOBQA Received: from unknown (HELO NIHHT02.nih.gov) ([156.40.71.21]) by nihxway5out.hub.nih.gov with ESMTP; 30 Mar 2012 10:36:11 -0400 Received: from NIHMLBX02.nih.gov ([156.40.71.32]) by NIHHT02.nih.gov ([156.40.71.21]) with mapi; Fri, 30 Mar 2012 10:36:10 -0400 From: "Buchbinder, Barry (NIH/NIAID) [E]" To: cygwin CC: Ken Brown Date: Fri, 30 Mar 2012 14:36:00 -0000 Subject: RE: cygstart doesn't handle question marks in mailto URLs Message-ID: <0105D5C1E0353146B1B222348B0411A20A6536C8A9@NIHMLBX02.nih.gov> References: <4F75B4D7.8060407@cornell.edu> <0105D5C1E0353146B1B222348B0411A20A6536C8A5@NIHMLBX02.nih.gov> In-Reply-To: <0105D5C1E0353146B1B222348B0411A20A6536C8A5@NIHMLBX02.nih.gov> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes 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 X-SW-Source: 2012-03/txt/msg00816.txt.bz2 Barry Buchbinder sent the following at Friday, March 30, 2012 10:23 AM >Ken Brown sent the following at Friday, March 30, 2012 9:28 AM >>If I type `cygstart mailto:recipient?subject=3Dsubject' at a Cygwin bash >>prompt, I expect my default Windows mail program to start an outgoing >>message with `recipient' as recipient and `subject' as subject. (This is >>what happens if I type the same URL into a `Start Menu -> Run' box.) the >> What happens instead is that `recipient?subject=3Dsubject' shows up as >>recipient, with the question mark replaced by something unprintable, and >>the subject is blank. >> >>Is this a bug in cygstart, or am I misunderstanding something? >> >>My reason for asking this is that I'm testing xdg-utils, which is >>currently available in Cygwin Ports but which will probably be added to >>the Cygwin distro at some point. I would like xdg-open to be able to >>handle mailto URLs correctly if I export BROWSER=3Dcygstart. > >Using "&" instead of "?" does what you want with both cygstart and >Windows' "run". Remember to escape the "&" when using cygstart. Sorry for an incomplete post: With Outlook 2010 on W7. YMMV. Hope that helps, - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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