cat.exe doesn't show entire file in Command Prompt

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Jan 20 16:55:00 GMT 2004


On 2004年1月20日, 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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_		igor@watson.ibm.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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /