| www.delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4A442339.8060406@aim.com> |
| Date: | Thu, 25 Jun 2009 21:24:09 -0400 |
| From: | Mark Harig <idirectscm AT aim DOT com> |
| User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
| MIME-Version: | 1.0 |
| To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
| Subject: | Problem with displaying ASCII table in mintty |
| X-AOL-IP: | 205.188.169.199 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Is is possible to display the upper 128 entries in the ASCII
table in mintty using the 'cygutils' application 'ascii'?
Package versions:
bash-3.2$ /usr/bin/cygcheck -c bash cygutils cygwin mintty
Cygwin Package Information
Package Version Status
bash 3.2.49-22 OK
cygutils 1.4.0-1 OK
cygwin 1.7.0-50 OK
mintty 0.4.1-1 OK
bash-3.2$ /usr/bin/ascii --version
/usr/bin/ascii is part of cygutils version 1.4.0
Prints nicely formatted table of the ascii character set
I have attempted to use two configurations, but neither one
displays the table without problems in mintty:
Configuration 1:
- mintty: Using the font's codepage set to UTF-8
bash-3.2$ /usr/bin/grep Codepage ~/.minttyrc
Codepage=UTF-8
- bash:
bash-3.2$ echo $TERM
xterm
bash-3.2$ echo \"$LANG\" ":" \"$LC_ALL\" ":" \"$LC_CTYPE\"
"en_US.UTF-8" : "en_US.UTF-8" : "en_US.UTF-8"
With this configuration, the upper 128 entries to the ASCII
table are displayed as follows (the #'s are replacements for
the gray box character that is displayed):
bash-3.2$ /usr/bin/ascii
128 0x80 # 160 0xa0 # 192 0xc0 # 224 0xe0 #
...
159 0x9f # 191 0xbf # 223 0xdf # 255 0xff #
Configuration 2:
- mintty: Using the font's codepage set to ISO-8859-1
bash-3.2$ /usr/bin/grep -i codepage ~/.minttyrc
Codepage=ISO-8859-1:1998 (Latin-1, West Europe)
- bash:
bash-3.2$ echo \"$LANG\" ":" \"$LC_ALL\" ":" \"$LC_CTYPE\"
"en_US.ISO-8859-1" : "en_US.ISO-8859-1" : "en_US.ISO-8859-1"
With this second configuration, most of the upper 128 entries
of the ASCII table are displayed, but many are missing. In addition,
many entries are displayed in the wrong location (some rows are out
of order).
Note: I had mintty start bash with the '--norc' and '--noprofile' options.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |