X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: sourceware.org From: "DEWI - N. Zacharias" To: "cygwin AT cygwin DOT com" Date: Fri, 30 Jul 2010 13:32:14 +0200 Subject: AW: [bulk] - Re: Inconsistent escaping of bash commands (depends on the first command) Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602E71D7537@server03> References: <4C51F0AD DOT 9080605 AT redhat DOT com> In-Reply-To: Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-purgate-sourceid: 1Oenp2-00010M-2o X-eleven-AD: Checked for spam and viruses by eXpurgate(R), see www.eleven.de for details. X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi all, my problem is similar to the escaping problem I use generate and print print pdf from command line. To print I use the windows gsprint program. printer=3D"-printer \\\\XXX\hplj-4700DTN" opts=3D"-all -ghostscript \"c:\\Programme\\gs\\gs8.63\\bin\\gswin32c.exe\"" [1] /cydrive/c/Programme/gs/gsview/gsprint.exe" $opts $printer \"$1\" Or [2] cmd /C "c:\\Programme\\gs\\gsview\\gsprint.exe" $opts $printer \"$1\" Both version work. But they don't find the fonts located under [3] /usr/share/ghostscript/fonts OR [4] c:\Programme\cygwin\usr\share\ghostscript\fonts [4] is the contend of the Windows environment var GS_LIB If I start the printing form a cmd shell (started from Windos) all the fon= t where found by gsprint. From my point of view there is an inconsistency between starting a window = program form a cmd shell direct from windows and starting the same program = from a cmd shell which is stared from cygwin. Do someone have an idea how to fix that ?? Have fun Norbert -------------------------------------------------------------------------- Dipl. Phys. Norbert Zacharias Wind Measurements & Power Curve Measurements DEWI GmbH Ebertstrasse 96 26382 Wilhelmshaven Germany Tel.: +49 4421 4808 876 Fax: +49 4421 4808 843 Email: N DOT Zacharias AT dewi DOT de Home: http://http://www.dewi.de DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 Managing Director: Jens Peter Molly Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny P Please consider the environment before printing this email. -- 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