You are not logged in.

#1 2008-02-17 15:51:18

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

[SOLVED] Weird console behaviour

Hi all

There's someting wrong with my console after doing pacman -Syu.

In X everything works fine though.

My console can't display danish characters like æøå, but I'm able to write them.

And the funny thing is that if I write æøå in the prompt like this :

niels ~  $ æøå

and using backspace for deletion I can delete my prompt like this:

nie

Pressing enter brings back the prompt.

First I thought it was a locale problem but everything else works fine ???

I dont know which files should be relevant to this but here is my locales:

LANG=da_DK.iso88591
LC_CTYPE="da_DK.iso88591"
LC_NUMERIC="da_DK.iso88591"
LC_TIME="da_DK.iso88591"
LC_COLLATE=C
LC_MONETARY="da_DK.iso88591"
LC_MESSAGES="da_DK.iso88591"
LC_PAPER="da_DK.iso88591"
LC_NAME="da_DK.iso88591"
LC_ADDRESS="da_DK.iso88591"
LC_TELEPHONE="da_DK.iso88591"
LC_MEASUREMENT="da_DK.iso88591"
LC_IDENTIFICATION="da_DK.iso88591"
LC_ALL=

And my ~/.bashrc:

alias ls='ls -ar --color=auto'
alias x='startx -- -dpi 96'
alias backup='Scripts/Backup/./nrbackup'
alias clean='Scripts/./clean'

#PS1='[\u@\h \W]\$ '
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[m\] \[\e[1;32m\]\$ \[\e[m\]\[\e[1;37m\] '

export MOZILLA_FIVE_HOME=/usr/lib/firefox-2.0.0.12/

And the first part of my /etc/rc.conf:

LOCALE="da_DK.iso88591"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Copenhagen"
KEYMAP="dk.map.gz"
CONSOLEFONT="cp850-8x16"
CONSOLEMAP="8859-15"
USECOLOR="yes"

Does any of guys out there have any ideas about this ???

I really need to have a proper console setup !!

Last edited by niller (2008-02-17 18:45:53)


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

#2 2008-02-17 18:44:56

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Re: [SOLVED] Weird console behaviour

I think I've solved it

http://bbs.archlinux.org/viewtopic.php?id=43779

Cheers,

Last edited by niller (2008-02-17 18:45:19)


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

#3 2008-02-17 18:49:25

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [SOLVED] Weird console behaviour

Any reasons for not using utf8?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#4 2008-02-17 19:13:27

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Re: [SOLVED] Weird console behaviour

In my box, using unicode shows danish characters as some ugly questionmarks.

The only way to stop this is to turn off unicode everywhere possible, this also applies to Ubuntu and family.

When some bad coded website shows these questionmarks it usually helps to switch the unicode off in View-> Character Encoding ...

Don't ask me why :-/

Cheers,


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

Board footer

Powered by FluxBB