From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9719 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [Fwd: Texexec bug] Date: Tue, 05 Nov 2002 09:45:40 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <5.1.0.14.1.20021105094510.0365aa10@server-1> References: <3DC558CE.4040204@cs.yale.edu> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1036486078 26262 80.91.224.249 (5 Nov 2002 08:47:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 08:47:58 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 188zNM-0006pJ-00 for ; Tue, 05 Nov 2002 09:47:56 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7EC2010AE9; Tue, 5 Nov 2002 09:49:21 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 9EA5810AE9 for ; Tue, 5 Nov 2002 09:48:24 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gA58ej7S023170 for ; Tue, 5 Nov 2002 09:40:45 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gA58mJgk007972 for ; Tue, 5 Nov 2002 09:48:20 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ref.vet.uu.nl In-Reply-To: <3DC558CE.4040204@cs.yale.edu> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9719 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9719 At 12:11 PM 11/3/2002 -0500, Gregory D. Collins wrote: >Hello ntg-context, > >I have a copy of texexec.pl dated 2002/05/04 which has a bug in it. I >use tetex under cygwin in Windows, and was having a lot of trouble >getting texexec working. The problem is as follows. There is a line in >texexec.pl: > >my $dosish = ($Config{'osname'} =~ /^(ms)?dos|^os\/2|^(ms|cyg)win/i); > >The purpose of this is to find out if we are in a "dosish" environment. >This is used later: > >unless ($dosish) >~ { if ($TeXFormatFlag == "&") { $TeXFormatFlag = "\\&" } >~ if ($MpFormatFlag == "&") { $MpFormatFlag = "\\&" } } > >This breaks badly (and very confusingly) later when we do system() calls >if $SHELL=bash. I don't know if the rest of cygwin's environment >qualifies as "dosish" or not for the rest of the program, although mine >works fine if it's turned off. > >Is this a known bug? So you suggest to remove the cyg from the regexp? Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------