X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4BB38421.7030607@bopp.net> Date: Wed, 31 Mar 2010 12:19:29 -0500 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Installing mintty in a restricted environment References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 On 3/31/2010 12:13 PM, Rance Hall wrote: > Today I tried to install cygwin on a work machine that I do not have > permission to admin. > > I'm a Math Prof here so I just get to use the machine on my desk. > > on my laptop I am the admin so I installed cygwin for all users. No > biggie, only user is me. > > I use mintty on the advice of some folks on this list and I like it. > When I installed cygwin 1.7.2 on my work box I naturally installed mintty > > I had to check the box on setup that said I was installing for just me > so that setup wouldnt try to install shortcuts in ALL USERS which it > does not have the right to do. > > mintty did not self-setup correctly under this scenario. > > I did not get a mintty icon on my desktop likely because mintty did > not respect my choice of ALL USERS or "just me" in setup.exe > > when I tried to launch mintty from the bin directory it did launch but > it did not read the config files. > > the prompt is litterally the "bash" prompt with the version number > instead of the hostname. > > and the path isnt set so it cant find any of the commands including > the basic ones like ls, grep, sed, etc. > > What do I need to do in order to get mintty to behave correctly? > > the cygwin termimal screen works correctly, ls returns the list, and > the prompt is the hostname. > > I uninstalled mintty and reinstalled it with no changes, so there is > something else going on, but I dont know what it is, and because I > dont have admin privs on this machine, there is likely no way to > troubleshoot it. While waiting for a fix, create your own shortcut for Mintty. Assuming C:\cygwin is where you installed Cygwin, set the Target: field to "C:\cygwin\bin\mintty.exe -" without the quotes and the Start in: field to C:\cygwin\bin. Adjust as necessary to point to wherever you actually installed Cygwin. -Jeremy -- 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