From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/82994 Path: news.gmane.org!not-for-mail From: Jacob Peck Newsgroups: gmane.comp.tex.context Subject: Re: UWIN? Date: Fri, 14 Jun 2013 17:51:22 -0400 Message-ID: <51BB905A.9040407@gmail.com> References: <000f01ce6898$a7e1e4c0$f7a5ae40$@net> <51BB6B52.1080508@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371246713 28854 80.91.229.3 (14 Jun 2013 21:51:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 21:51:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 14 23:51:55 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UnbuU-0007zo-A4 for gctc-ntg-context-518@m.gmane.org; Fri, 14 Jun 2013 23:51:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7DB0A1020C; Fri, 14 Jun 2013 23:51:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 504ysGSGVcgT; Fri, 14 Jun 2013 23:51:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AD910101F2; Fri, 14 Jun 2013 23:51:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B0E5101F2 for ; Fri, 14 Jun 2013 23:51:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9Qc59m8WiBUJ for ; Fri, 14 Jun 2013 23:51:49 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 03557101EC for ; Fri, 14 Jun 2013 23:51:38 +0200 (CEST) Original-Received: from mail-yh0-x229.google.com (mail-yh0-x229.google.com [IPv6:2607:f8b0:4002:c01::229]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5ELpbrn011678 for ; Fri, 14 Jun 2013 23:51:38 +0200 Original-Received: by mail-yh0-f41.google.com with SMTP id z20so347646yhz.14 for ; Fri, 14 Jun 2013 14:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ec7lt36w0/pakDWKMUg3nqJujhL6fy+gmRv8vWaoyPU=; b=gsOHK9/87KW2ZryIAlj6GKDQlt58oWLRbIvKl3qaUIojNMtp8lUoBGFTfQA/Te85Zu +du4DeVAI2nhKwG+n7dcNsyUg/HNVpu84WJt1GyXSILqZ9Wi1RsWc0wwSruVoPz8QB4k OlgHOir4rU5pqifs2E66HIHl/ZcjuhdQJMeAxm7kK/e7CtKqjMZFkwlMY8bmVVY2o4qd xwuMY55BkaYK1lS8Kzj/guEv7SRvpLgk+QH9qzY0nvC3iVDcij8NQQnNT5noqfQG2A4A aIZsvTwvjbQBYRBTi3NRs2q7GTI73juVNIXoXWpQesMEm9CFaTVtQ50e1V4+4ZdoSjTs 8T4A== X-Received: by 10.236.88.75 with SMTP id z51mr2696701yhe.202.1371246697288; Fri, 14 Jun 2013 14:51:37 -0700 (PDT) Original-Received: from [139.127.11.237] ([139.127.11.237]) by mx.google.com with ESMTPSA id q7sm6059433yhm.8.2013.06.14.14.51.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 14 Jun 2013 14:51:36 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4002:c01::229; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJMlPCza - 1d1012823b48 - 20130614 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:82994 Archived-At: On 6/14/2013 4:14 PM, Mojca Miklavec wrote: > On Fri, Jun 14, 2013 at 9:13 PM, Jacob Peck wrote: >> On 6/14/2013 3:05 PM, Mojca Miklavec wrote: >> >> Now that Jacob mentioned it: I didn't think of the fact that one might >> not necessarily need special cygwin binaries to run ConTeXt in cygwin. >> If a simple modification in first-setup.sh and setuptex can do the >> job, feel free to suggest the change (platform detection). >> >> My changes were simple - I used the setuptex file that came with standalone, >> and tweaked it ever so slightly. >> >> https://gist.github.com/gatesphere/0afaf5c2c647430ff653 > So basically all you did was replacing platform detection with > platform="mswin" > and commented out three lines of code that notify about the change? > (Did you just find those lines annoying or did they actually fail to > work?) I just found them annoying - precisely because they worked :p > Just curious: what does > uname -s > uname -m > return on cygwin or what is the best way to detect windows in "shell"? > (I believe that should be easy enough.) $ uname -s; uname -m; uname -o CYGWIN_NT-5.1 i686 Cygwin You could test if `uname -s` starts with "CYGWIN", or if `uname -o` equals "Cygwin"... another way is to check $OSTYPE: $ echo $OSTYPE cygwin >> Save that as .setuptex in ~ (home directory) then add the line >> >> source /home/PeckJ/.setuptex /cygdrive/c/context/tex >> to .bashrc, and you should be good to go. > In that case I would use > export PATH=/cygdrive/c/context/tex/texm-mswin/bin:$PATH > instead, but of course it's your choice. Is that all the script does? I've never read it completely, just tweaked it until it worked. Ah well, my setup works just fine :) -->Jake > Mojca > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________