delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/07/23:04:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: "Krzysztof Duleba" <krzysan AT skrzynka DOT pl>
Subject: Re: Local (polish) characters
Date: Sun, 8 Feb 2004 05:08:17 +0100
Lines: 53
Message-ID: <c04cf0$5gr$1@sea.gmane.org>
References: <c03rht$bff$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0402071909160 DOT 22139 AT slinky DOT cs DOT nyu DOT edu> <c04070$ip2$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0402072154440 DOT 22139 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: fw-gw-atm.mimuw.edu.pl
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158

Igor Pechtchanski wrote:

> > Polish special characters are produced with right alt and a letter key.
Is
> > Cygwin somehow intercepting such combinations? I suppose so, as right
alt +
> > a gives (arg: 9) on the display (in cmd.exe such a combination results
in
> > 'a' with a hook), right alt + l gives (arg: 3), and right alt + u gives
?
> > (alt + u have no special meaning for me, I was just curious and tried
out
> > all the combinations of right alt with a letter). Other combinations
have no
> > result.
>
> I see.  You weren't asking about *displaying* Polish characters, you were
> asking about *entering* them, and that's a whole different ballgame.

About both of them.

> In
> fact, you're talking about entering them in *bash*, which isn't the same
> as most other Cygwin programs, as it uses readline.
>
> First off, test whether entering the non-Roman characters via 'Alt-<key>'
> works in other Cygwin programs, e.g., 'cat' (and I don't know if it does,
> since in the Russian input locale, Alt-<key> isn't used for entering
> characters).

It does.

> Next, test whether pasting the non-Roman characters into
> bash works (this will bypass the Alt-<key> mechanism).

It doesn't.

>  If it doesn't
> work, put the following into your .inputrc:
>
> # Allow 8-bit stuff
> set meta-flag on
> set convert-meta off
> set input-meta on
> set output-meta on

Now bash works ok. Thank you very much for your help. Now I just have to
remember to use d directory lister instead of ls (which produces "??" where
Polish characters should be) :-)

Regards
Krzysztof Duleba



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019