Unix vi editor


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Unix vi editor
# 1  
Old 11-03-2004
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
# 2  
Old 11-17-2004
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.
# 3  
Old 11-17-2004
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
# 4  
Old 11-18-2004
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.
# 5  
Old 11-18-2004
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
# 6  
Old 12-14-2004
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
# 7  
Old 03-04-2005
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

What is Your Favorite Editor for Linux and UNIX? | A Video in 1080 HD

We have asked UNIX.com users over the years what is their favorite editor and why. Here is the top three answers. Here is a new YT video on this question: What Editor Does Everyone Use? https://youtu.be/gqE8RTZZt9g Of course, vi was the overwhelming favorite. Credits: 1080 HD... (3 Replies)
Discussion started by: Neo
3 Replies

2. Homework & Coursework Questions

Vi editor in UNIX hwk HELP!!

i need help with this homework. PLEASE Assignment: Create a directory "preFinal" in your home directory. Create empty files "a", "b", "c", etc in directory preFinal in the amount that match the number of directories preFinal* This the code i have within Vi editor. But it is not working all... (3 Replies)
Discussion started by: bcute92
3 Replies

3. UNIX for Dummies Questions & Answers

Vi editor will not open new to UNIX. help please.

vi: syntax error at line 1: `)' unexpected when I try to vi into the /etc/vfstab, the return gives me the above error. how can resolve this so that I can have access into vi. (6 Replies)
Discussion started by: dovestar
6 Replies

4. HP-UX

UNIX VI editor equivalent of LINUX

Hi All, I am comfortable working in LINUX and need equivalents for HP-UX for below mentioned, 1. We use TAB key to expand/reveal a name in LINUX. Is there any way to make this work for UNIX, where it is double escape. 2. Also can we use make use of left,down,up,right keys instead... (3 Replies)
Discussion started by: pradebban
3 Replies

5. Shell Programming and Scripting

Copy from vi Editor ( unix ) to windows

How to copy the complete content from a file in vi Editor to windows ( notepad ). I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies

6. UNIX for Dummies Questions & Answers

Any better text editor for unix?

Do you know any text editor (other than Gvim, which I am using) which is made specially for c type languages? The reason I ask for it is: I just spent 3 hours trying to find out start "if" and its end "if end".:wall: I hope there is an editor which can link each if with its closing endif . (4 Replies)
Discussion started by: animesharma
4 Replies

7. Shell Programming and Scripting

VI Editor - question for unix gurus !!

I have created a dummy file -demo.txt On my machine-A (oslevel-5300-08) I can display the file content in HEX format through VI editor using :%!xxd but on other machine-B (oslevel - 5300-06) , I get error as "sh: xxd: not found." machine-A: $ cat demo.txt Hello World ! I can display... (7 Replies)
Discussion started by: Rahulpict
7 Replies

8. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

9. Shell Programming and Scripting

Using Unix screen cmd effecting Vi editor

Hello, I enjoy using the unix screen utility, but my vi sessions lose the ability to syntax highlight code and split screen(:vs or :sp). When not using screen, I can do those things within vi. Anybody experience this and know the fix? Thanks (1 Reply)
Discussion started by: geephei
1 Replies

10. Shell Programming and Scripting

how to make VI editor show colors in Unix

Hi, I saw some people's vi editor show different colors on the text according the nature of text when using it. It would be nice if I can see diffrerent colors with my vi editor. Do anybody know how to set it up? I use PowerTermPro program to access unix machine. I tried to use vim editor but... (7 Replies)
Discussion started by: whatisthis
7 Replies
Login or Register to Ask a Question