X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Joel Rubin Subject: Conflict of names - nc (netcat) and nc (part of nedit) Date: Sat, 12 May 2007 14:06:27 -0400 Lines: 25 Message-ID: <7aub43dn29si0g5ebek4gf1fclli0p3kvr@entropy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 nc (netcat, a Swiss army knife network client) and nc (a client for transmitting commands to the X11 editor nedit) can cause a conflict if both the nc and nedit packages of Cygwin are installed. For example, my mail checking cmd.exe script C:\cygwin\bin\echo -e user jmrubin\npass mypassword\nlist\nquit\n | nc pop.nerdshack.com 110 fails if I try to run it in C:\cygwin\usr\bin\X11R6\bin I suppose that wouldn't be a problem if it were a bash script since the current directory is always the first element of the cmd path but this is not true of the bash path. By the way 1) For cmd or bash scripts there needs to be an explicit path for echo or an other-named copy/link because the built-in echo doesn't know from backslash sequences. 2) Some antivirus programs regard netcat as potential malware. It has some potentially dangerous options (especially where you can listen and run a program) and either in binary or source form it probably has been part of a malware package. -- 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/