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
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
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
5. UNIX for Dummies Questions & Answers
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
6. Shell Programming and Scripting
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
7. HP-UX
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
8. UNIX for Dummies Questions & Answers
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
9. Homework & Coursework Questions
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
10. What is on Your Mind?
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
LEARN ABOUT CENTOS
globjectlabel
GLOBJECTLABEL(3G) OpenGL Manual GLOBJECTLABEL(3G)
NAME
glObjectLabel - label a named object identified within a namespace
C SPECIFICATION
void glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const char * label);
PARAMETERS
identifier
The namespace from which the name of the object is allocated.
name
The name of the object to label.
length
The length of the label to be used for the object.
label
The address of a string containing the label to assign to the object.
DESCRIPTION
glObjectLabel labels the object identified by name within the namespace given by identifier. identifier must be one of GL_BUFFER,
GL_SHADER, GL_PROGRAM, GL_VERTEX_ARRAY, GL_QUERY, GL_PROGRAM_PIPELINE, GL_TRANSFORM_FEEDBACK, GL_SAMPLER, GL_TEXTURE, GL_RENDERBUFFER,
GL_FRAMEBUFFER, to indicate the namespace containing the names of buffers, shaders, programs, vertex array objects, query objects, program
pipelines, transform feedback objects, samplers, textures, renderbuffers and frame buffers, respectively.
label is the address of a string that will be used to label an object. length contains the number of characters in label. If length is
negative, it is implied that label contains a null-terminated string. If label is NULL, any debug label is effectively removed from the
object.
ERRORS
GL_INVALID_ENUM is generated if identifier is not one of the accepted object types.
GL_INVALID_OPERATION is generated if name is not the name of an existing object of the type specified by identifier.
GL_INVALID_VALUE is generated if the number of characters in label, excluding the null terminator when length is negative, is greater than
the value of GL_MAX_LABEL_LENGTH.
ASSOCIATED GETS
glGet() with argument GL_MAX_LABEL_LENGTH.
SEE ALSO
glPushDebugGroup(), glPopDebugGroup(), glObjectPtrLabel().
COPYRIGHT
Copyright (C) 2012 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLOBJECTLABEL(3G)