On Tue, 7 Sep 2004, John W. Eaton wrote:
On 7-Sep-2004, Bob Friesenhahn <bfriesen@xxxxxxxxxxxxxxxxxxx> wrote:
| Programs linked with | the Cygwin DLL "mount" the Windows filesystems using different paths | (e.g. "/cygdrive/c")
My recollection is that an application can be written to mostly not care whether the filenames are specified with Windows-style names or Unix-style names.
Cygwin provides a mapping from a Unix-style filesystem mapping to Windows drives. Cygwin accepts Unix-style path conventions. Programs which use the Cygwin interface use Cygwin (i.e. Unix) conventions. Windows users who specify "c:\foo\bar" or "\\host\path" will be very very confused when nothing useful happens. Cygwin is essentially Unix for Windows.
| and if the mounts use Unix line termination | conventions (the default), text files are in Unix format rather than | MS-DOS format (i.e. can't be opened in Windows Notepad).
OK, this is potentially a real problem. Is it possible to have my application specify the way text files are opened even if the default mount mode uses Unix line termination?
Not that I am aware of. Your mini-Cygwin install would want to mount the drives using MS-DOS line termination. Then opening with text/binary modes should have useful effect.
Bob ====================================== Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx http://www.simplesystems.org/users/bfriesen
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf