Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Richard B. Gilbert" <rgilbert88@comcast.net>
Subject: Re: RMS internals?
Date: Mon, 10 Aug 2009 09:57:34 -0400	[thread overview]
Message-ID: <1sednbLLk8nJuh3XnZ2dnUVZ_sOdnZ2d@giganews.com> (raw)
In-Reply-To: <CsPw4XYPN3QH@eisner.encompasserve.org>

Bob Koehler wrote:
> In article <h5lckr$8h3$1@naig.caltech.edu>, glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
>> In comp.os.vms Howard S Shubs <howard@shubs.net> wrote:
>> (big snip)
>>  
>>> I suppose we could have done it with two $GETs, yes.  Unfortunately, 
>>> without knowing for sure how the file was being written by FTP, we 
>>> didn't know that.  FTP is saving it as two records, one of 32767 bytes, 
>>> and one of 330 bytes.  I only found that out once I looked at the blocks 
>>> while debugging my routines.  And I can't be sure it'll always work this 
>>> way.  We're using MULTINET.  What if we switch to UCX (unlikely) and it 
>>> does things differently?  I like the idea of having a library around 
>>> which will read any record length, anyway.
>> TCP is a stream protocol, with no record marks.  The resulting
>> file should be independent of anything in the TCP/IP chain.
> 
>    FTP imposes a standard CRLF pair at the end of each line of text,
>    when transfering as a text file.  Of course, TCP doesn't need to
>    know about this.
> 

That's not quite true!  FTP appends the LOCAL LINE TERMINATOR in text 
mode.  Unix destinations get <LF>.  DOS/Windows get <CR><LF>.  I think 
there's something that uses <CR> by itself but I can't recall what it 
is; maybe Apple/Mac.  VMS gets "counted strings".

It's handled on the receiving end.

--
draco vulgaris


  reply	other threads:[~2009-08-10 13:57 UTC|newest]

Thread overview: 105+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07 13:20 RMS internals? Howard S Shubs
2009-08-07 14:04 ` Bob Koehler
2009-08-07 14:09   ` Howard S Shubs
2009-08-07 14:25     ` R.A.Omond
2009-08-07 17:29     ` Graham Burley
2009-08-08 16:07       ` Howard S Shubs
2009-08-07 15:06 ` Malcolm Dunnett
2009-08-07 15:36   ` Richard B. Gilbert
2009-08-07 15:46     ` IanMiller
2009-08-07 17:57       ` JF Mezei
2009-08-08 11:32     ` VAXman-
2009-08-07 17:07   ` Bob Koehler
2009-08-07 18:24     ` Malcolm Dunnett
2009-08-07 21:35     ` P. Sture
2009-08-08 16:16     ` Howard S Shubs
2009-08-08 17:42       ` JF Mezei
2009-08-08 17:57         ` Howard S Shubs
2009-08-10 12:41           ` Bob Koehler
2009-08-10 14:11             ` Howard S Shubs
2009-08-10 14:49               ` Hein, Nashua NH
2009-08-11 15:09                 ` Howard S Shubs
2009-08-11 20:51                   ` Hein, Nashua NH
2009-08-24 15:49                     ` P. Sture
2009-08-10 21:02               ` Bob Koehler
2009-08-11 14:58                 ` Howard S Shubs
2009-08-10 22:34             ` Arne Vajhøj
2009-08-10 22:39               ` Arne Vajhøj
2009-08-11 15:26                 ` Howard S Shubs
2009-08-12  1:06                   ` Arne Vajhøj
2009-08-10 22:43               ` glen herrmannsfeldt
2009-08-10 22:56                 ` Arne Vajhøj
2009-08-11  2:58               ` Richard B. Gilbert
2009-08-11  4:05                 ` glen herrmannsfeldt
2009-08-11 18:02                   ` P. Sture
2009-08-11 13:00                 ` Bob Koehler
2009-08-11 13:36                   ` Richard B. Gilbert
2009-08-11 15:29                     ` Howard S Shubs
2009-08-11 17:17                       ` Richard B. Gilbert
2009-08-12  3:04                         ` Howard S Shubs
2009-08-11 17:04                     ` Bob Koehler
2009-08-12 16:45                     ` Michael Moroney
2009-08-11 18:38                   ` glen herrmannsfeldt
2009-08-11 18:55                     ` Al Kossow
2009-08-11 19:30                       ` Richard B. Gilbert
2009-08-11 19:55                         ` glen herrmannsfeldt
2009-08-11 19:46                       ` glen herrmannsfeldt
2009-08-12 13:40                       ` Bob Koehler
2009-08-12 13:44                       ` Bob Koehler
2009-08-12 13:39                     ` Bob Koehler
2009-08-12 17:55                       ` glen herrmannsfeldt
2009-08-12  1:00                 ` Arne Vajhøj
2009-08-08 17:52       ` Arne Vajhøj
2009-08-08 18:03         ` Howard S Shubs
2009-08-08 18:26           ` Arne Vajhøj
2009-08-08 18:38             ` JF Mezei
2009-08-09  2:14               ` Howard S Shubs
2009-08-09  2:35                 ` glen herrmannsfeldt
2009-08-09  7:11                   ` Howard S Shubs
2009-08-10 12:44                   ` Bob Koehler
2009-08-10 13:57                     ` Richard B. Gilbert [this message]
2009-08-10 18:47                       ` glen herrmannsfeldt
2009-08-10 21:00                       ` Bob Koehler
2009-08-10 18:32                     ` glen herrmannsfeldt
2009-08-10 20:35                       ` Rich Alderson
2009-08-10 21:32                       ` Stefaan A Eeckels
2009-08-09  4:08                 ` JF Mezei
2009-08-09  7:14                   ` Howard S Shubs
2009-08-09 17:21                     ` Michael Moroney
2009-08-10  6:02                       ` Howard S Shubs
2009-08-09  9:23                   ` R.A.Omond
2009-08-10 16:07                     ` P. Sture
2009-08-10 21:04                     ` Bob Koehler
2009-08-09  1:59             ` Howard S Shubs
2009-08-10  2:11               ` Arne Vajhøj
2009-08-10  6:00                 ` Howard S Shubs
2009-08-10 22:33                   ` Arne Vajhøj
2009-08-11 15:13                     ` Howard S Shubs
2009-08-11 17:08                     ` Bob Koehler
2009-08-12  3:18                       ` Howard S Shubs
2009-08-13 16:05                         ` P. Sture
2009-08-14  1:13                           ` Howard S Shubs
2009-08-12 14:21                     ` Bob Koehler
2009-08-10 15:57           ` P. Sture
2009-08-11 15:16             ` Howard S Shubs
2009-08-10 12:38       ` Bob Koehler
2009-08-10 17:10         ` JF Mezei
2009-08-10 21:06           ` Bob Koehler
2009-08-10 22:59           ` Michael Moroney
2009-08-11 15:23             ` Howard S Shubs
2009-08-11 17:12               ` Bob Koehler
2009-08-11 15:22           ` Howard S Shubs
2009-08-10 22:27         ` Arne Vajhøj
2009-08-07 19:28   ` Alan Frisbie
2009-08-08 16:20     ` Howard S Shubs
2009-08-07 21:27   ` P. Sture
2009-08-08 16:08   ` Howard S Shubs
2009-08-09 13:14   ` Hein, Nashua NH
2009-08-09 14:50     ` Hein, Nashua NH
2009-08-09 16:53       ` Howard S Shubs
2009-08-09 17:29         ` Arne Vajhøj
2009-08-10  5:59           ` Howard S Shubs
2009-08-10 22:29             ` Arne Vajhøj
2009-08-11 15:24               ` Howard S Shubs
2009-08-12  1:05                 ` Arne Vajhøj
2009-08-12  3:01                   ` Howard S Shubs
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox