[ILUG] Shell display issues, possibly locale.

Cathal A. Ferris pio at skynet.ie
Tue Oct 17 14:53:00 IST 2006


I have a LAMP server, originally installed as knoppix 3.6 but 
apt-getted to debian sarge.

My problem is that a lot of system output on the command line is 
unreadable. For example, as root, I enter 'adduser'.
The next line reads: '??????? ??'? ???????????:'
I also get this question-mark substitution in vim for its prompts, and in 
things that use ncurses libraries. It's also present in tcsh, and screen.

I've tried finding out where the relevant setting is changed, but having 
some difficulty.

Where else am I missing this locale setting?

=====
Some output and settings that may help troubleshoot:
root at linux-test:~# env
TERM=screen
SHELL=/bin/bash
SSH_CLIENT=193.1.99.74 35330 22
SSH_TTY=/dev/pts/3
USER=root
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games
PWD=/root
LANG=en_GB
SHLVL=1
HOME=/root
LANGUAGE=uk
LOGNAME=root
SSH_CONNECTION=193.1.99.74 35330 10.0.0.2 22
_=/usr/bin/env

=====
/etc/environment:
LANG=en_IE at euro

=====
/etc/bashrc:
#/etc/bashrc
umask 022
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/opt/kde2/bin:/usr/X11R6/bin:/usr/games:/usr/local/sbin:/usr/local/bin:."
export PATH
# LOCALE
[ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n && [ -n "$LANG" ] && 
export LANG
[ -n "$TTY" ] && PS1="\[ESC[1;34m\]knoppix@$TTY[\W]#\[ESC[0;39m\] " || 
PS1="\[ESC[1;34m\][\W]#\[ESC[0;39m\] "
alias which="type -path"
alias ll="ls -l --color=auto"
alias la="ls -la --color=auto"
alias ls="ls --color=auto"




--
Cathal Ferris			+353 87 6438725
pio at csn.ul.ie			http://www.swibble.com



More information about the ILUG mailing list