This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Length of Command Line?!!!


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]