Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 20 Jan 2004 11:42:15 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Chris Eidem cc: cygwin AT cygwin DOT com Subject: Re: cat.exe doesn't show entire file in Command Prompt In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 20 Jan 2004, Chris Eidem wrote: > Hello all, > > I've just installed cygwin 1.5.5 on an XP Pro/SP1 box. Everything works > according to Hoyle in a bash shell through rxvt (wow, what a great > tool), yet when I attempt to use cat.exe to show a file in the Windows > Command Prompt Window, I get a partial file listing. Has this happened > to anyone? Chris, Hmm, does this happen *only* in the command prompt window, or also in bash/rxvt? > It seems to stop at the same point in a specific file, but that point > differs by file. I mean to say that in file xyz.txt it will stop at > character 96 (let's say), but in file 123.txt it will stop at character > 152. I don't where to look for more info, but I'll happily supply any > info requested. Try using "cat -A" or "od -c" on the failing file, and see if there's some special non-printing character in that file at that position. Also, make sure you're using the right "cat" (i.e., the Cygwin one). > Thanks, > - chris > > cygcheck -svr: > [inline cygcheck output snipped] Oh, and next time, please *attach* the cygcheck output. Including it inline increases the number of false positive hits in archive searches. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/