How to translate character and font sets ?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to translate character and font sets ?
# 1  
Old 03-26-2009
How to translate character and font sets ?

Hi,

below is an example of dialog script from the net, I would like to run
from a command line in putty terminal opened session.
The issue is some characters get replaced by dots.

Could you advise me a solution to edit the following string into
window character set accepted by putty ?

I can make a selection in putty configuration
Window / translation / character set.

Unfortunately I don't know which one should I select.
In the following example characters replaced by putty into dots
come from Verdana character set.

Do I need any special tool ?

To see the problem, please copy & paste the below string into putty terminal command line.

Jack





dialog -yesno “Are you learning anything from this blog” 5 50 && echo “Yes, thanks Owen.” || echo “No, Write some better Linux Related Posts”
# 2  
Old 03-26-2009
1. Select from Web
2. Copy to Notepad. Select the (") character in the dialog command (which looks same but is actually different from the usual double quote). Edit->Replace-> paste this character in "Find What" and then type an actual double quote in "Replace with".
3. Do the same for the (-) looking character in front of "yesno" with an actual dash.
4. Copy from Notepad and paste into Putty.

OR

You can simply use your eyes to read and fingers to type into putty the old fashioned way Smilie
# 3  
Old 03-27-2009
Quote:
Originally Posted by rikxik
1. Select from Web
2. Copy to Notepad. Select the (") character in the dialog command (which looks same but is actually different from the usual double quote). Edit->Replace-> paste this character in "Find What" and then type an actual double quote in "Replace with".
3. Do the same for the (-) looking character in front of "yesno" with an actual dash.
4. Copy from Notepad and paste into Putty.

OR

You can simply use your eyes to read and fingers to type into putty the old fashioned way Smilie
Thanks again my dear friend.
As dialog examples come from the net, I still expect for a script solution for a number of examples from the net.
In the above example, one issue is font, another is a character.
For 10-20 examples it takes to much time for manual edition of each .

Any idea for a working script ?
Jack
as more examples to come for tests , as I need to learn dialog
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Use of tr command to translate after 1st character of each line in a file

Hello, I have an input file contaning following data: < 12345;5454;77;qwert< yuyuy;ruwuriwru> yyyw; > 35353;68686;424242;hrjwhrwrwy< dgdgd; I have first character as '<' or '>'and after that one space is their in each line I just want to replace 1st space encountered after < or >... (3 Replies)
Discussion started by: abhi001cse
3 Replies

2. UNIX for Advanced & Expert Users

sets the remote server's name

Hi all, does any one have any idea on how to sets the remote server's name on ubuntu terminal tabs, without making any changes to the remote server? for example if i'm working on ssh root@test1 i would like it to be shown on the tittle's tab and if i connect on another it would do the same... (7 Replies)
Discussion started by: charli1
7 Replies

3. Shell Programming and Scripting

differentiating two sets for filenames????

set 1 ./abc@@/main/61 ./def.cpp@@/main/13 ./fgh.cpp@@/main/16 ./ijk.cpp@@/main/12 ./mln.cpp@@/main/9 ./uvw.cpp@@/main/30 set2 ./eww@@/main/61 ./def.cpp@@/main/13 ./xxx.cpp@@/main/26 ./kkk.cpp@@/main/72 ./qqq.cpp@@/main/19 ./fgh.cpp@@/main/16 I have two sets with filenames in... (13 Replies)
Discussion started by: skyineyes
13 Replies

4. Shell Programming and Scripting

differentiating two sets

Hi Suppose i have a set of files like this set1 a.cpp@@main/5 b.cpp@@main/6 set 2 m.cpp@@main/51 n.hpp@@main/51 a.cpp@@main/15 b.cpp@@main/2 there may be files with same name in 2 sets. i need to list the files in set1 which have last numeric field less than the same file in... (15 Replies)
Discussion started by: skyineyes
15 Replies

5. Virtualization and Cloud Computing

Clouds (Partially Order Sets) - Streams (Linearly Ordered Sets) - Part 2

timbass Sat, 28 Jul 2007 10:07:53 +0000 Originally posted in Yahoo! CEP-Interest Here is my follow-up note on posets (partially ordered sets) and tosets (totally or linearly ordered sets) as background set theory for event processing, and in particular CEP and ESP. In my last note, we... (0 Replies)
Discussion started by: Linux Bot
0 Replies

6. AIX

IP Security file sets

hello, we are implementing ip security on several of our aix 5.2-09 boxes and i am unable to locate the prerequisite file sets. does anyone know where i can find these? i have the original 5.2 cd's but these file sets are not on any of the cd's. Any thoughts or suggestions? (3 Replies)
Discussion started by: zuessh
3 Replies

7. Shell Programming and Scripting

Character Sets

Hi I was just wondering if there was a way in which i could find out the character set used in a file in HP-UX. ie Whether it is Unicode, UTF-8,ascii etc. Regards (3 Replies)
Discussion started by: PradeepRed
3 Replies

8. UNIX for Advanced & Expert Users

Character set for Symbol.pfa font

Hi, I want to know about the characters that are available in the Symbol.pfa font file. I am using freetype library to render the fonts in Windows. What encoding should I provide to get all the symbols in the Symbol font file? It would be very helpful if i get all the characters in this... (0 Replies)
Discussion started by: pushpagiri
0 Replies
Login or Register to Ask a Question