public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Using German Umlauts with bash
@ 2001-01-01 11:02 lw
  0 siblings, 0 replies; 4+ messages in thread
From: lw @ 2001-01-01 11:02 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

 >I'm using the latest cygwin 1.1.6 for Windows NT 4.0 SP5 and i have installed it with the latest
 >setup.exe.
 >
 >What must i do so bash can display correctly the German umlauts like äöüÄÖÜß if they
 >occur in filenames?

I have version 1.1.7 installed. All umlauts display ok with this version.

 >What to do so i can type German umlauts on the bash-command-line?

Don't know, this does not work yet.
IMO you should avoid using umlauts in filenames. This often
causes problems, not only concerning cygwin...

 >Another key i wish to work was the 'del'-key: It should delete to right. Backspace correctly deletes
 >to left.

I created a file '.inputrc' in my home directory which contains
the following one line, beginning at row 1:

"\e[3~": delete-char

After restarting bash now, the [Del]-key works perfectly.

 >Is there any description or manual how to configure such things?

I found the [Del]-key stuff in the mail archives, for example.
http://cygwin.com/ml/cygwin

schöne Grüße nach München

- Lars


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ 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
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* AW: Using German Umlauts with bash
@ 2001-01-02  2:51 klaus.berndl
  2001-01-02  4:59 ` Gerrit P. Haase
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* Using German Umlauts with bash
@ 2001-01-01  8:37 klaus.berndl
  0 siblings, 0 replies; 4+ messages in thread
From: klaus.berndl @ 2001-01-01  8:37 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

I´m using the latest cygwin 1.1.6 for Windows NT 4.0 SP5 and i have installed it with the latest
setup.exe.

What must i do so bash can display correctly the German umlauts like äöüÄÖÜß if they
occur in filenames?
What to do so i can type German umlauts on the bash-command-line?

Another key i wish to work was the 'del'-key: It should delete to right. Backspace correctly deletes
to left.

Is there any description or manual how to configure such things?

Many thanks in advance,
Klaus




-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG			http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-01-05 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-01 11:02 Using German Umlauts with bash lw
  -- strict thread matches above, loose matches on Subject: below --
2001-01-04 15:58 AW: " Gerrit P. Haase
2001-01-04 22:02 ` Christopher Abbey
2001-01-05 14:14   ` Gerrit P. Haase
2001-01-02  2:51 AW: " klaus.berndl
2001-01-02  4:59 ` Gerrit P. Haase
2001-01-01  8:37 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).