delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/24/09:58:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:to:subject:in-reply-to
:references; q=dns; s=default; b=LC+z3kE63pC35LQ1l3vm+4K61SwkCLQ
11DrQpXmOSUli2XBH4svldUrzH7QA62ZFwWaaFRm+kJBNOZxSTpirAlovCigBM12
f2B99wHF0b97bTrGThm5pYBURVj1MbJssEKyyCQxUdwMl7HShuBEgFm/tPUpcpHl
INZGqbei0POA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:to:subject:in-reply-to
:references; s=default; bh=iNuhQWk07dNzGQ9YSL2FuK2DdLM=; b=Gw7PP
yo9UCfGR3j82n8Wb8mB+FDG482cXshZsmbmL0yhn7iQnFXr/ZNUs3tA7g8b+cmkT
P1n8hTmVxOGeAKQ7LUu/VX6f1zUXJFxGVBi25z7dm6jjno7aO7kIsYBzhq28HpDT
uJ6b8zG4rGBnp3eHTXaB+99Zbc9snCtFvUym58=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FREEMAIL_REPLY,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL autolearn=no version=3.3.2
Message-ID: <20130824225829.3448@binki>
Date: Sat, 24 Aug 2013 22:58:29 +0900
From: wynfield AT gmail DOT com
To: <cygwin AT cygwin DOT com>
Subject: Re: mintty functionality
In-reply-to: Your message of Sat, 24 Aug 2013 13:50:39 +0200 <CAN3h=VqZT+9qhvQ2O2hnMg9zzP6BHU_c+3ru50ps9Nu9ErTpcg@mail.gmail.com>
References: <20130824180126 DOT 3348 AT binki> <CAN3h=VqZT+9qhvQ2O2hnMg9zzP6BHU_c+3ru50ps9Nu9ErTpcg AT mail DOT gmail DOT com>

The normal way works and even
   $ PATH=${PATH}:....  mintty cmd

The command line invokation is no problem.

But, I couldn't do with a desktop shortcut with something like:

mkshortcut -w /tmp -D -A -d "Run orpie RPN calculater." -n "Orpie RPN Calculater" -i /home/djh/icons/hp_calc.ico  -a " -p '100,150' -t 'Orpie Calculater' -e /usr/bin/orpie" /bin/mintty.exe

The above doesn't source my zsh startup files first.  I see no reference informat related to shells.  I'm, just inoking an application direct.

Any ideas?


Robert Marklund wrote:
> Doesn't the normal terminal way work?
> 
> PATH=$HOME/bin:$PATH command
> Or for library:
> LIBRARY_PATH=my/path:$LIBRARY_PATH command
> 
> /R
> 
> 2013/8/24  <wynfield AT gmail DOT com>:
> >
> > I am attempting to create a desktop icon for cygwin based applicatin.
> >
> > I am using
> >   mkshortcut  and  mintty  with the program to be invoked's name as am argument to mintty.
> >
> > The problem I'm encountering is that the applicatin that mintty is to run requires
> > /usr/lib/lapack   which is not in PATH when invoked from the desktop.  I know I can do the windows thing to set a full microsoft windows PATH, but would prefer to keep it in the shortcut or in a mintty configuration file.
> >
> > In essence I want to apprend to the PATH environment variable the needed library path.
> > Can this be done a.) with makshortcut or b.) with mintty.  I couldn't find any reference in h ow to in the documentation.
> >
> > Any advice would be appreciated.
> >
> > Regards
> >
> > --
> > 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
> >
> 
> 
> 
> -- 
> ______________________________________________
> Robert Marklund
> 
> Mobile: +46 (0)70 213 22 76
> E-mail: robbelibobban AT gmail DOT com
> Chat:   robbelibobban AT gmail DOT com
> ______________________________________________
> 
> --
> 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
> 

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019