LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Shell display issues, possibly locale.

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell