- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: localization HP-UX 11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 12:49 AM
04-23-2003 12:49 AM
My system has a strange behaviour: when LANG is set to LANG=fr_FR.iso8859, the answers waited by the prompt are never accepted (french or english).
when it is set to LANG=en_US.iso88591 then the answers accepted are only french and not english .
I suppose there is another environment variable to set to get the proper language for the terminal dialog.
For example if I want to remove a file with american set LANG, then the prompt asks remove file.gz? and i have to answer : oui (yes in french) to get the file removed...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:15 AM
04-23-2003 02:15 AM
Re: localization HP-UX 11
check for all environment variables LC_*.
One of them might be set wrongly.
$ env | grep ^LC_
should get you all the variables and their values.
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:24 AM
04-23-2003 02:24 AM
Re: localization HP-UX 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:33 AM
04-23-2003 02:33 AM
Re: localization HP-UX 11
Can you paste out output of the following command, here -
# env
also paste out contents of /etc/rc.config.d/LANG
- ramd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 02:39 AM
04-23-2003 02:39 AM
Re: localization HP-UX 11
PWD=/home/hector
TZ=MET-1METDST
ORACLE_SID=ISIM
SHLIB_PATH=lib
LDOPTS= +s +blib
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/upgrade/share/man/%L:/opt/upgrade/share/man:/usr/dt/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:/opt/samba/man://opt/perl/man:/opt/resmon/share/man:/opt/pred/share/man/%L:/opt/pred/share/man:/opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/ots/man:/opt/OV/man:/opt/aCC/share/man/%L:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/perf/man/%L:/opt/perf/man:/opt/OV/man/itose/%L:/opt/OV/man/itose:/opt/aCC/share/man
PS1=hector@hpisim:$PWD>
USER=hector
ERASE=^H
MAIL=/var/spool/mail/hector
OLDPWD=/home/hector/gen.refPerf/gen.sl
EDITOR=vi
LANG=en_US.iso88591
ORACLE_HOME=/ora/ora9i
SSH_CLIENT=192.168.11.94 1260 22
LOGNAME=hector
SHLVL=1
SHELL=/usr/local/bin/bash
CVSROOT=:pserver:tango@jupiter.lusis:/home/cvs
HOME=/home/hector
TERM=vt100
SSH_AUTH_SOCK=/tmp/ssh-fAsOl449/agent.449
PATH=../bin:/opt/fileutils/bin:/usr/sbin:../bin:/opt/fileutils/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/local/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/perl/bin:/opt/resmon/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/hparray/bin:/opt/ots/bin:/opt/ots/lbin:/opt/aCC/bin:/opt/langtools/bin:/opt/perf/bin:/opt/OV/bin/OpC:/ora/ora9i/bin:.:/sbin:/home/TANGO/bin:.:/sbin:/home/TANGO/bin
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P9
PRODUCT=..
SSH_TTY=/dev/pts/0
_=/usr/bin/env
hector@hpisim:/home/hector>more /etc/rc.config.d/LANG
#!/sbin/sh
# @(#) $Revision: 78.1 $
# Language preference. See lang(5), hpnls(5)
#
# LANG: Locale name
#
# Note: if using the default C locale, many commands will execute faster if
# LANG is not set.
#
#LANG=C
#export LANG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 05:01 AM
04-23-2003 05:01 AM
Re: localization HP-UX 11
Obviously there's some problem with the environment variables or with the binaries. Can you check if the commands you are running are from their relevant directories?
like rm should be present at /usr/bin.
Also try this -
unset LANG
unset LC_ALL
run rm -i now.
when i set LANG to fr_FR.iso88591 and run rm -i, it prompts me with the following question -
# rm -i abc
abc: ? (o/n)
I wonder what could really be wrong? I am blind right now.. :)
Can you try running tusc on the rm command and seeing what the system calls it makes are... that may help - although it could be overkill.
sometimes logout and login may help. try that out.. if you are really interested in the internals, you may try the tusc method.
does your shell have a native language set?
- ramd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 05:15 AM
04-23-2003 05:15 AM
SolutionHello,
I suggest you check if you have an alias
or a script called rm.
Try to run the rm command as follows:
/usr/bin/rm -i
Also check the output of the this command:
file /usr/bin/rm
It should say:
PA-RISC1.1 shared executable dynamically linked
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2003 06:10 AM
04-23-2003 06:10 AM
Re: localization HP-UX 11
I checked the commnand with:
"which rm"
In fact I am using :
/opt/fileutils/bin/rm, cp ln
which behave curiously on my system...