[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-English Linux use


On Thu, 2 Oct 1997, G. Crimp wrote:

> 	Does one have to compile extra support into the kernel in order 
> to be able to use accented characters, etc. ?


> Or is a non-English keyboard map sufficient ?
> If more than a key.map is needed, what might this be ?

It depends. If you are not using X, you should load a console font for
your character set. For example, I need iso-8859-1 and I have the
following executable file /etc/rc.boot/0consolefont:

/usr/bin/setfont iso01.f16

There are a lot of fonts to choose from. See /usr/share/consolefonts.

Loading of console fonts was once supported by the kbd package, but
currently it is not and you have to do it yourself (it is supported by
"svgatextmode", but I don't want to use the whole package, I'm happy using
plain 80x25 :-).

Another thing you can do is to make an ~/.inputrc file for bash/readline.
Here is the mine:

"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
set meta-flag on
set convert-meta off
set output-meta on
set bell-style none

[ First three lines make Home, End and Delete keys to work "as usual" ].

BTW: It is very likely that bash/readline in the next Debian release
will support /etc/inputrc as global configuration file (currently it does
only look for ~/.inputrc in the user's home directory).

Moreover I have this in my /etc/profile:

export LC_CTYPE=ISO-8859-1

but I'm not sure whether it is still needed or not (some time ago, bash
needed it, now I would have to check it).

Hope this helps, if only a little bit.

Version: 2.6.3ia
Charset: noconv


TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: