Bug#352449: [Pkg-kbd-devel] Bug#352449: console-setup: seriously broken

2006-02-12 Thread Anton Zinoviev
On Sun, Feb 12, 2006 at 01:03:47PM +0200, Anton Zinoviev wrote:
> 
> As Denis supposed this happened because ckbcomp interpretes "acute" as
> "ACUTE ACCENT" (0xb0 in ISO-8859-15) instead of APOSTROPHE (0x27).

For the record I meant ISO-8859-1.

> There is similar bug for some other accents.

It seams for the other accents X doesn't act that way.

Anton Zinoviev


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352449: [Pkg-kbd-devel] Bug#352449: console-setup: seriously broken

2006-02-12 Thread Anton Zinoviev
On Sat, Feb 11, 2006 at 11:47:37PM +0100, Norbert Preining wrote:
> 
> - console-setup/variant: Germany - Eliminate dead keys
>   is not honored:
>   ~ is not a dead key, but ' (the un-shifted `) is not useable at all

As Denis supposed this happened because ckbcomp interpretes "acute" as
"ACUTE ACCENT" (0xb0 in ISO-8859-15) instead of APOSTROPHE (0x27).
There is similar bug for some other accents.

> - the settings do not affect all terminals, only the one I am logged in
>   and call dpkg-reconfigure, so I cannot enter any umlauts in any other
>   console thant the one I called setupconf from.

I found a bug which caused the ACM not to be loaded on the first
console.  I suppose on the other consoles it is possible to enter
umlauts.

> - Strange effect (hard to repeat, but it happens sometimes), after
>   reconfiguring the console, suddenly some programs cannot be found
>   (less /etc/X11/xorg.conf: bash: less command not found, but it is
>   there!)

I suppose this was because the first console was left in UTF-8 mode
but the loaded keyboard was for ISO-8859-15 (another bug).  The other
consoles are probably in non-UTF-8 mode.

I will prepare a fixed package soon.

Anton Zinoviev


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352449: [Pkg-kbd-devel] Bug#352449: console-setup: seriously broken

2006-02-12 Thread Denis Barbier
On Sun, Feb 12, 2006 at 08:10:06AM +0100, Norbert Preining wrote:
> On Son, 12 Feb 2006, Denis Barbier wrote:
> > > - the settings do not affect all terminals, only the one I am logged in
> > >   and call dpkg-reconfigure, so I cannot enter any umlauts in any other
> > >   console thant the one I called setupconf from.
> > 
> > This is normal, users cannot modify other ttys unless they are also
> > logged into them.
> 
> Then what are the settings tty[1-6] for? I did ALL this as root! And
> root should be able to change everything?

I assumed that you were running setupcon as a normal user.  As root, it
should indeed change all ttys, and it does indeed with my tests.
You may run "setupcon -v".  If you only see one message "Loading font ..."
this means that setupcon tries to change only the current tty.

[...]
> I assume that this has something todo with some double-width chars, or
> utf8 encoded chars which somehow manage to come into the console as one
> 8bit char to be displayed, but in some buffer they are still as two
> chars.

Yes, this is surely the case.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352449: [Pkg-kbd-devel] Bug#352449: console-setup: seriously broken

2006-02-11 Thread Norbert Preining
On Son, 12 Feb 2006, Denis Barbier wrote:
> > - the settings do not affect all terminals, only the one I am logged in
> >   and call dpkg-reconfigure, so I cannot enter any umlauts in any other
> >   console thant the one I called setupconf from.
> 
> This is normal, users cannot modify other ttys unless they are also
> logged into them.

Then what are the settings tty[1-6] for? I did ALL this as root! And
root should be able to change everything?

> > - Strange effect (hard to repeat, but it happens sometimes), after
> >   reconfiguring the console, suddenly some programs cannot be found
> >   (less /etc/X11/xorg.conf: bash: less command not found, but it is
> >   there!)
> 
> Hey, that sounds indeed quite unbelievable ;)

No repeatable. I called setupcon, and then gut my usual prompt:
[gandalf]
~# 
then I typed dpkg-reconfigure
[gandalf]
~# dpkg-reconfigure
bash: dpkg-reconfigure command not found
and I found that there is a strange space between the hash and the "d"
and I if I go to the start of the line Ctlr-A and THEN backspace
backspace I could suddenly delete characters.

I assume that this has something todo with some double-width chars, or
utf8 encoded chars which somehow manage to come into the console as one
8bit char to be displayed, but in some buffer they are still as two
chars.

One more thing, today NO umlauts did work at all, not even after calling
setupcon from the user windows.

Herzliche Grüße

Uhhh whats this, it cannot even display my umlauts ...

Best wishes

Norbert

---
Dr. Norbert Preining  Università di Siena
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
SCORRIER (n.)
A small hunting dog trained to snuffle amongst your private parts.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352449: [Pkg-kbd-devel] Bug#352449: console-setup: seriously broken

2006-02-11 Thread Denis Barbier
On Sat, Feb 11, 2006 at 11:47:37PM +0100, Norbert Preining wrote:
> Package: console-setup
> Version: 1.0
> Severity: serious
> 
> Hi!
> 
> I cannot get console-setup *not* to mess up completely the console,
> these are the problems:
> 
> - console-setup/variant: Germany - Eliminate dead keys
>   is not honored:
>   ~ is not a dead key, but ' (the un-shifted `) is not useable at all

Anton, I do not know if this is related, but your files contain
   key   { [  acute, grave, cedilla, cedilla ] };
but in X, acute should be replaced by apostrophe.

> - the settings do not affect all terminals, only the one I am logged in
>   and call dpkg-reconfigure, so I cannot enter any umlauts in any other
>   console thant the one I called setupconf from.

This is normal, users cannot modify other ttys unless they are also
logged into them.

> - Strange effect (hard to repeat, but it happens sometimes), after
>   reconfiguring the console, suddenly some programs cannot be found
>   (less /etc/X11/xorg.conf: bash: less command not found, but it is
>   there!)

Hey, that sounds indeed quite unbelievable ;)

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]