Dashes showing as empty boxes in man pages in a Cygwin/X terminal

2

Pretty much what the title says, works fine in a plain (non-X) Cygwin window. It's probably a charset thing. In case it's related:

$ echo $LANG
C.UTF-8

I ungzipped the man page for less and the start looks like so:

.TH LESS 1 "Version 429: 11 Apr 2009"
.SH NAME
less \- opposite of more

Any ideas on how to fix this?

regjo

Posted 2010-01-20T21:45:21.767

Reputation: 315

Answers

2

Use the mintty terminal or do 'alias man="LANG=C man"'.

ak2

Posted 2010-01-20T21:45:21.767

Reputation: 86

urxvt-X also works. – regjo – 2010-01-21T13:56:41.050

0

I fixed mine by setting my terminal (PuTTY) to UTF-8. PuTTY defaults to Latin-1 but Cygwin 1.7 now defaults to UTF-8. Check your terminal configuration.

http://turbulentsky.com/cygwin-funny-characters-man-pages-putty.html

user27895

Posted 2010-01-20T21:45:21.767

Reputation: