delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Joel Rubin <jmrubin AT nerdshack DOT com> |
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 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |