The mapping between how windows sees directories, and how cygwin sees directories is odd, but not that complicated. I will use "" marks to enclose commands and paths, when you type them, do not type the "".
What windows sees as "H:\cygwin" is "/" under cygwin. Thus "H:\cygwin\home" is equivalent to "/home" in cygwin. Does that make sense? Note that windows uses \ to separate directories, whereas cygwin (and most/all other Unix like systems) use / Getting this wrong will stop things working. I think the key here is to understand that the directory you start in is not the root directory. When you first start a cygwin shell, you are in your home directory, this is probably "/home/innis" (presuming your username is innis), which windows sees as "H:\cygwin\home\innis". This may also be represented as "~" when in cygwin, since ~ is standard Unix shorthand for the current user's home directory. Note that "~" is not the root directory, "/" is. To move around the directory tree in cygwin, use the cd command. "cd" on its own will take you back to your home directory, this is equivalent to "cd ~" or "cd /home/innis" (without the quotes of course) To get to the Flightgear base directory, use "cd /usr/local/Flightgear" You can also use ".." to refer to the parent directory, and "." to refer to the current directory, thus when in your home directory, "cd .." will take you up one level to "/home" Hope that helps, Richard > -----Original Message----- > From: Innis Cunningham [mailto:[EMAIL PROTECTED] > Sent: 02 July 2003 9:04 am > To: [EMAIL PROTECTED] > Subject: Re: [Flightgear-devel] Re: > Help:FATAL:ac_to_gl:Unrecognisedtokenunder CYGWIN > > > Fred every time I run a line like you say below in cygwin > bash shell I get > unable to find directory.It is I guess because in the shell > it thinks HOME > is the root directory instead of cygwin.Thus directories like > usr,ect,bin > and the like I can not cd into because they are on the same > level as HOME.To > try and make it clearer.On my H drive I have a folder named > cygwin.Inside > that I have folders bin,etc,home,lib,tmp,usr and var.In the > home branch > which the bash shell has me locked is all the build files for > FG.In the usr > branch under usr/local/flightgear is the bin and data folders > for running > FG.The thing is I cannot get from the home branch to the usr > branch in the > bash shell.If you could explain how to do that, that would be > great.Hope > this makes some sence to you. > > Thank you > Innis > > "Frederic Bouvier writes > > >just apply d2u once for all on the a320-fb.ac : > > > >$ cd $FGFS_ROOT/Aircraft/A320/Models > >$ d2u a320-fb.ac > > > >That's all > > > >Then run fgfs as many time as you want. No need for a batch > file here. > > > >-Fred > > > >Innis Cunningham wrote: > > > No sorry Fred the space is not there sorry about that. > > > No I do not see the aircraft textured. > > > I am not very formilar with cygwin.So when I run it the > root directory > >is > > > Innis.But this is inside the Home directory inside the cygwin > >folder.And > > > FG is in cygwin/usr/local/flightgear.Which I have not > figured out how to > >get > > > to from within the cygwin shell.So can I add the d2u to the a prop > >statement > > > in the batch file that runs FG. > > > Sorry if this is not making sense but I am not that > formilar with unix > >and > > > C. > > > > > > Cheers > > > Innis > > > > > > "Frederic Bouvier" > > > > > > >Innis Cunningham wrote: > > > > > The warning I get when I load the A320 into PPE is. > > > > > WARNING: ssgSGIHEADER::: failed to open '.\ a320-fb-af-01.rgb > > > > > This may or may not mean anything. > > > > > > > >If you see the model textured in PPE, just ignore it, otherwise, > > > >is there really a space between './' and 'a320-fb-af-01.rgb' ? > > > > > > > >-Fred > > > > > > > > > > > > > > > >_______________________________________________ > > > >Flightgear-devel mailing list > > > >[EMAIL PROTECTED] > > > >http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > > > > > _________________________________________________________________ > > > Hot chart ringtones and polyphonics. Go to > > > > >http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clie ntID=174&referral=Hotmail_taglines_plain&URL=http://ninemsn.com.au/mobilemania/default.asp > > > > > > _______________________________________________ > > Flightgear-devel mailing list > > [EMAIL PROTECTED] > > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > > > > >_______________________________________________ >Flightgear-devel mailing list >[EMAIL PROTECTED] >http://mail.flightgear.org/mailman/listinfo/flightgear-devel _________________________________________________________________ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=174&referral=Hotmail_taglines_plain&URL=http://ninemsn.com.au/mobilemania/default.asp _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
