delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/18/09:10:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001018130952.24124.qmail@web119.yahoomail.com>
Date: Wed, 18 Oct 2000 06:09:52 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: [cgf: Re: rxvt SEGV (Win98, 1.1.5s/2000-10-08)]
To: Jonathan Kamens <jik AT curl DOT com>, cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- Jonathan Kamens <jik AT curl DOT com> wrote:

Hi Jonathan,

My comments probably won't help your situation but I've found a gotcha in your
environment that not many are aware of.

-8<-
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Tue Oct 17 16:37:24 2000
> 
> WinNT Ver 4.0 build 1381 Service Pack 6
> 
> Path:	/usr/bin
>         /c/Perl/bin
>         /c/WINNT/system32
>         /c/WINNT
>         /c/win32app/installshield/Program
>         /c/NTReskit
> 
> SysDir: C:\WINNT\System32
> WinDir: C:\WINNT
> 
> CYGWIN = `binmode tty nontsec error_start=c:\cygwin\bin\gdb.exe'
> HOME = `/cygdrive/m'
> 

I notice that your HOME variable is using the pseudo mount point /cygdrive.

-8<-
> 
> HKEY_CURRENT_USER\Software\Cygnus Solutions
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
> HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
>   (default) = `/cygdrive'
>   cygdrive flags = 0x00000020

I notice that your /cygdrive variable is set to process in text mode (DOS
sytle) line endings.

-8<-
> 
> c:\cygwin\bin  /usr/bin  system  binmode
> c:\cygwin\lib  /usr/lib  system  binmode
> c:\cygwin  /        system  binmode
> c:    /c       system  binmode
> p:    /projects  system  binmode
> s:    /software  system  binmode
> u:    /u       system  binmode
> 

I notice that all of your other mounts are in binary mode (UNIX sytle) line
endings.

-8<-

The problem is that if you process files in and out of your home directory they
will have \r\n line endings while all of the other devices have \n line
endings.  I assume from the fact that you have all mount points in binary mode
that you really want to process all files in binary mode.  To change the
/cygdrive pseudo mount point to binary mode do `mount -s -b
--change-cygdrive-prefix /cygdrive'.

HTH,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019