delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/10/16:45:06

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <49403825.7080307@veritech.com>
Date: Wed, 10 Dec 2008 16:44:05 -0500
From: "Lee D.Rothstein" <lee AT veritech DOT com>
Reply-To: lee AT veritech DOT com
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Length of Command Line?!!!
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000031, version=1.0.1
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

I remember that in past versions of Windows, 'cmd.exe' imposed a 
draconianly short command line on Cygwin console. I was wondering 
whether the limitation applied to Xterm windows, as well. I have become 
quite adept at using xargs to avoid this limit. However, I was writing 
something about Cygwin and I thought it time to reverify.

So, I ran a little test, on both console and Xterm bash windows, and 
discovered that command lines > 260,000 characters are acceptable to 
_console_. (Xterm yields the same results.) I still haven't determined 
the upper limit.

I am running Vista 64 Home Premium (Ver 6.0 Build 6001 Service Pack 1; 
AMD 64 Quadcore), and Cygwin DLL ver 1.5.25-15.

Is this something "new" to Cygwin, or Windows Vista 64? As of which 
version of what?

Sorry to be so anachronistic.

So, once, again, Cygwin is better than I "remember"! ;-)

BTB, at least one document turned up in a Google search (of documents 
dated in the last year) indicated that GNU/Linux had a 128KB limit, and 
Cygwin, under XP, a 32KB limit!

Lee

Lee Rothstein


--
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/

- Raw text -


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