BSD + mount + nwfs = German Umlauts ?

Prinzler, Jaromir jprinzler at tplan-gmbh.de
Tue Feb 26 11:38:27 UTC 2008


Hello  Maintainer,

i hope you can understand me. My english is bad ;-(

My problem are the german umlauts äüö (ae ue oe) and so on.
I need this to mount netware volumes on freebsd.

At this time i make this...

    mount_nwfs -S MYSERVER --U xxx -P yyy -V DATEN -l de_DE.ISO8859-15 /mnt

..this command mount my netware volume on /mnt. It work's without errors.

When i show now the directory listing (mc or bash) i see german umlauts are
ugly.

I think i need the -w option ? Now i can use the "se","asis" or "koi2cp866"
option name.
Only when i use "se" option the german umlauts only "äöÄÖ" (ae oe AE OE) are
perfect. The other "üÜ" (ue UE) not ?

    mount_nwfs -S MYSERVER -U xxx -P yyy -V DATEN -l de_DE.ISO8859-15 -w se
/mnt

Under linux (suse) i have used the old codepage "cp437". There was all
characters valid.

    ncpmount -m -p cp437 -S MYSERVER -U xxx -P yyy -V DATEN /mnt

Have you any ideas here ?

The command "locale" on my BSD system gives me follow output:

LANG=de_DE.ISO8859-15
LC_CTYPE="de_DE.ISO8859-15"
LC_COLLATE="de_DE.ISO8859-15"
LC_TIME="de_DE.ISO8859-15"
LC_NUMERIC="de_DE.ISO8859-15"
LC_MONETARY="de_DE.ISO8859-15"
LC_MESSAGES="de_DE.ISO8859-15"
LC_ALL=

An it works on my console and ssh. Only the files in netware volumes are
ugly ;-(

I have look in your source on
"/usr/ports/net/ncplib/work/ncplib-1.3.4/lib/ncp". On file "ncpl_nls.c" i
can find the russian tables to convert
the characters.

    static u_int8_t alt2koi8[] = {
            0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, /* 0x00 */
            0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f,
            0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, /* 0x10 */
            0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f,
            .
            .
            . and so on.

I have not found the table for "se" (swedish) to modify it and use it for
german ?
When you can say me where i can found this table than i need the information
where
ist the character (position) on the c array ?

Thanx for you help !

Greetings from Germany - Berlin.


Jaromir Prinzler 



TPlan Ingenieurgesellschaft mbH
Mahlerstrasse 35,
D-13088 Berlin	 Tel: +49 30 443290 50
Fax: +49 30 443290 52
EMail: office at tplan-gmbh.de
Web: http://www.tplan-gmbh.de	 Geschäftsführer:
Herr Dipl-Ing. (FH) Kay Ansorg
Herr Dipl-Ing. (FH) Karsten Horn	 Sitz der Gesellschaft:
Berlin, HRB 68988
Amtsgericht Charlottenburg	

 


More information about the freebsd-ports mailing list