04-03-2012
I got it to work...I changed the mode to binary and it worked(duh!)
Thanks for the reply guys!
These 2 Users Gave Thanks to venky338 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey guys,
I am working on my shell scripts in wordpad in windows. Then, I upload it to my unix using psftp, but when I open those files with "vi" in Unix, there are all these "^M" characters in the file. Would anyone of you have a clue as to why?
Help would be appreciated.
Thanks,
Laud (4 Replies)
Discussion started by: Laud12345
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
Please find the Question Summary below-
In our email template document(.txt) bullets and Apostrophe are getting replaced by the string "£" in our Live environment.We are using sun solaris 8 in live.
Can anybody let me know why this happens and how to prevent this .
Thanks... (0 Replies)
Discussion started by: kaushik05
0 Replies
3. UNIX for Dummies Questions & Answers
We have a unix file that contains special characters (ie. Ñ, °, É, ¿ , £ , ø ). When I try to read this file I get a codepage error and the characters are replaced by the # symbol. How do I keep the special characters from being read?
Thanks.
Ryan (3 Replies)
Discussion started by: Ryan2786
3 Replies
4. UNIX for Dummies Questions & Answers
need some advice on the following situation.
I have a DB2 table which has a varchar Column. This varchar column can have special characters like ©, ®, ™ .
When I extract from this table to a sequential file for this varchar column I am only able to get © and ® .
To Get the ™... (1 Reply)
Discussion started by: cosec
1 Replies
5. Shell Programming and Scripting
Hi,
I am creating a script to do a find and replace single/multiple lines in a file with any number of lines.
I have written a logic in a script that reads a reference file say "findrep" and populates two variables $FIND and $REPLACE
print $FIND gives
Hi How r $u
Rahul()
Note:... (0 Replies)
Discussion started by: r_sarnayak
0 Replies
6. Shell Programming and Scripting
Hi,
i am trying to automate an ftp script which is as below.But my user id has special characters(aaa\$ifg). So it is not working correctly.Can anyone help on this?I tried providing both of them in double & singe quoted. But somehow it is not picking the "\". Also tried keeping \ before the... (3 Replies)
Discussion started by: aeroticman
3 Replies
7. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
8. Shell Programming and Scripting
Any time I do :
ls *.txt > mytext.txt
I get something like this in the output file:
^
Tue Jan 22 16:19:19 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
t1Fam_BrOv :~>alias | grep ls
alias l.='ls -d .* --color=tty'
alias lR='ls -R'
alias la='ls -Al'
alias lc='ls -ltcr'
alias ldd='ls -ltr |... (5 Replies)
Discussion started by: genehunter
5 Replies
9. Shell Programming and Scripting
Trying to run this command:
find /Volumes/Archive/ -type f -name "Icon"
and get
/Volumes/Archive//New Business and Marketing/2010 /Creative/Image Library/Stuff for Sean/Cafe Heineken/logo_Café Heineken_03.jpg: No such file or directory
due to the accent on the filename. Is there a way around... (2 Replies)
Discussion started by: kostas123334
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I have a file in unix with 15 columns.It consists special characters(#,$,^M,@,*,% etc)at the end of the each record.I want to remove these special characters.I used the following:
Sed -e 's/ /g;s/ */ /g'
. But It is removing special characters exists everywhere in the file(begining,middle... (24 Replies)
Discussion started by: rakeshp
24 Replies
LEARN ABOUT CENTOS
xcb_glx_render_mode
xcb_glx_render_mode(3) XCB Requests xcb_glx_render_mode(3)
NAME
xcb_glx_render_mode -
SYNOPSIS
#include <xcb/glx.h>
Request function
xcb_glx_render_mode_cookie_t xcb_glx_render_mode(xcb_connection_t *conn, xcb_glx_context_tag_t context_tag, uint32_t mode);
Reply datastructure
typedef struct xcb_glx_render_mode_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t ret_val;
uint32_t n;
uint32_t new_mode;
uint8_t pad1[12];
} xcb_glx_render_mode_reply_t;
Reply function
xcb_glx_render_mode_reply_t *xcb_glx_render_mode_reply(xcb_connection_t *conn, xcb_glx_render_mode_cookie_t cookie,
xcb_generic_error_t **e);
Reply accessors
uint32_t *xcb_glx_render_mode_data(const xcb_glx_render_mode_request_t *reply);
int xcb_glx_render_mode_data_length(const xcb_glx_render_mode_reply_t *reply);
xcb_generic_iterator_t xcb_glx_render_mode_data_end(const xcb_glx_render_mode_reply_t *reply);
REQUEST ARGUMENTS
conn The XCB connection to X11.
context_tag
TODO: NOT YET DOCUMENTED.
mode TODO: NOT YET DOCUMENTED.
REPLY FIELDS
response_type
The type of this reply, in this case XCB_GLX_RENDER_MODE. This field is also present in the xcb_generic_reply_t and can be used
to tell replies apart from each other.
sequence The sequence number of the last request processed by the X11 server.
length The length of the reply, in words (a word is 4 bytes).
ret_val TODO: NOT YET DOCUMENTED.
n TODO: NOT YET DOCUMENTED.
new_mode TODO: NOT YET DOCUMENTED.
DESCRIPTION
RETURN VALUE
Returns an xcb_glx_render_mode_cookie_t. Errors have to be handled when calling the reply function xcb_glx_render_mode_reply.
If you want to handle errors in the event loop instead, use xcb_glx_render_mode_unchecked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO
AUTHOR
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_glx_render_mode(3)