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/