public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jean Delvare <delvare@ensicaen.ismra.fr>
To: "Larry Hall (RFK Partners Inc)" <lhall@rfk.com>
Cc: cygwin@sources.redhat.com
Subject: Re: file descriptors opened as text files
Date: Wed, 14 Feb 2001 14:46:00 -0000	[thread overview]
Message-ID: <Pine.SO4.4.05.10102142328050.22033-100000@e3000.ensicaen.ismra.fr> (raw)
In-Reply-To: <5.0.2.1.0.20010214171434.00a8f6f0@pop.ma.ultranet.com>

> You proceed from a false supposition.
Looks like. Be sure I'm doing my best to understand, anyway.

> mount is a stand-alone utility.  It manipulates the way Cygwin sees the 
> file system.  It has nothing to do with bash.  Since your program relies
> on Cygwin and Cygwin interprets the file system through the existence or
> absence of mount points, your program treats files as Cywgin would treat
> the files, with or without bash.
That's a point I don't understand. What sense can mount have without
bash's unix-like environement ? Ok, it's not bash alone. It's everything
around also. But I see a big difference between running from bash with
everything around, which looks like unix, and running the compiled
application from Windows' Dos Box. The only common thing I see is
cygwin1.dll.

Regarding what you said before, I guess I'm wrong. Anyway, say I'll run
mount from my friend's Dos Command Box, who has no cygnus system
installes, what command am I supposed to type ? I don't see *where* I am
supposed to mount the drives. Do you mean thet mount also can set the
drives "mode" (text vs binary) without really mounting them ? 

> On Linux/UNIX, there's no difference between "binary" and "text" files, so
> the added flag is inconsequential.  However, it is standard so whether the
> docs mention it or not, its legal and will get you precisely what you want,
> in a portable way.
That may explain why I could not see the flag on linux's man pages. But
there is no man page for open(2) on Cygwin, right ? Then, where am I
supposed to find the value for this flag, if it ever exist ? I can't just
invent it, I guess it won't work ;)


> Happy to be of service.
Maybe I could save your time. I feel a bit guilty... Is there a kind of
reference manual for Cygwin that explain all this ? It doesn't sound that
evident to me.


-- 
       /~~       Jean "Khali" Delvare
  -----\_                        mail: delvare@ensicaen.ismra.fr
 --------\                http://www.ensicaen.ismra.fr/~delvare/
---=ISMRA/- ____________________________________________________


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2001-02-14 14:46 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 13:13 Jean Delvare
2001-02-14 13:22 ` Larry Hall (RFK Partners Inc)
2001-02-14 13:40   ` Jean Delvare
2001-02-14 13:58     ` Larry Hall (RFK Partners Inc)
2001-02-14 14:12       ` Jean Delvare
2001-02-14 14:21         ` Christopher Faylor
2001-02-14 14:30           ` Jean Delvare
2001-02-14 14:40             ` Christopher Faylor
2001-02-14 14:51             ` Larry Hall (RFK Partners Inc)
2001-02-14 14:21         ` Larry Hall (RFK Partners Inc)
2001-02-14 14:46           ` Jean Delvare [this message]
2001-02-14 15:00             ` Larry Hall (RFK Partners Inc)
2001-02-14 16:54               ` Ross Smith
2001-02-14 19:28                 ` Christopher Faylor
2001-02-15  1:36                 ` Jesper Eskilson
2001-02-15  6:39               ` Jean Delvare
2001-02-15  7:54                 ` Larry Hall (RFK Partners, Inc)
2001-02-15  9:21                   ` Jean Delvare
2001-02-15  9:24                     ` Larry Hall (RFK Partners, Inc)
2001-02-15 10:37                     ` Christopher Faylor
2001-02-15  7:59                 ` DJ Delorie
2001-02-15  9:12                   ` Jean Delvare
2001-02-15  9:17                     ` Larry Hall (RFK Partners, Inc)
2001-02-15  9:28                       ` Jean Delvare
2001-02-15  9:37                         ` Larry Hall (RFK Partners, Inc)
2001-02-15 10:38                         ` Christopher Faylor
2001-02-15 10:11                     ` Earnie Boyd
2001-02-15  8:04                 ` Corinna Vinschen
2001-02-15  8:04                 ` Earnie Boyd
2001-02-15  9:30                   ` Jean Delvare
2001-02-15 21:11                 ` Lothan
2001-02-14 15:04             ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15 15:53 Heribert Dahms
2001-02-15 16:06 ` Larry Hall (RFK Partners, Inc)
2001-02-15 18:26   ` Christopher Faylor
2001-02-16  8:12 ` Ehud Karni
     [not found] <BF35D9C143BCCC4EB63181B67C9320C804DD0F@serv-075.icon-germa>

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=Pine.SO4.4.05.10102142328050.22033-100000@e3000.ensicaen.ismra.fr \
    --to=delvare@ensicaen.ismra.fr \
    --cc=cygwin@sources.redhat.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).