If you read 56 bits you will be reading 8 "bytes" in 7-bit mode.
But you will also be reading 7 "bytes" in 8-bit mode.
So by reading 7 "Ascii characters" at a time out of your stream/file, you
should be able to re-chunk them into 8 characters by prepending a bit 0 on
the front of each 7-bit byte
This sounds like a job for a quick perl routine.
Read the file in byte by byte, and AND it with 127, then write it
out byte by byte to a new file.
George
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of fft
In a message dated 11/10/2010 4:55:04 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes:
> This sounds like a job for a quick perl routine.
> Read the file in byte by byte, and AND it with 127, then write it
>out byte by byte to a new file.
>
> George
>
No George this will not wo
I understand the 7 bit method your talking about. But if you can
see the values in Vt100 term type, it's only stripping off the
8th bit? vs pushing the 8th bit to the front of the next byte?
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@list
In a message dated 11/10/2010 5:03:26 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes:
> I understand the 7 bit method your talking about. But if you can
> see the values in Vt100 term type, it's only stripping off the
> 8th bit? vs pushing the 8th bit to the front of the next byte?
>
In a message dated 11/10/2010 5:03:26 AM Pacific Standard Time,
ggal...@wyanokegroup.com writes:
> I understand the 7 bit method your talking about. But if you can
> see the values in Vt100 term type, it's only stripping off the
> 8th bit? vs pushing the 8th bit to the front of the next byte?
>
There are a number of differences between running Unidata on Unix vs.
Windows. Performance and everything else as stated not withstanding, one of
the gotchas that always seems to surprise people is that on Unidata on Unix
if you have a DIR-type file you can write records into it with a "*" in the
It's been a L time since I worked with this kind of stuff, so if
this is a silly idea, just say "Nope...these aren't the droids you're looking
for". :-)
Could you treat the file as a tape, and make use of READT?
Drew thinkingoutsidetheboxbeforelunchisabadidea Henderson ;-)
-Ori
I have converted a number of Universe applications from various flavors
of Unix/Linux to Windows (and vice versa) and each one presented its own
challenges, but in general:
Use uvbackup/uvrestore to do the actual transfer of the application.
This takes care of all the big vs little endian insa