public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: 'man' and Funny Characters
@ 2002-07-09 13:51 Daniel Giron
  2002-07-09 15:26 ` Jelks Cabaniss
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Giron @ 2002-07-09 13:51 UTC (permalink / raw)
  To: jelks, cygwin

As a result of trying the checksum like Bernard(who addressed the same 
issue) suggested, I found out that the cat directory is what's causing the 
"funny characters" and if I disable the option, i.e. remove the catx 
directories, this problem doesn't happen. The problem in my opinion is with 
/usr/bin/gzip.exe (which sums the same as Bernard's copy). It'll be 
appreciated if someone can follow up and find the true solution to this.

Cheers,
Daniel

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: 'man' and Funny Characters
  2002-07-09 13:51 'man' and Funny Characters Daniel Giron
@ 2002-07-09 15:26 ` Jelks Cabaniss
  0 siblings, 0 replies; 5+ messages in thread
From: Jelks Cabaniss @ 2002-07-09 15:26 UTC (permalink / raw)
  To: 'Daniel Giron', cygwin

Daniel Giron wrote:

> As a result of trying the checksum like Bernard(who
> addressed the same issue) suggested, I found out that the
> cat directory is what's causing the "funny characters" and
> if I disable the option, i.e. remove the catx directories,
> this problem doesn't happen. 

Good sleuthing!  I deleted the '/usr/man/cat1' directory (the only catX
directory I had) and the problem went away.

Thanks!!!  I don't think I would have ever guessed that one.  How does
it work without the cat1 directory?  Or better, why does it need it?

> The problem in my opinion is
> with /usr/bin/gzip.exe (which sums the same as Bernard's
> copy). It'll be appreciated if someone can follow up and
> find the true solution to this.

My gzip also summed the same as his.  That would indicate (I would
think) that ours is OK, since he is not having that problem.


/Jelks


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: 'man' and Funny Characters
  2002-07-09  8:42 ` Bernard A Badger
@ 2002-07-09 13:25   ` Jelks Cabaniss
  0 siblings, 0 replies; 5+ messages in thread
From: Jelks Cabaniss @ 2002-07-09 13:25 UTC (permalink / raw)
  To: 'Bernard A Badger', cygwin

Bernard A Badger wrote:

> > A number of the man pages now display funny characters in Bash on 
> > WinXP. 'man man' or 'man xsltproc' (to name a few) display 
> > incomprehensible pages, notable for their numerous highlighted ^@ 
> > characters.

> Works for me.
> Looks like file corruption (download errors, virus, disk 
> failure, etc.).

I'm thinking download errors.  At one point I ran the setup with the
Bash window open and got an error message.

> See if you have the right file sizes:

<snip />

Yes, you are right!  Both the file sizes and checksums of those two .gz
files were different from what you listed (gzip.exe was OK).

Do you know if there any relatively easy way to tell what's been
corrupted and redownload those parts, or do I need to uninstall and
reinstall everything to "get it clean"?


/Jelks





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: 'man' and Funny Characters
  2002-07-08 22:38 Jelks Cabaniss
@ 2002-07-09  8:42 ` Bernard A Badger
  2002-07-09 13:25   ` Jelks Cabaniss
  0 siblings, 1 reply; 5+ messages in thread
From: Bernard A Badger @ 2002-07-09  8:42 UTC (permalink / raw)
  To: Jelks Cabaniss, cygwin

Works for me.
Looks like file corruption (download errors, virus, disk failure, etc.).

See if you have the right file sizes:
$ ls -l /usr/man/cat1/man.1.gz /usr/man/cat1/xsltproc.1.gz
-r--r--r--    1 bab      DomUsers     3526 Jul  9 14:58 /usr/man/cat1/man.1.gz
-r--r--r--    1 bab      DomUsers     2335 Jul  9 14:58
/usr/man/cat1/xsltproc.1.gz

Checksum:
$ sum /usr/man/cat1/man.1.gz /usr/man/cat1/xsltproc.1.gz
62416     4 /usr/man/cat1/man.1.gz
11585     3 /usr/man/cat1/xsltproc.1.gz

May be a problem with
gzip                1.3.3-1

$ sum  /usr/bin/gzip.exe
02681    58

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Jelks Cabaniss
> Sent: Tuesday, July 09, 2002 1:07 AM
> To: cygwin@cygwin.com
> Subject: 'man' and Funny Characters
>
>
> I just "upgraded" some packages which became available within the last
> week, and I don't know if this problem existed before, but I've
> certainly never seen it with the man pages I've used.
>
> A number of the man pages now display funny characters in Bash on WinXP.
> 'man man' or 'man xsltproc' (to name a few) display incomprehensible
> pages, notable for their numerous highlighted ^@ characters.
>
> After quitting man in such cases, I get the messages
>
> 	gzip: /usr/man/cat1/man.1.gz: invalid compressed data--crc error
> 	gzip: /usr/man/cat1/man.1.gz: invalid compressed data--length
> error
>
> OTOH, 'man ls' (for example) displays just fine and I get no such
> messages.
>
> Any ideas?  I've checked the FAQ and Google, but found nothing of help.
> Thanks,
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 'man' and Funny Characters
@ 2002-07-08 22:38 Jelks Cabaniss
  2002-07-09  8:42 ` Bernard A Badger
  0 siblings, 1 reply; 5+ messages in thread
From: Jelks Cabaniss @ 2002-07-08 22:38 UTC (permalink / raw)
  To: cygwin

I just "upgraded" some packages which became available within the last
week, and I don't know if this problem existed before, but I've
certainly never seen it with the man pages I've used.

A number of the man pages now display funny characters in Bash on WinXP.
'man man' or 'man xsltproc' (to name a few) display incomprehensible
pages, notable for their numerous highlighted ^@ characters.  

After quitting man in such cases, I get the messages

	gzip: /usr/man/cat1/man.1.gz: invalid compressed data--crc error
	gzip: /usr/man/cat1/man.1.gz: invalid compressed data--length
error

OTOH, 'man ls' (for example) displays just fine and I get no such
messages.

Any ideas?  I've checked the FAQ and Google, but found nothing of help.
Thanks,


/Jelks







	


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-09 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09 13:51 'man' and Funny Characters Daniel Giron
2002-07-09 15:26 ` Jelks Cabaniss
  -- strict thread matches above, loose matches on Subject: below --
2002-07-08 22:38 Jelks Cabaniss
2002-07-09  8:42 ` Bernard A Badger
2002-07-09 13:25   ` Jelks Cabaniss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).