delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/01/10:52:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 1 May 2003 10:51:57 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Peter Davis <pd AT world DOT std DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: One system works, the other doesn't
In-Reply-To: <Xns936E679AF108Fpdworldstdcom@80.91.224.249>
Message-ID: <Pine.GSO.4.44.0305011045020.25128-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 1 May 2003, Peter Davis wrote:

> Forgive me if this is a repost.  I tried to send this to the Cygwin list
> the other day, but I never saw it appear.
>
> I have two systems running Cygwin: an NT4 (home) machine and a XP
> (work) machine.  I've tried to make them as similar as possible, but
> there are apparently some differences that elude me.  Specifically:
>
> 1) At home (NT4), .bashrc is automatically run when I fire up a bash
>    shell.  At work, it doesn't, though I can manually run it with
>    source ~/.bashrc
>
> 2) At home (NT4), the simple perl script I use to filter mutt messages
>    before displaying them works beautifully.  At work (XP), the
>    messages all display with ^M at the end of every line.  (This is
>    recent ... since I just re-installed Cygwin on this machine.  It
>    *used* to work.)
>
> 3) At home, mutt has no trouble telling me which MH mailboxes contain
>    new mail.  At work, however, this function of mutt doesn't work.
>    Once I open the mailbox, the new messages are correctly marked with
>    'N', but when I attempt to change mailboxes, mutt doesn't prompt me
>    as it should.
>
> I've compared the output from 'cygcheck -s -v' on the two machines,
> but I didn't see anything obvious.  (The work machine has more
> packages installed.)  Can anyone suggest what might be responsible for
> these quirks?
>
> Currently, the NT4 (home) machine is working *better* than the XP
> (work) one.  Since I'll be upgrading the home machine to a new box
> running XP shortly, I'd like to find out what's going on.
>
> Thanks very much!
> -pd

Peter,

FYI, this doesn't belong on cygwin-apps...

Can *we* see the output of cygcheck on both machines?  And make that
"cygcheck -svr" (note the "-r" flag).  Please attach it as an uncompressed
text attachment, after making sure your mailer doesn't provide text
attachments inline.

My guess about the .bashrc problem is that the machine that runs it
doesn't give a "--login" flag to bash in cygwin.bat.  Alternatively, the
default .bash_profile tests for the existence of .bashrc, and if you have
weird permissions, 'test' might return the wrong result.  Compare the
.bash_profile's on both machines (and /etc/profile).

The WAG for the "^M"s is that you've accidentally changed the mount type
from text to binary on your work machine when you reinstalled.  The
"cygcheck -svr" output should show whether this is the case.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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/

- Raw text -


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