Help!! Locale disaster - for swedish locales
I've been mucking about with my system and my locales settings seems to be out of wack. Perldoc doesnt work properly
and trying man pages gets me the following error
Error executing formatting or display command.
System command (cd /usr/share/man && /usr/bin/tbl /usr/share/man/man1/top.1 | /usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c | /usr/bin/less -is) exited with status 256.
these are my locale settings
LANG="sv_SE"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL="C"
my .bash_profile contains the following
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/login.defs
#umask 022
# the rest of this file is commented out.
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
# do the same with MANPATH
#if [ -d ~/man ]; then
# MANPATH=~/man:"${MANPATH}"
# export MANPATH
#fi
test -r /sw/bin/init.sh && . /sw/bin/init.sh
my bashrc contains the following
PATH=$PATH:/usr/local/bin/:/sw/bin
#alias cdf='cd' "$(~/bin/posd)"'
alias ls='ls -G'
alias mysql=/usr/local/mysql/bin/mysql
alias top='top -Xt -o cpu'
export ENV
my profile contains the following
. /sw/bin/init.sh
export PS1="\w $ "
alias ssh-thomas = "ssh -i ~/.ssh/legolas.id_dsa.pub thomas@teg.pp.se"
# cdf: cd to the directory in the Finder's front window
alias cdf='cd "$(~/bin/posd)"'
# posfind: search the directory frontmost in the Finder
function posfind { find "`~/bin/posd`" -name " $1"; }
# posgrep: grep the directory frontmost in the Finder
function posgrep { grep -iIrn "$1" "`~/bin/posd`"; }
export LANG="sv_SE.utf8"
export LC ALL="svSE.utf8"
what is wrong .... i cry out for help from all command-line buddies 🙂
Pb G4, Mac OS X (10.4.3)