The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cygwin Usha Shastri UNIX for Dummies Questions & Answers 1 03-09-2009 11:04 AM
cygwin mostafamagdy High Level Programming 1 11-19-2008 08:27 AM
Cygwin X fulgura UNIX for Dummies Questions & Answers 7 01-05-2008 09:34 PM
Cygwin sam71 UNIX for Dummies Questions & Answers 0 05-05-2005 08:34 PM
about cygwin wins1982 UNIX for Dummies Questions & Answers 4 04-29-2004 12:15 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-24-2009
SilversleevesX SilversleevesX is offline
Registered User
  
 

Join Date: May 2009
Location: Northeast USA
Posts: 48
Did Apache bend my Cygwin? Or was it SSH?

A few hours ago, I installed Apache 2 for Windows. About 90 minutes ago, I started a terminal session, and discovered that my home folder had been changed from path "c:\cygwin\home\{myusername}" to path "c:\Documents and Settings\{myusername}". I did not make this change consciously, but I suspect that either Apache, or a subsequent half-hearted attempt to update <?!> OpenSSH for Windows may have done so without my knowing it.

In any case, where in the configuration files of any of the three forenamed packages (bundles, applications, utilities, whatever the right name for them is) is such a thing as a home folder defined? I've already taken a peek at c:\cygwin\etc\passwd and it shows my home folder path simply as "home/{myusername}". No help there.

Inevitably, this renders quite a few of my aliases in my previously known-good .bash_aliases file pretty much useless until and unless I edit them to reflect the change in starting places. I have done so, but I hope I don't have to keep them that way for long.

Also, I have an rxvt that I use outside of XWindows, and it has all of a sudden decided to call itself xterm (the return I got from an echo $TERM command). So there's more than just default home paths involved.

Hope someone out there can help me with this, or at least point me towards some help.

BZT
  #2 (permalink)  
Old 05-24-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,687
I don't think it is uncommon for conflicts on Windows software installations, especially when you are installing emulators for other operating systems.

Simply fix them and move on ....

BTW, I would never run an emulator like Cygwin on Windows. It is too easy to build a linux box and run the real thing !
  #3 (permalink)  
Old 05-24-2009
EagleFlyFree EagleFlyFree is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 13
Quote:
Originally Posted by Neo View Post
I don't think it is uncommon for conflicts on Windows software installations, especially when you are installing emulators for other operating systems.

Simply fix them and move on ....

BTW, I would never run an emulator like Cygwin on Windows. It is too easy to build a linux box and run the real thing !
Yes, very helpful.
Sometimes you don't have a choice of OS, and in those times, it's good to have Cygwin.
Personally, I couldn't survive my .NET job in an all Windows environment, if it wasn't for it.




If you're running Cygwin from a Windows shortcut, make sure the "Starting folder" field in its Properies points to the right place. That's the CWD when the session starts.
Bits Awarded / Charged to EagleFlyFree for this Post
Date User Comment Amount
05-24-2009 Neo Thanks for posting back your solution. 2,000
  #4 (permalink)  
Old 05-24-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,687
Quote:
Originally Posted by EagleFlyFree View Post
Y
Sometimes you don't have a choice of OS, and in those times, it's good to have Cygwin. Personally, I couldn't survive my .NET job in an all Windows environment, if it wasn't for it.
Hi Eagle Flying Free,

Can you please elaborate on exactly why you need a Linux emulator on Windows to work in .NET?

Thanks.
  #5 (permalink)  
Old 05-24-2009
SilversleevesX SilversleevesX is offline
Registered User
  
 

Join Date: May 2009
Location: Northeast USA
Posts: 48
Took your advice without even reading it, and then some.

Quote:
Originally Posted by Neo View Post
I don't think it is uncommon for conflicts on Windows software installations, especially when you are installing emulators for other operating systems.

Simply fix them and move on ....

BTW, I would never run an emulator like Cygwin on Windows. It is too easy to build a linux box and run the real thing !
I did one better. I trashed Cygwin and am keeping my Kubuntu Wubi install.
The one thing that's keeping me from ousting Windows XP from this box is that, having used iView Media Pro (and now M$ Expression Media) for many years, and having gotten used to all its nice little annotation-field auto-completes etc. (great for the lazy typist like YT), the lack of a directly analogous application (call it a "clone" if you want) in any of the Linuxes I'm familiar with, keeps me from doing so.

And to my mind running Wine for the sake of one application seems more than a bit trifling and wasteful of hard-disk space and resources. Call me crazy, but since even my router configuration page is Firefox-friendly (where it used to be strictly IE-friendly), I don't see much need to put a "whole other Windows" on, even in emulation, for just one proprietary app.

I've found reasonably good, and in many cases better, analogues for many of the other apps I've got installed here in Windows. And having been a Mac OS X home user (5 years, which means 2 boxes and 3 versions), I'm just more comfortable in a Linux, especially when it comes to the command line (I've coined the term "jackwhack" to describe the Windows path-delineation slash). You could argue that keeping Windows for "the sake of one app" is just as weak an argument, and you'd be right. Sometimes those of us humans who came up using proprietary OSes -- before OS X rolled out I'd used those versions which Apple calls "OS 9" and many of us users refer to as "classic Mac" or, more appropriately, "legacy MacOS" -- with iffy, shifty, heavily-patched api foundations etc, can't quite "cut the cord" altogether.

Heck, if there was something in Linux closer to Portfolio or Canto Cumulus, I'd give some serious thought to switching over, full-stop.

Thank you for the help.

BZT

Last edited by SilversleevesX; 05-24-2009 at 03:23 PM.. Reason: Added one paragraph
Bits Awarded / Charged to SilversleevesX for this Post
Date User Comment Amount
05-24-2009 Neo Good answer! 10,000
  #6 (permalink)  
Old 05-24-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,687
Quote:
Originally Posted by SilversleevesX View Post
I did one better. I trashed Cygwin and am keeping my Kubuntu Wubi install.
Thanks. I added Wubi to the Links Directory.

Wubi - Ubuntu Installer for Windows - Links
  #7 (permalink)  
Old 05-24-2009
EagleFlyFree EagleFlyFree is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 13
I don't strictly need it, but I use it to get all my favorite software, such as bash, vim, diffing tools, git, ruby, perl, etc.
Cygwin lets you bring some of the Unix culture, tools and productivity into your Windows job, and for those of us stuck in them for whatever reason, that's infinitely valuable.

I'm humbly suggesting that you shouldn't be so quick to shrug it off.


Also, it's actually Eagle Fly Free; it's a song by Helloween spelled just like that
Closed Thread

Bookmarks

Tags
apache, cygwin, home, openssh, terminal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0