* AW: Using German Umlauts with bash
@ 2001-01-04 14:55 lw
2001-01-04 15:58 ` Gerrit P. Haase
0 siblings, 1 reply; 8+ messages in thread
From: lw @ 2001-01-04 14:55 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]
Klaus, Gerrit,
>> >What can/must i do so "ls" (and maybe other tools/commands)
>> also displays the
>> >German umlauts correct.
>>
>> Use "ls -N" or "ls --literal" (see ls --help), then the output
>> is ok. (At least for ls)
>>
>
>Sorry, but this does not work for me, i still get the output with
>the ? instead of the correct umlauts.
Strange. This is the output on my W2k machine:
-----------------------------------------------------------------
lw@SPAHIS /usr/local/test
$ touch test-äöüÃ
lw@SPAHIS /usr/local/test
$ ls -l
total 0
-rw-r--r-- 1 lw Kein 0 Jan 4 22:38 test-????
lw@SPAHIS /usr/local/test
$ ls -lN
total 0
-rw-r--r-- 1 lw Kein 0 Jan 4 22:38 test-äöüÃ
lw@SPAHIS /usr/local/test
$ ls --version
ls (GNU fileutils) 3.16
-----------------------------------------------------------------
The same happens on my Win98 PC.
Did you perhaps type "ls -n" instead of "ls -N" ?
Just an experiment: type "ls -b" and see if the "funny chars" are
quoted then.
lw@SPAHIS /usr/local/test
$ ls -lb
total 0
-rw-r--r-- 1 lw Kein 0 Jan 4 22:38 test-\344\366\374\337
Bei mir funzts, Gerrit... ;-)
- Lars
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: AW: Using German Umlauts with bash
2001-01-04 14:55 AW: Using German Umlauts with bash lw
@ 2001-01-04 15:58 ` Gerrit P. Haase
2001-01-04 22:02 ` Christopher Abbey
0 siblings, 1 reply; 8+ messages in thread
From: Gerrit P. Haase @ 2001-01-04 15:58 UTC (permalink / raw)
To: cygwin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Klaus, Lars,
>
> lw@SPAHIS /usr/local/test
> $ ls --version
> ls (GNU fileutils) 3.16
> -----------------------------------------------------------------
Hmmm,
$ ls --version
ls (GNU fileutils) 4.0
^^^^^ maybe a bug?
> The same happens on my Win98 PC.
> Did you perhaps type "ls -n" instead of "ls -N" ?
No.
> Just an experiment: type "ls -b" and see if the "funny chars" are
> quoted then.
>
> lw@SPAHIS /usr/local/test
> $ ls -lb
> total 0
> -rw-r--r-- 1 lw Kein 0 Jan 4 22:38 test-\344\366\374\337
>
> Bei mir funzts, Gerrit... ;-)
Hmmm,
$ ls -b
siebenschlaefer \330\322\300\330\301\300\322\330
$ ls -lb
total 4
drwxrwxrwx 8 administ Administ 8192 Jan 4 06:58 siebenschlaefer
- -rwxrwxrwx 1 administ Administ 9 Jan 4 23:48 \330\322\300\330\301\300\322\330
$ ls -N
siebenschlaefer ????????
$ ls -lN
total 4
drwxrwxrwx 8 administ Administ 8192 Jan 4 23:52 siebenschlaefer
- -rwxrwxrwx 1 administ Administ 9 Jan 4 23:48 ????????
Lars, what do you got for settings in .inputrc?
And what relevant is in .bashrc?
Ciao,
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: =^..^=
iQA/AwUBOlUAijBeUmEooFE3EQJv4gCfbicxFrqXEexibuDbk2Og5Qvv2OkAoNuT
lEKt2vINryIBVJL5LFPhomxm
=BGmk
-----END PGP SIGNATURE-----
--
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767 BE39 305E 5261 28A0 5137
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: AW: Using German Umlauts with bash
2001-01-04 15:58 ` Gerrit P. Haase
@ 2001-01-04 22:02 ` Christopher Abbey
2001-01-05 14:14 ` Gerrit P. Haase
0 siblings, 1 reply; 8+ messages in thread
From: Christopher Abbey @ 2001-01-04 22:02 UTC (permalink / raw)
To: cygwin
Tomorrow, Gerrit P. Haase wrote:
> $ ls -N
> siebenschlaefer ????????
Check what font you're using for the window, and/or the console
codepage depending on how you're starting bash. The best test
I've found to date is to start a raw command / cmd shell and
make sure you can display the characters with dir, then run cygwin.bat
in that shell and ls -N al of a sudden worked. :) For me it was the
font... but if all you get is '?' it might be the codepage.
--
now the forces of openness have a powerful and
unexpected new ally - http://ibm.com/linux
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Using German Umlauts with bash
2001-01-04 22:02 ` Christopher Abbey
@ 2001-01-05 14:14 ` Gerrit P. Haase
0 siblings, 0 replies; 8+ messages in thread
From: Gerrit P. Haase @ 2001-01-05 14:14 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
<5 Jan 2001, 0:00 Uhr wars, als Christopher Abbey folgendes schrub:>
< Re: AW: Using German Umlauts with b >
> Tomorrow, Gerrit P. Haase wrote:
> > $ ls -N
> > siebenschlaefer ????????
>
> Check what font you're using for the window, and/or the console
> codepage depending on how you're starting bash. The best test
> I've found to date is to start a raw command / cmd shell and
> make sure you can display the characters with dir, then run cygwin.bat
> in that shell and ls -N al of a sudden worked. :) For me it was the
> font... but if all you get is '?' it might be the codepage.
>
No, we got it, fileutils (ls) 4.0 is different, with new options.
ls --show-control-chars
this is a new one, and with this option it works fine:)
$ ls --show-control-chars
siebenschlaefer üöäÃÃ
ÃÃÃ
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: =^..^=
iQA/AwUBOlY5nzBeUmEooFE3EQLARwCg648qQZsitG+15o002jMmcY1FBrsAoKD0
+D+xkJkesVBSBZDy6T4QVhwK
=E0KE
-----END PGP SIGNATURE-----
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* AW: Using German Umlauts with bash
@ 2001-01-03 2:21 klaus.berndl
0 siblings, 0 replies; 8+ messages in thread
From: klaus.berndl @ 2001-01-03 2:21 UTC (permalink / raw)
To: lw, cygwin
> >What can/must i do so "ls" (and maybe other tools/commands)
> also displays the
> >German umlauts correct.
>
> Use "ls -N" or "ls --literal" (see ls --help), then the output
> is ok. (At least for ls)
>
Sorry, but this does not work for me, i still get the output with
the ? instead of the correct umlauts.
Klaus
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: AW: Using German Umlauts with bash
2001-01-02 10:59 lw
@ 2001-01-02 13:39 ` Gerrit P. Haase
0 siblings, 0 replies; 8+ messages in thread
From: Gerrit P. Haase @ 2001-01-02 13:39 UTC (permalink / raw)
To: cygwin
<2 Jan 2001, 19:59 Uhr wars, als lw@computerwuerfel.de folgendes schrub:>
< AW: Using German Umlauts with bash >
> Hi Klaus,
>
> >What can/must i do so "ls" (and maybe other tools/commands) also displays the
> >German umlauts correct.
>
> Use "ls -N" or "ls --literal" (see ls --help), then the output
> is ok. (At least for ls)
Funzt nicht bei mir...
Doesn't work for me...
Gerrit
--
=^..^=
Gerrit Peter Haase
ID: 0x28A05137
FP: 875C 745E 01CF 8A34 2767 BE39 305E 5261 28A0 5137
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* AW: Using German Umlauts with bash
@ 2001-01-02 10:59 lw
2001-01-02 13:39 ` Gerrit P. Haase
0 siblings, 1 reply; 8+ messages in thread
From: lw @ 2001-01-02 10:59 UTC (permalink / raw)
To: cygwin
Hi Klaus,
>What can/must i do so "ls" (and maybe other tools/commands) also displays the
>German umlauts correct.
Use "ls -N" or "ls --literal" (see ls --help), then the output
is ok. (At least for ls)
>For example less displays the German umlauts if i do "export LESSCHARSET=latin1".
Thank you for the tip.
>> >What to do so i can type German umlauts on the bash-command-line?
>>
>> Don't know, this does not work yet.
>
>Yes, this works, look above to the ~./inputrc
You are right, thank you again.
- Lars
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* AW: Using German Umlauts with bash
@ 2001-01-02 2:51 klaus.berndl
0 siblings, 0 replies; 8+ messages in thread
From: klaus.berndl @ 2001-01-02 2:51 UTC (permalink / raw)
To: lw, cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]
> I have version 1.1.7 installed. All umlauts display ok with
> this version.
Ok, i have installed latest Cygwin 1.1.7 and i have created a ~/.inputrc
with the following contents:
set meta-flag on
set convert-meta off
set output-meta on
#set show-all-if-ambiguous on
I have found this in the mailing-archive and it works well for typing
German umlauts. Now i can do
"touch This-Is-A-File-With-One-Umlaut-ä" (last character is the German "a)
Ok, if i then type
"more This-Is-<TAB>"
means i do TAB-completion then bash expands correct to
"more This-Is-A-File-With-One-Umlaut-ä"
But if i do an "ls" or an "ls -lA" in this directory the dir-list is displayed
...
-rw-r--r-- 1 administ Kein 0 Jan 2 10:43 This-Is-A-File-With-One-Ulaut-?
...
Please note the ? instead of the correct ä (German "a).
What can/must i do so "ls" (and maybe other tools/commands) also displays the
German umlauts correct.
For example less displays the German umlauts if i do "export LESSCHARSET=latin1".
Is there maybe something similar for bash?
>
> >What to do so i can type German umlauts on the bash-command-line?
>
> Don't know, this does not work yet.
Yes, this works, look above to the ~./inputrc
> IMO you should avoid using umlauts in filenames. This often
> causes problems, not only concerning cygwin...
Yes, i agree but often i must read foreign files and directories...
Thanks,
Klaus
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-01-05 14:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-04 14:55 AW: Using German Umlauts with bash lw
2001-01-04 15:58 ` Gerrit P. Haase
2001-01-04 22:02 ` Christopher Abbey
2001-01-05 14:14 ` Gerrit P. Haase
-- strict thread matches above, loose matches on Subject: below --
2001-01-03 2:21 AW: " klaus.berndl
2001-01-02 10:59 lw
2001-01-02 13:39 ` Gerrit P. Haase
2001-01-02 2:51 klaus.berndl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).