Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: X-Sender: karlm30 AT hotmail DOT com In-Reply-To: <00b501c5d39b$fbeb9880$0a01a8c0@p42800e> From: "Karl M" To: dpchrist AT holgerdanske DOT com, cygwin AT cygwin DOT com Subject: RE: rxvt as Bash login console Date: Tue, 18 Oct 2005 07:40:06 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes >From: "David Christensen" >CC: "'Eric Blake'" >Subject: RE: rxvt as Bash login console >Date: Mon, 17 Oct 2005 21:25:12 -0700 > >Eric Blake wrote: > > $ cat ~/.Xdefaults > > ! Fix rxvt to mimic windows console coloring > > XTerm*background: black > > XTerm*foreground: gray > > XTerm*geometry: 80x50 > > XTerm*jumpScroll: True > > XTerm*scrollBar_right: True > >"man rxvt" and this page were helpful: > > http://www.xfree86.org/current/xterm.1.html > > >I was able to reduce my rxvt.bat file to this: > > dpchrist AT p42800e:~$ cat rxvt.bat > @echo off > rem $Id: rxvt.bat,v 1.1 2005/10/18 04:17:23 dpchrist Exp $ > C: > chdir C:\cygwin\bin > rxvt -fn "Lucida Console-11" -e /bin/bash --login -i > > >Here is my .Xdefaults: > > dpchrist AT p42800e:~$ cat .Xdefaults > ! $Id: .Xdefaults,v 1.1 2005/10/18 04:17:23 dpchrist Exp $ > XTerm*background: black > XTerm*foreground: gray > XTerm*colorBD: white > XTerm*colorUL: cyan > XTerm*saveLines: 10000 > XTerm*scrollBar_right: True > XTerm*scrollTtyKeypress: True > XTerm*scrollTtyOutput: True > > > >> C:\cygwin / system textmode > >> C:\cygwin/bin /usr/bin system textmode > >> C:\cygwin/lib /usr/lib system textmode > > Not a good idea. /bin, /lib, /usr/bin, and /usr/lib should generally > > be binary mounts for best behavior. > >Okay. I ran Cygwin setup and changed the "Default Text File Type" to >"Unix/ >binary": > > dpchrist AT p42800e:~$ cygcheck -s -v -r | grep mode > C:\cygwin / system binmode > C:\cygwin/bin /usr/bin system binmode > C:\cygwin/lib /usr/lib system binmode > . /cygdrive system binmode,cygdrive > > >It looks like CVS is now checking out text files using Unix line endings. >I'm >sure I'll find other differences as time goes on. Hopefully this won't be >too >painful of a change... > > >Thanks! > >David > Recent versions of CVSNT now pwwc (play well with Cygwin). That is, if you set CVS_RSH to 'C:\Cygwin\bib\ssh.exe' you can use Cygwin/OpenSSH (ssh, ssh-agent, etc.) for your connection. I started using it for better interoperability with WinCvs, but this also gives you DOS line endings no mater what your mounts look like (which may or may not be what you want). HTH, ...Karl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/