This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [cgf: Re: rxvt SEGV (Win98, 1.1.5s/2000-10-08)]


--- Jonathan Kamens <jik@curl.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@yahoo.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]