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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extended ASCII characters using VI editor

Status
Not open for further replies.

jay78

IS-IT--Management
Mar 4, 2003
1
US
How can I enter extended ASCII characters(127-255) in a file using the VI editor?

Thanks!
 
I use cut and paste when using a telnet session via Wind-Ohs
Not sure there's any other way !? Dickie Bird (:)-)))
 
Here is one way:
echo "\0247" > /tmp/test

vi file

[ position the cursor where you want the ASCII character]

:r /tmp/test

This will read in the contents of the file, which has the ASCII character.

-jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top