Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

echo "\\0315" problem !!

Status
Not open for further replies.

freggel

Technical User
Dec 26, 2002
6
0
0
NL
At my work they use a script on openserver 5.0.
This script contains this line:

echo "\\0315\\0315\\0315 etc etc etc

when executed it prints the following on the screen

=====================

But when i try to do this at home (i also use openserver 5.0)

it don't get the ===== but IIIIIIIII

Why does the same script prints different output on my screen??
Do i use the wrong international-set? or wrong ascii-set??


tnx Frank
 
Exactly, you are using a different character set.

If you are on the console then check out
/etc/default/mapchan

Otherwise check you terminal emulation pkg.
 
If you are using a VT220 compatible terminal (many of them) consider using VT line drawing character set instead perhaps:

[tt]echo `tput smacs`qqqqqq`tput rmacs`[/tt]

Use as many 'q's as you need. On 'scoansi' terminals use 'D's instead. Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top