The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using Unix screen cmd effecting Vi editor geephei Shell Programming and Scripting 1 02-22-2008 01:09 AM
how to make VI editor show colors in Unix whatisthis Shell Programming and Scripting 7 05-26-2006 10:57 PM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 2 12-12-2005 07:53 AM
Vi Editor juxtaman UNIX for Advanced & Expert Users 4 09-25-2002 08:40 PM
vi editor sskb UNIX for Dummies Questions & Answers 9 12-06-2001 01:09 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2004
Registered User
 

Join Date: Sep 2004
Posts: 13
Unix vi editor

Dear All,

Is there a way to handle special french, spanish character is vi editor (Sun Solaris 8). Foll. is a label in notepad (windows),
Cliquez ici pour revenir Ã_ la recherche de l'hôtel

this label is stored in a text file, when i tranfer this file to unix using ftp (tried both ansi & bin mode),
the label gets converted to

Cliquez ici pour revenir \205 la recherche de l'h\223tel

I use this label to insert into my table. As a result of the special characters my insert clause fails. Is there any settings i need to do so that i can handle these characters.
Thanks in advance.

Regards,

Lloyd
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-17-2004
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
Works fine on my Solaris 8 machine. Perhaps your font doesn't support those characters so they are not being displayed properly? The file itself should have no problem containing those characters.
Reply With Quote
  #3 (permalink)  
Old 11-17-2004
Registered User
 

Join Date: Sep 2004
Posts: 13
Hi,
Thanks for your reply, I use a telnet session to connect to solaris, how do we set the fonts to handle this. There are only 2 fonts in the properties. How can we add new fonts. Appreciate your reply.

Regards,

lloyd
Reply With Quote
  #4 (permalink)  
Old 11-18-2004
Registered User
 

Join Date: Sep 2000
Posts: 70
maybe somethign like export TERM=VT350 could makes it possible that the way that the system knows how to send non default text to your telnet session.

Never tried it for that myself mostly used it for wrong layout of screens in telnet.
Reply With Quote
  #5 (permalink)  
Old 11-18-2004
Registered User
 

Join Date: Sep 2004
Posts: 13
Hi Jurrien,

I tried to set TERM=VT350 but when i run the tool to load the data into database, i get an error "This terminal is not supported by the system". My DB is Informix.

Regards,

lloyd
Reply With Quote
  #6 (permalink)  
Old 12-14-2004
Registered User
 

Join Date: Dec 2004
Location: New Jersey
Posts: 24
character conversion

Lloyd,

Have you tried iconv? You can convert character sets prior to ftping them.

Also, I use vim in a graphical terminal. I can change the keyboard on the fly to change from English, French and German keyboards. (I'm not sure this would work from a console terminal with vi.)

-hope this helps
Reply With Quote
  #7 (permalink)  
Old 03-04-2005
Registered User
 

Join Date: Dec 2004
Location: Holland
Posts: 5
Hi,
Had two idees here,
- You could try putty witch is a telnet/terminal/schel program free to all. It supports al different types of terminal connections
- You could also try to connect to your system trough an X-windows program like exceed.
In both cases you will be able to set the window front.
you can download putty:
http://www.chiark.greenend.org.uk/~s...y/download.htm
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0