I'm using Linux-Mandrake 8.0 in my laptop. After I logged in as a "root", I added a new path in my .bashrc file (I use bash shell). Then I can observe it has been set correctly by typing echo $PATH.
But, when I log in again as a personal account, not "root", then I open my bash shell, and type... (5 Replies)
When a user connects via ssh to one of out Sun V120 boxes the following message is displayed.
"couldn't set locale correctly"
The .profile has the following line
# @(#)local.profile 1.6 98/02/06 SMI
stty istrip
stty erase ^H
So I put a set -x in the .profile and re sourced it and... (1 Reply)
When logging into solaris box through ssh, my profile does not get set correctly and I'm presented with the default ksh prompt "$".
When logging in through telnet, everything is set correctly. Is there a special profile that sshd runs?
ssh2: F-Secure SSH 2.4.0 (build 15) on sparc-sun-solaris2.8 (0 Replies)
Hi,
I need to set a locale to my linux machine which has redhat enterprise linux 4
how should I do that.
And also when i did locale -a, I have got three versions for each locale type
with different .extensions like utf8,iso88951 and soon
which file should I use for setting locale.
... (1 Reply)
hi All,
I'm using sun OS 5.10.
All locales are set to en_US.ISO8859-1 in /etc/profile/init file.
I'm using one functional user.When I tried to "sesu - functionalUser",its giving me error like "Couldn't set locale correctly".In functional user profile i'm tring to set locales to en_US.After... (1 Reply)
Hello,
I have a recently configured machine that when log into it as a user or remotely as root it displays "Couldn't set locale correctly"
When I type locale it displays the below which is wrong compared to other machines
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"... (7 Replies)
Hi,
I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8
With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8".
Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
I'm trying to virtualize an instance of SCO Open Server 5.0.2c in VirtualBox (called VM- A) , I can not configure the network (NIC).
The NIC I'm using is PCnet -FAST III (Am79C973 ) (this NIC works with VirtualBox + SCO 5.0.5M)
When I add from ' Add new LAN adapter' I detects the NIC... (2 Replies)
Discussion started by: flako
2 Replies
LEARN ABOUT LINUX
locale
LOCALE(1) Debian GNU/Linux LOCALE(1)NAME
locale - Get locale-specific information.
SYNOPSIS
locale [ -a | -m]
locale [ -ck ] name...
DESCRIPTION
The locale program writes information about the current locale environment, or all locales, to standard output.
When invoked without arguments, locale summarizes the current locale environment for each locale category defined by the LC_* environment
variables.
-a, --all-locales
Write names of available locales.
-m, --charmaps
Write names of available charmaps.
Output Format:
-c, --category-name
Write names of selected categories.
-k, --keyword-name
Write names and values of selected keywords.
ENVIRONMENT VARIABLES
These environment variables affect each locale categories for all locale-aware programs:
LC_CTYPE
Character classification and case conversion.
LC_COLLATE
Collation order.
LC_TIME
Date and time formats.
LC_NUMERIC
Non-monetary numeric formats.
LC_MONETARY
Monetary formats.
LC_MESSAGES
Formats of informative and diagnostic messages and
interactive responses.
LC_PAPER
Paper size.
LC_NAME
Name formats.
LC_ADDRESS
Address formats and location information.
LC_TELEPHONE
Telephone number formats.
LC_MEASUREMENT
Measurement units (Metric or Other).
LC_IDENTIFICATION
Metadata about the locale information.
This environment variable can switch against multiple locale database:
LOCPATH
The directory where locale data is stored. By default, /usr/lib/locale is used.
FILES
/usr/share/i18n/SUPPORTED
List of supported values (and their associated encoding) for the locale name. This representation is recommended over
--all-locales one, due being the system wide supported values.
AUTHOR
locale was written by Ulrich Drepper for the GNU C Library.
This manpage was written by Joel Klecker <espy@debian.org> for the Debian GNU/Linux system, and expanded by Alastair McKinstry <mck-
instry@computer.org>
SEE ALSO locale(5), locale(7), setlocale(3)3rd Berkeley Distribution 2004-12-16 LOCALE(1)