Jump to content
 English      
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
     Forums advanced search
HP.com Home
IT Resource Center Forums > Tru64 UNIX > system administration

French Characters in Login Banner

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: French Characters in Login Banner      Add to my favorites
Sally Devine
Feb 20, 2004 11:30:45 GMT   

Hi all,

I have to set up a login banner on our UNIX systems. However, being in Canada, the banner has to be English and French.

Does anyone know how to get french characters on the screen and how to create them in the /etc/motd using vi?

TIA,
sd
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Joris Denayer Expert in this area This member has accumulated 500 or more points
Feb 20, 2004 12:35:56 GMT    Unassigned

Hi,

I started a terminal session an my PC.
then
Start --> All Programs -> Accesoires -> System Tools --> Character Map

You get than the complete ISO-Latin set.
Now it is rather easy to copy/paste accentuated characters in the session.

Of course, if you have a FRENCH Azert keyboard, it should be easier.

Joris
Sally Devine
Feb 20, 2004 13:19:51 GMT    N/A: Question Author

That didn't work for me. It just showed all the special characters as squares. Thanks for the response though.

sd
Joris Denayer Expert in this area This member has accumulated 500 or more points
Feb 20, 2004 13:38:29 GMT    Unassigned Attachement is 67168.null 

When do you see these squares ?
When you edit with vi ?
When you do cat /etc/motd ?

Can you post a file with accentuated chars ?

Your terminal must support ISO-LATIN or ISO8859/1.

I attached a file containing accentuated characters. Check what this prouces on your screen.
This is the content : éèçæêë
Sally Devine
Feb 20, 2004 13:44:02 GMT    N/A: Question Author

I created the file on my Windows machine as you stated with the Character Map utility. Then I just pasted it into a file on the unix box. When I did a cat of the file there were just squares where the special characters should have been.

I can see your characters that you typed because I am using the internet and this forum from my windows system. The characters that I cannot see are on the unix system.

sd
Joris Denayer Expert in this area This member has accumulated 500 or more points
Feb 20, 2004 13:48:21 GMT    Unassigned

Did you copy the attached file on your unix system ?
Michael Schulte zur Surlage This member has accumulated 7500 or more points
Feb 21, 2004 17:03:59 GMT    Unassigned

Hi,
what os do you have? Have you installed the additional french language set in Tru Unix?

Michael
Joris Denayer Expert in this area This member has accumulated 500 or more points
Feb 22, 2004 10:15:15 GMT    Unassigned

Michael,

It is not necessary to install something special to visualize french characters.

Something I forgot to mention previously. In your stty-settings, you must verify that you use the full 8 bits.
# stty -a must give cs8 among other values.
If not, give following command
# stty cs8

I attached a file that contains a small subset of these accentuated characters.
It contains the hex-values as defined in iso8859/1. (man iso8859-1 will help)

E0 SMALL LETTER a WITH GRAVE ACCENT
E1 SMALL LETTER a WITH ACUTE ACCENT
E2 SMALL LETTER a WITH CIRCUMFLEX ACCENT
E3 SMALL LETTER a WITH TILDE
E4 SMALL LETTER a WITH DIAERSIS
E5 SMALL LETTER a WITH RING ABOVE
E6 SMALL DIPHTHONG a WITH e
E7 SMALL LETTER c WITH CEDILLA
E8 SMALL LETTER e WITH GRAVE ACCENT
E9 SMALL LETTER e WITH ACUTE ACCENT
EA SMALL LETTER e WITH CIRCUMFLEX ACCENT
EB SMALL LETTER e WITH DIAERSIS
EC SMALL LETTER i WITH GRAVE ACCENT
ED SMALL LETTER i WITH ACUTE ACCENT
EE SMALL LETTER i WITH CIRCUMFLEX ACCENT
EF SMALL LETTER i WITH DIAERSIS

If no translation is done, you will see the correct accentuated characters on your terminal session. (dtterm, dxterm, xterm, reflection, kea , putty, ...)

So, if your terminal supports ISO8859/1 (which is an 8bit codeset), it will work fine.
When will it also go wrong ?
If you configure your terminal to work in ASCII with a national variant. Here a very small subset of some french chars are mapped over standard ASCII values. This is completely useless.

Hope this helps.
HP moderator Ralf Puchner Expert in this area This member has accumulated 2500 or more points
Feb 23, 2004 02:20:22 GMT    Unassigned

install the wordwide language kit for french. Have a look into the i18n documentation. Use wwsetup to add additional languages to X11.

After it was installed select "option" "language" "french" on the login screen.
Joris Denayer Expert in this area This member has accumulated 500 or more points
Feb 23, 2004 03:30:19 GMT    Unassigned

Tssk..
On my system, it works fine and following command produces no output.
# setld -i | grep IOS
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2010 Hewlett-Packard Development Company, L.P.