delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/20/11:42:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Chris Eidem <ceidem AT Dexma DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: cat.exe doesn't show entire file in Command Prompt
In-Reply-To: <B83445050D0D6B4BAD2801F1585F9D6E0F1BA6@xmail1.dexma.com>
Message-ID: <Pine.GSO.4.56.0401201137050.14918@slinky.cs.nyu.edu>
References: <B83445050D0D6B4BAD2801F1585F9D6E0F1BA6 AT xmail1 DOT dexma DOT com>
MIME-Version: 1.0

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/

- Raw text -


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