From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: ezwinports gnutls, does it work? Date: Tue, 04 Feb 2014 21:11:35 +0200 Message-ID: <83y51q1ymw.fsf@gnu.org> References: <87d2j2d91e.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391541124 22436 80.91.229.3 (4 Feb 2014 19:12:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 19:12:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 04 20:12:11 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAlPm-0006J8-SH for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 20:12:10 +0100 Original-Received: from localhost ([::1]:54325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlPm-0002mW-Ec for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 14:12:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlPT-0002ky-NX for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:11:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAlPM-0002Br-D2 for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:11:51 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:64288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlPM-00028Z-5P for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 14:11:44 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0N0H00300JQJGE00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 21:11:42 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0H003HUJZHG420@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 21:11:42 +0200 (IST) In-reply-to: <87d2j2d91e.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95909 Archived-At: > From: Sivaram Neelakantan > Date: Wed, 05 Feb 2014 00:01:25 +0530 > > I recently downloaded the ezwinports of the common unix tools and most > tools seem to work as in cygwin. However, the gnutls-cli seems to > hang connecting to gmail imap. I had to C-g to stop the connection. > I renamed them and used the cygwin gnutls for that alone. > > Has it worked for anyone? Yes, it works, but not in the way you think. You need to build Emacs with GnuTLS support, or get a binary someone else built with such support; then install the GnuTLS DLL from the ezwinports site; and then Emacs will automatically use the GnuTLS DLL (not the gnutls-cli program!) to support TLS connections. The original TLS support via gnutls-cli uses signals, which doesn't work on Windows (except in Cygwin). So Emacs on Windows now uses the GnuTLS library directly, and the gnutls.el package was augmented accordingly.