Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3B9D3DAA.5030108@ece.gatech.edu>
Date: Mon, 10 Sep 2001 18:24:42 -0400
From: Charles Wilson <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: Troy Noble <troy.noble@channelpoint.com>
CC: cygwin@cygwin.com
Subject: Re: Virus Found
References: <8F23E55D511AD5119A6800D0B76FDDE101A26A58@cpex3.channelpoint.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Troy Noble wrote:

>>How about a port of 'fortune' with a custom 'tips' database?  Put it in 
>>the default /etc/profile...
>>
> 
>>--Chuck
>>
> 
> I do like that idea, however...
> 
> I know some versions of Unix rcp client used to get confused if
> the shell startup scripts (like ~/.profile or /etc/profile)
> on the target machine emit any output to stdout.
> 
> Don't know if scp suffers from the same malady, but making the
> /etc/profile spit out information to stdout might obviate the
> need for users of scp, rcp, rsh to go remove the fortune invocation
> from /etc/profile.
> 
> introducing yet another FAQ ;->
> 
> Just my $0.02, a throwback from my former Unix admin days.


No, the machines I use at work spit stuff out to stdout, and I use scp 
all the time:


scp majors.htm cwilson@xxxx:
cwilson@xxxx's password:
stty: : Invalid argument
stty: : Invalid argument
scp: warning: Executing scp1 compatibility.
majors.htm           100% |*****************************|   293 KB    00:04

That stty: warning is coming from the .cshrc file on the remote machine, 
but it doesn't interfere with the file transfer.

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

