RE: home directory
On Wed, 19 Jan 2005, Green, Keith wrote: New problem. Never had this one before. In Windows, I define the HOME variable to C:\etc. However, my cygwin.bat file reads @echo off set HOME=/home/kgreen (also tried set HOME=H:\cygwin\home\kgreen ) H: chdir H:\cygwin\bin bash --login -i and the pertinent line from /etc/passwd reads: kgreen:unused_by_nt/2000/xp:12447:10545:kgreen,U-BBB\kgreen,S- 1-5-21-748114381-82326301-405542714-2447:/home/kgreen:/bin/bash BUT ... when I double click on icon (cygwin.bat), it keeps bringing me up in /usr/bin. I've tried disabling ~/.bashrc and ~/.bash_login (just in case). Same thing. The odd thing is that in the cygwin.bat file, regardless of how I set it (with POSIX or DOS path name), when the cygwin window comes up and I type echo $HOME, it has the right value in it. That is, $HOME says /home/kgreen. Also, when I put a ~/.bashrc and ~/.bash_login inside /home/kgreen, it uses them! So it's getting there somehow ... and then deciding on its own that it would rather be in /usr/bin! Igor suggested: You could try to start bash with --login -i -v, which should show the commands that are executed, and possibly explain why the directory is changed to /usr/bin. HTH, Igor, I tried that. No new information. Strange thing indeed. Last line of my .bash_profile reads echo Inside .bash_profile $HOME When it gets to that line it prints the line (because of -v) and then executes the line ... the value for $HOME is correct (/home/kgreen). Immediately following that line is the prompt (because the login is complete). At that point my directory is /usr/bin. thanks, k -- 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/
RE: home directory
BTW, this is an easy enough problem to 'fix'. I just tell it to cd /home/kgreen at the end of .bashrc . That works fine. But I shouldn't have to do this. k BUT ... when I double click on icon (cygwin.bat), it keeps bringing me up in /usr/bin. I've tried disabling ~/.bashrc and ~/.bash_login (just in case). Same thing. The odd thing is that in the cygwin.bat file, regardless of how I set it (with POSIX or DOS path name), when the cygwin window comes up and I type echo $HOME, it has the right value in it. That is, $HOME says /home/kgreen. Also, when I put a ~/.bashrc and ~/.bash_login inside /home/kgreen, it uses them! So it's getting there somehow ... and then deciding on its own that it would rather be in /usr/bin! You could try to start bash with --login -i -v, which should show the commands that are executed, and possibly explain why the directory is changed to /usr/bin. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/
a standard place to get cygwin
Once again I'm required to use cygwin. Once again I'm having trouble. I notice that when I download from different places, I get different things included. In particular, I just downloaded /installed from anl.gov and told it to install all. First time I open a cygwin window I notice a problem ... it gives me two lines of telling me it can't find grep ... (this happens while it's going through the stuff in profile.d). I check /usr/bin and sure enough there is no grep in there. I do a find in the entire cygwin directory ... it's nowhere to be found. I try copying grep from a far previous version of cygwin ... doesn't work (some kind of missing DLL error). This has happened previously on other installs and is among the primary reasons I never use cygwin unless I'm forced into it. I think if I could just find 'the right site' that had everything in it ... one I could depend on to always include the sensible stuff at least (grep, gawk, Image Magick, the standard stuff) .. that this would be a much less irritating experience. Does such a site exist? Where is THE place from which to download cygwin? k -- 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/
RE: a standard place to get cygwin
Larry wrote: Sounds to me, though, like you have an errant Cygwin install hanging around. First thing to do is follow this FAQ: How do I uninstall all of Cygwin? http://cygwin.com/faq/faq_toc.html#TOC20 If after installing with that procedure, you still have problems, you have a program installed on your system that uses it's own version of 'cygwin1.dll'. Hunt down that DLL and destroy it. The program using it should be able to use the same 'cygwin1.dll' that you just installed. If it cannot, contact the provider of that program. After installing cygwin on one of my boss's machines, he too was missing grep - and I know for certain he's never installed cygwin on his machine. However, I'll hunt this down. On my machine at least I have maybe half a dozen different installs sitting around in various states of disrepair. Once I can get it working correctly on my machine, I'll look at his. thanks, k -- 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/
RE: a standard place to get cygwin
cgf wrote: After installing cygwin on one of my boss's machines, he too was missing grep - and I know for certain he's never installed cygwin on his machine. However, I'll hunt this down. On my machine at least I have maybe half a dozen different installs sitting around in various states of disrepair. Once I can get it working correctly on my machine, I'll look at his. Hopefully, you have finally bitten the bullet and just installed grep by rerunning setup.exe by now... That's the only way I've ever installed cygwin. I have rerun and rerun and rerun setup ... more than a half dozen times just this go around ... dozens and dozens of times on various machines over the last few years. Every single install I recall has missed something. It's always been a matter of how much annoyance I could tolerate. An absence of grep far exceeds the limit - and so I make inquiry. Following the instructions on that web page Larry gave me, I've completely eradicated cygwin from my machine and begun the reinstall (30% complete). I should know very shortly whether this will work. Also, it turns out there was indeed a cygwin1.dll loaded with xgobi (an app I only used a short while and then forgot about). k -- 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/
RE: a standard place to get cygwin
Sounds to me, though, like you have an errant Cygwin install hanging around. First thing to do is follow this FAQ: How do I uninstall all of Cygwin? http://cygwin.com/faq/faq_toc.html#TOC20 I was skeptical, but that was it! thanks! k -- 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/
RE: a standard place to get cygwin
On Wed, 19 Jan 2005, Igor Pechtchanski wrote: I suspect the problem isn't with the mirror. You mention a previous installation of Cygwin -- perhaps you have stale mounts? ^ On Wed, 19 Jan 2005, Green, Keith wrote: Sounds to me, though, like you have an errant Cygwin install hanging around. First thing to do is follow this FAQ: How do I uninstall all of Cygwin? http://cygwin.com/faq/faq_toc.html#TOC20 I was skeptical, but that was it! Ah, so it *was* the problem of stale mounts... Igor Yes, though I'm not sure what a stale mount means in a registry context. It didn't click for me when I was deleting registry entries, but it does now that you mention it again, that all those mount entries under Cygwin Solutions was probably what you were talking about. Thanks, k -- 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/
home directory
New problem. Never had this one before. In Windows, I define the HOME variable to C:\etc. However, my cygwin.bat file reads @echo off set HOME=/home/kgreen (also tried set HOME=H:\cygwin\home\kgreen ) H: chdir H:\cygwin\bin bash --login -i and the pertinent line from /etc/passwd reads: kgreen:unused_by_nt/2000/xp:12447:10545:kgreen,U-BBB\kgreen,S-1-5-21-748114381-82326301-405542714-2447:/home/kgreen:/bin/bash BUT ... when I double click on icon (cygwin.bat), it keeps bringing me up in /usr/bin. I've tried disabling ~/.bashrc and ~/.bash_login (just in case). Same thing. The odd thing is that in the cygwin.bat file, regardless of how I set it (with POSIX or DOS path name), when the cygwin window comes up and I type echo $HOME, it has the right value in it. That is, $HOME says /home/kgreen. Also, when I put a ~/.bashrc and ~/.bash_login inside /home/kgreen, it uses them! So it's getting there somehow ... and then deciding on its own that it would rather be in /usr/bin! k -- 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/
info: single install xfree86 + minimal cygwin?
We have an application that requires an X-Server. The application was developed on SGI, but has been successfully ported to Linux and Sun. We also run it on PC's using the Exceed. However, we would prefer to give customers an environment they could use for this. Some months ago I downloaded cygwin/xfree86 onto my system (with some help) and installed it on my pc. It appears to support everything we want to do. Unfortunately, the entire thing seems pretty large. I note that we don't really need cygwin, per se, except that xfree86 seems to require it as an API. Is a single install package for cygwin/xfree86 in which the cygwin has been scaled-down (without the games, man pages, extraneous - for our needs - libraries, plethora of great unix commands)? I've been browsing the mail archives for this list. I don't entirely understand everything I'm reading, but it sounds like there is somewhere a single installation for cygwin and xfree86, although it doesn't sound scaled back. k Keith Green, Research Staff Member / Simulation Center Institute for Defense Analyses 4850 Mark Center Drive / Alexandria, VA 22311-1882 Wk: (703) 845-6815Fax: (703) 845-6809
RE: info: single install xfree86 + minimal cygwin? tx
Heya, Christopher, Thanks for the quick response. k Keith Green, Research Staff Member / Simulation Center Institute for Defense Analyses 4850 Mark Center Drive / Alexandria, VA 22311-1882 Wk: (703) 845-6815Fax: (703) 845-6809 -Original Message- From: Christopher Faylor [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 5:43 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: info: single install xfree86 + minimal cygwin? On Mon, Apr 08, 2002 at 04:02:06PM -0400, Green, Keith wrote: However, we would prefer to give customers an environment they could use for this. Some months ago I downloaded cygwin/xfree86 onto my system (with some help) and installed it on my pc. It appears to support everything we want to do. Unfortunately, the entire thing seems pretty large. I note that we don't really need cygwin, per se, except that xfree86 seems to require it as an API. Is a single install package for cygwin/xfree86 in which the cygwin has been scaled-down (without the games, man pages, extraneous - for our needs - libraries, plethora of great unix commands)? The base cygwin install provides, er, a base cygwin install. That's the default for the Cygwin installation. There is currently no XFree86 package in the cygwin installation at all. I've been browsing the mail archives for this list. I don't entirely understand everything I'm reading, but it sounds like there is somewhere a single installation for cygwin and xfree86, although it doesn't sound scaled back. Not that I'm aware of. It's been a goal but movement on it is pretty slow. I would love for someone to post a proposal for inclusion of a XFree86 package to the cygwin-apps mailing list using the guidelines at http://cygwin.com/setup.html but so far no one has been willing to do that. Once that happened, then you'd be able to just install XFree86 via the standard cygwin installation. cgf