delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/31/12:19:43

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 <jeremy AT bopp DOT net>
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: <o2w845c0f81003311013ub35d84b1jec5c159f37557789 AT mail DOT gmail DOT com>
In-Reply-To: <o2w845c0f81003311013ub35d84b1jec5c159f37557789@mail.gmail.com>
X-IsSubscribed: yes
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

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

- Raw text -


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