This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with displaying ASCII table in mintty


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]