delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 15 Mar 2009 00:25:59 +0700 |
From: | bjoe <bayuadi DOT w AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Cc: | cygwin-digest AT cygwin DOT com |
Subject: | Mintty running program from shortcut problem |
Message-ID: | <20090314172556.GA4004@komputer04> |
Mail-Followup-To: | cygwin AT cygwin DOT com, cygwin-digest AT cygwin DOT com |
References: | <1236781363 DOT 28956 DOT ezmlm AT cygwin DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <1236781363.28956.ezmlm@cygwin.com> |
User-Agent: | Mutt/1.4.2.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Dear, When we running program with mintty from shortcut, mintty will running the program in non login shell without knowing cygwin PATH. This will make some kind of error When program try to running external program like info run gzip or using shell escape in vim. Is this expected behavior? Making mintty shortcut running info with this code: <code> bayu AT semampir ~ $ mkshortcut -D -i /usr/bin/mintty.exe -w /usr/bin -a "info" /usr/bin/mintty.exe <code> When I try to enter the node info produce error like this: gunzip < /usr/share/info/as.info.gz.../bin/sh: gunzip: command not found Cannot find node `Top'. note: Making shortcut manually also produce same problem This error not found when using rxvt <code> bayu AT semampir ~ $ mkshortcut -D -i /usr/bin/cygicons-0.dll -j8 -w /usr/bin -a "-p /usr/bin rxvt -e info" /usr/bin/run.exe <code> To avoid this trouble use bash -lc <command> so mintty will run bash in login shell first. <code> bayu AT semampir ~ $ mkshortcut -D -i /usr/bin/mintty.exe -w /usr/bin -a "bash -lc /usr/bin/info" /usr/bin/mintty.exe <code> Regards -- It is easy to say no when there is a deeper yes burning within -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |