Re: [Quickfix-developers] There is no space(SOH) between the fields.
Brought to you by:
orenmnero
|
From: <Zol...@ss...> - 2007-03-02 18:48:05
|
Hi Bin,
I am not sure if anyone got back to you on this. Since <SOH> is not a
visible character, most *nix utilities do not display it. Often Windows
based Text editors, automatically replace them with some visible character.
Something that works well in *nix is to pipe the file to tr which is a
translating utility. Often <SOH> is replaced by the pipe character in
printed FIX messages. Since this has a special meaning in *nix it has to
be escaped. Here is the syntax I used to use to view FIX logs in *nix.
tail <logfile> | tr \\001 \|
This basically says to display the last 10 lines of the logfile but replace
the <SOH> (001) charachter with a "|" (124).
Hope this helps.
Zoltan
Bin Fang
<bfang711@gmail.c
om> To
Sent by: qui...@li...
quickfix-develope ge.net
rs-bounces@lists. cc
sourceforge.net
Subject
[Quickfix-developers] There is no
03/01/2007 11:48 space(SOH) between the fields.
PM
QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html
Hi everyone,
I am a new one over here. A very quick question on the output of the
messages.
I use quickfix running on my linux server(Fedora Core 2). however I
usually like to use SSH to remote access that server from my windows
PC through Putty.
Here is one output message I copied from Putty. As you see, there is
no space (SOH ASCII 0x01) shown between each pair of fields, which
makes reading very uncomfortable.
(8=FIX.
4.29=7135=A34=221249=KEPL52=20070228-22:45:01.33156=ULBRIDGE98=0108=1201
0=054)
I also tried to use another redhat Linux machine to SSH remote access
the server using Redhat's Terminal. This time, the spaces (SOH) are
output, like the following.
(8=FIX.4.2 9=71 35=A 34=2212 49=KEPL 52=20070228-22:45:01.331
56=ULBRIDGE 98=0 108=120 10=054)
I wonder if anyone ever met this problem before. Since I really would
like Putty on Windows can show the spaces(SOH), if anyone knows why,
please let me know.
thank you so much.
Bin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Quickfix-developers mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
|