The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
missing binary operator before token "(" mannam srinivas Linux 4 08-07-2008 06:43 AM
perl split funciton - special character "/" deepakwins UNIX for Dummies Questions & Answers 5 02-08-2008 12:19 AM
Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" Lokesha UNIX for Dummies Questions & Answers 4 12-20-2007 01:52 AM
deleting newline characters but not the "true" \n character caddyjoe77 Shell Programming and Scripting 1 08-15-2007 10:21 PM
SuSe Linux: graphics file "(hd0,8)/boot/message" missing mahatma SuSE 3 10-19-2006 10:29 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-04-2008
d9832834 d9832834 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
Solaris OS (missing character " ¤ ")

Hi All, i have problem displaying special character '¤' on unix prompt on solaris OS.

Whenever i tried to cut and paste the ¤ character into unix prompt, it changed to '$' character.

Please advice what could be the cause.

Thanks in advance.
  #2 (permalink)  
Old 10-04-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Sounds like you are cutting it from an 8-bit ISO-8859-1 environment and pasting it into a 7-bit US-ASCII environment. If you are using bash it has a flag to not strip the 8th bit from input commands (readline directives convert-meta, input-meta, and output-meta) but I would have guessed it would default to 8-bit-clean operation in this day and age.
  #3 (permalink)  
Old 10-04-2008
d9832834 d9832834 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
Hello, thanks for your reply.

May i know if there is any unix environment can be set to allow display of the special character ? or any unix config file to be changed ?

We have this problem for long time and until now, there is no solution yet.

Please advice.

Thanks in advance.
  #4 (permalink)  
Old 10-05-2008
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,383
What terminal emulator are you using ?
It needs to be configured to use a character set that supports that specific non ASCII character. Then your tty must not strip the eitht bit and finally your shell must not do the same as era already stated.
  #5 (permalink)  
Old 10-05-2008
d9832834 d9832834 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
Hi jlliagre, i am using putty terminal client. In fact, we have 2 servers here, one server can display the special character properly without any problem, but the other server not able to display it and it translate into $ sign.

Both server are using same SHELL which is SH SHELL. I tried to changed to BASH but under BASH SHELL, the special character will translate into empty space.

Please advice.
  #6 (permalink)  
Old 10-05-2008
d9832834 d9832834 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
Sorry, under BASH shell, i am able to display that special char.

$ env|grep SHELL
SHELL=/sbin/sh
$ bash
bash-3.00$ set colsep ¤

But under normal sh SHELL, the following is the output :

bash-3.00$ sh
$ set colsep $

The special char ¤ converted into $ under SH shell.

Please advice how to workaround this if we want it to work under SH shell.

Thanks in advance.
  #7 (permalink)  
Old 10-05-2008
d9832834 d9832834 is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 5
Btw, how can we know what characterset the OS is currently using ?

I am using same putty terminal client to connect to both the servers, one server can display special character and the other cannot.

Both the servers are using SH shell.

Could it be the characterset / locale different ?

I am not so familiar with unix. Pls help..

Thanks in advance.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0