delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/10/18:25:03

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: <3B9D3DAA.5030108@ece.gatech.edu>
Date: Mon, 10 Sep 2001 18:24:42 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT 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 DOT noble AT channelpoint DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Virus Found
References: <8F23E55D511AD5119A6800D0B76FDDE101A26A58 AT cpex3 DOT channelpoint DOT com>

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 AT xxxx:
cwilson AT 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/

- Raw text -


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