Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 CC: cygwin AT cygwin DOT com Subject: Re: Virus Found References: <8F23E55D511AD5119A6800D0B76FDDE101A26A58 AT cpex3 DOT channelpoint DOT 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 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/