Re: OS QPointer - write native format



On Jan 28, 2:39 pm, "Frank Winans" <fwin...@xxxxxxxxxxxxx> wrote:
<david.sigaf...@xxxxxxxxx> wrote> Linux and HPUX
D3, current release

Is there a way to use OS Qpointer to write out a PICK record IN PICK
format? It always converts to CR format. I have not found anything
in the manuals and guess that I will have to write directly to the
directory. But thought i would check first.

{See the file HOSTS in DM account for legal prefix names}
but I assume you've been testing with D3 file names like unix:/tmp
which does convert attribute marks to linefeeds alias newlines.

Instead try using win:/tmp for example. When I did

copy bp stuff
to: (win:/tmp stuff.bas

then went over to a root login session and did
od -c /tmp/stuff.bas | more
the end of lines showed up ok as octal 376 bytes
[am testing on linux, dunno if od -c is proper in HPUX]

The HOSTS items for 'binary' will by and large fudge your raw data
even more than the others, as they introduce expanded sequences to
shield the D3 verbs from any nasty hex 'ff' bytes in your raw data. This
helpful meddling is reversed when you later do for example
copy md foo
to: (nt_bin:/tmp foo.gif

Using a prefix like this in a qpointer has no magic side effects versus
just typing it as part of the filename at a TCL prompt, by the way.
So if you're only doing a few little commands for this project, don't
bother whipping up a qpointer. Likewise, you should be able to open
"unix:/tmp" as a filename in a databasic program.

In case your monitor isn't very clean, all these prefixes like unix: or win:
or nt_bin: have a trailing colon. There must be no blanks on either side
of the colon -- unix: /tmp or unix :/tmp just will not work.

Thanks to all for the information. This will work great
.