public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Patrick Ohnewein <pohnewein@prodata.it>
To: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>,
	cygwin@sourceware.cygnus.com
Subject: Re: Basic Questions
Date: Thu, 20 Apr 2000 01:24:00 -0000	[thread overview]
Message-ID: <38FEBDAF.36E1E521@prodata.it> (raw)
In-Reply-To: <4.3.1.2.20000414102032.00d87100@pop.ma.ultranet.com>

Yea now it seams I found a way to nearly accomplish what I need.

I did set my mounts now in a very basic manner, like mounts are thought
to be set :-)

And for the rest I use links.

this are my mounts
Device           Directory           Type        Flags
G:               /G                  native      text!=binary
D:               /D                  native      text!=binary
C:               /                   native      text!=binary

And here my links
lrw-r--r--   1 544      everyone       24 Apr 17 19:58 java ->
/G/jdev/Java/
lrw-r--r--   1 544      everyone       46 Apr 17 20:01 jdbc ->
/G/jdev/Java/it/prodata/tools/jdbc/
lrw-r--r--   1 544      everyone       19 Apr 17 19:59 jdev -> /G/jdev/
-r--r--r--   1 544      everyone   156496 Mar  1 15:52 ntldr
lrw-r--r--   1 544      everyone       30 Apr 17 19:59 patch ->
/G/jdev/JPatch_122/
lrw-r--r--   1 544      everyone       35 Apr 17 19:59 pro ->
/G/jdev/Java/it/prodata/
drwxr-xr-x   2 544      everyone        0 Apr 17 22:19 tmp
drwxr-xr-x   3 544      everyone        0 Mar  7 15:31 users
lrw-r--r--   1 544      everyone       54 Apr 17 20:01 zeiterfassung ->
/G/jdev/Java/it/prodata/gest/zeiterfassung/

Now it seams to work nearly! My problem is is I am in a linked directory
say
patiii:/pro$
and I start my editor (a Win32 editor called CodeWride by Premia) using
a cmd-Batch (didn't try with a bash script, have less experience with
it) I am just able to give files as parameter in a reletive fashion:
patiii:/pro$e Test.java
patiii:/pro$e ../Hallo.java

But not absolute fashions:
patiii:~$e /pro/Hallo.java


I think this is because the Win app doesn't know anything about the
links and the bash doesn't make the translation, could I activate link
translation or something?

thanks larry for all ur help with the mounting problems!

Ohh someone knows where I can get ncurses, I couldn't find it nowhere
even not on the new util mirror www.franken.de. Would like the clear
command for bash!

cu Patrick

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> At 04:50 AM 4/14/00, you wrote:
> >Fuck I'm not able to set this mount points correctly
> >
> >Now I explain u:
> >
> >I have 3 phisical partitions
> >C:      -> NTFS -> WINNT System
> >D:      -> NTFS -> USERS Directory (just for me) and other stuff like
> >download, ...
> >G:      -> FAT  -> Sources for developing
> >
> >My HOME env is set to
> >~$ echo $HOME
> >/D/users/patrick
> >
> >Would like to have my developing dirs into my home dir, like u see from
> >my mounts.
> >But it wont work.
> >
> >Do I have to use '/' or '\' ?
> >Do I have to use Volumes like G:, D:
> >    or should I use /G/..., /D/...
> >    or should I use //G/..., //D/...
> 
> Check out my last email for some of this.  You should use '/' for Cygwin
> paths.  You can use either '/' or '\\' for the Windows paths.  You can
> mount the Windows drives to any (existing) directory you like.  You don't
> need to have the directory be named the same as the drive (although many
> people like that convention).  Don't use '//<drive letter>'.  Its a
> deprecated feature from b20.x that will only cause you trouble (if it
> hasn't already).  Windows uses "//" (or "\\" in Windows world) to indicate
> a network path.  Windows will try to interpret anything that follows as a
> host name....
> 
> What wrong with something simple like:
> 
> mount c: /
> mkdir /d /g
> mount d: /d
> mount g: /g
> 
> ??
> 
> >I tried some out, but now nothing seams to work anymore :-(
> >
> >I really don't understand
> >
> >cu patrick
> >
> >"Larry Hall (RFK Partners, Inc)" wrote:
> > >
> > > At 12:42 PM 4/13/00, you wrote:
> > > >Sorry I have no .login file meither in ~ nor in /
> > >
> > > You don't necessarily need one.
> > >
> > > >btw. some questions:
> > > >
> > > >1)
> > > >Here I send u my (virtual) fstab :-). It works pretty good for me to
> > > >manage it in this manner
> > > >~$ mount
> > > >Device           Directory           Type        Flags
> > > >G:jdev\Java\it\prodata /D/users/patrick/pro    native      text!=binary
> > > >G:jdev\JPatch_122 /D/users/patrick/patch    native      text!=binary
> > > >G:jdev           /D/users/patrick/jdev    native      text!=binary
> > > >D:               /D                  native      text!=binary
> > > >C:               /                   native      text!=binary
> > > >~$
> > > >
> > > >But why does the following happen?
> > > >~$ cd ~/pro/
> > > >~/pro$ cd ..
> > > >~/pro/..$
> > > >
> > > >~/pro/..$                  THIS SHOULD BE                   ~$
> > > >
> > >
> > > Most likely because of your mounts.  Mounting paths under others can
> > > sometimes cause confusion.  Also, I'm not sure what you HOME is set to so
> > > its hard for me to know where "~" is.  It also seems strange that you have
> > > not "\" (or "/") after your "G:".  This may be having an effect as well.
> > >
> > > >2)
> > > >Why does clear not work?
> > >
> > > Is it there?  AFAIK, it comes with the termcap or ncurses package so you
> > > wouldn't even have it unless you've installed those (I have ncurses so it
> > > works for me - this may be something that's part of b20.x now too but I
> > > can't say for sure).
> > >
> > > >I write u this questions off the mailing list, because I suppose they
> > > >are to much basic for there.
> > >
> > > Perhaps.  I don't have all the answers though!;-)
> > >
> > > Larry

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

  parent reply	other threads:[~2000-04-20  1:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-13  9:28 Patrick Ohnewein
2000-04-13  9:38 ` Larry Hall (RFK Partners, Inc)
     [not found]   ` <4.3.1.2.20000413124827.00bad250@pop.ma.ultranet.com>
     [not found]     ` <4.3.1.2.20000414102032.00d87100@pop.ma.ultranet.com>
2000-04-20  1:24       ` Patrick Ohnewein [this message]
2000-04-20 13:59         ` Michael Hirmke
2000-04-20 14:13           ` Charles Wilson
  -- strict thread matches above, loose matches on Subject: below --
2000-04-13  9:44 Earnie Boyd
1997-08-05 14:46 basic questions sed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38FEBDAF.36E1E521@prodata.it \
    --to=pohnewein@prodata.it \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=lhall@rfk.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).