Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" Subject: Re: Local (polish) characters Date: Sun, 8 Feb 2004 05:08:17 +0100 Lines: 53 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit 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-' > works in other Cygwin programs, e.g., 'cat' (and I don't know if it does, > since in the Russian input locale, Alt- isn't used for entering > characters). It does. > Next, test whether pasting the non-Roman characters into > bash works (this will bypass the Alt- 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/