Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Johnny Billquist <bqt@softjar.se>
Subject: Re: QBUS Prototyping
Date: Mon, 18 Apr 2011 08:11:58 -0700	[thread overview]
Message-ID: <iohkc0$kn7$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <fL0rvC78zeBu@eisner.encompasserve.org>

On 2011-04-18 05:52, Bob Koehler wrote:
> In article<hqf13t$e29$1@Iltempo.Update.UU.SE>, Johnny Billquist<bqt@softjar.se>  writes:
>
>> Actually, ftp don't have these problems.
>> ftp was designed to walk around these exact problems. So, ftp deals with
>> records, where each side are free to perform whatever stuff needed to
>> figure out what a record is, how to store and retrieve it, and so on.
>> So for Unix systems, if you transfer in ASCII mode, a record is the data
>> between two LF. The data is sent over, with the FTP definition of record
>> terminator, and the other side then strip of the FTP record terminator,
>> and writes the record to disk, with whatever tricks needed on that
>> system (like adding an LF on a Unix system).
>
>     FTP doesn't really have the concept of records.  It has the concept
>     of text files containing lines of text.  It transfers these via a
>     standard that calls for lines of text to be separated by CRLF pairs.
>     The OS on each end is free to do it's own thing in deciding how to
>     store those lines of text.
>
>     If FTP really had the concept of records, I could transmit a record
>     with a CRLF pair in the middle.  FTP can't handle that idea.  Some
>     OS use conventions that can't handle it, either.

You can, and ftp do. CRLF in the middle of records must be encoded so 
not to be confused with the record terminator. And ftp have a way for 
doing that. Unless I remember wrong, you do (to transfer a CRLF in the 
middle of a record) encode it as CR+NUL+LF. The NUL will be stripped 
away by the receiving side, and the CRLF will be embedded within the record.

>     IMHO, this is better than lines of text separated by a single
>     character, because I can embed a CR or an LF, or any other byte in
>     the line of text, whether the OS at either end can deal with it or
>     not. (It's not FTP's fault if the OS can't handle it).

Right.

>     And in practice, I would not trust any FTP client or FTP server to
>     transmit a line of text containing an embeded null character without
>     first proving to myself that it worked.  Nor would I be particularly
>     comfortable that it was unlikely to break in some future update.

Hmm. I should check this, but I believe ftp also specifies how to handle 
NUL characters correctly.
Of course, you can always find standards breaking software.

>     Well, OK, maybe if I was transfering the text between two systems that
>     implimented STRU VMS.

It should not make a difference.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


  reply	other threads:[~2011-04-18 15:11 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 13:52 QBUS Prototyping Bill Gunshannon
2010-04-08 14:38 ` Scott Dorsey
2010-04-08 14:58 ` Al Kossow
2010-04-08 15:44   ` Bill Gunshannon
2010-04-08 20:46     ` John Wallace
2010-04-08 21:01       ` Bill Gunshannon
2010-04-08 21:58         ` Rob Jarratt
2010-04-08 23:00           ` John Wallace
2010-04-09 11:22             ` David Riley
2010-04-09 18:08           ` Johnny Billquist
2010-04-09 18:22             ` Bill Gunshannon
2010-04-10 19:29               ` Johnny Billquist
2010-04-10 21:05                 ` Bill Gunshannon
2010-04-11  9:50                   ` Johnny Billquist
2010-04-11 14:13                     ` Bill Gunshannon
2010-04-09 19:20             ` glen herrmannsfeldt
2010-04-11 22:08             ` Dennis Boone
2010-04-12 11:41               ` dsnyder
2010-04-12 14:46                 ` Al Kossow
2010-04-13 11:08                   ` dsnyder
2010-04-15 17:27             ` Scott Dorsey
2010-04-15 18:29               ` Al Kossow
2010-04-09 19:14           ` glen herrmannsfeldt
2010-04-09 20:02             ` John Wallace
2010-04-09 20:28               ` David Riley
2010-04-10  1:28               ` glen herrmannsfeldt
2010-04-14 22:28               ` Bob Koehler
2010-04-08 21:59         ` glen herrmannsfeldt
2010-04-08 22:38           ` Bill Gunshannon
2010-04-11 10:16             ` glen herrmannsfeldt
2010-04-11 14:24               ` Bill Gunshannon
2010-04-11 17:10                 ` glen herrmannsfeldt
2010-04-12 21:25                 ` Johnny Billquist
2010-04-12 22:02                   ` John Wallace
2010-04-13  7:34                     ` Johnny Billquist
2010-04-19  2:25                       ` John Santos
2010-04-19 11:50                         ` John Wallace
2010-04-19 10:50                       ` VAXman-
2010-04-24 14:55                         ` Bill Gunshannon
2010-04-12 22:33                   ` glen herrmannsfeldt
2010-04-13  7:53                     ` Johnny Billquist
2010-04-13 12:01                       ` glen herrmannsfeldt
2010-04-16 23:44                         ` Johnny Billquist
2010-04-17  3:15                           ` glen herrmannsfeldt
2010-04-17 21:00                             ` Johnny Billquist
2010-04-18  0:31                               ` glen herrmannsfeldt
2010-04-18 13:23                                 ` Johnny Billquist
2010-04-18 16:58                                   ` glen herrmannsfeldt
2010-04-18 23:02                                     ` Johnny Billquist
2010-04-19  1:39                                       ` glen herrmannsfeldt
2010-04-19 20:22                                         ` Johnny Billquist
2010-04-19 21:27                                           ` glen herrmannsfeldt
2010-04-20 19:36                                           ` Hans Bachner
2010-04-24 15:36                                             ` Steven Schweda
2010-04-25  3:55                                               ` Johnny Billquist
2010-04-25  5:32                                                 ` Steven Schweda
2010-04-25 11:33                                                   ` Johnny Billquist
2010-04-25 12:17                                                     ` glen herrmannsfeldt
2010-04-25 13:31                                                       ` Johnny Billquist
2010-04-25 14:01                                                         ` Steven Schweda
2010-04-25 21:58                                                           ` Johnny Billquist
2010-04-25 13:58                                                     ` Steven Schweda
2010-04-25 21:47                                                       ` Johnny Billquist
2010-04-26 15:40                                                         ` Bob Koehler
2010-04-27  7:37                                                           ` Johnny Billquist
2010-04-27  7:58                                                             ` Bob Eager
2010-04-27 14:56                                                               ` Bob Koehler
2010-04-28  9:06                                                                 ` Johnny Billquist
2010-04-28 12:34                                                                   ` Bob Eager
2010-04-28 14:51                                                                   ` Bob Koehler
2010-04-29  0:18                                                                     ` Johnny Billquist
2010-04-29 15:16                                                                       ` Bob Koehler
2010-04-27 14:53                                                             ` Bob Koehler
2010-04-28  9:11                                                               ` Johnny Billquist
2010-04-28 14:52                                                                 ` Bob Koehler
2010-04-29  0:20                                                                   ` Johnny Billquist
2010-04-29  1:15                                                                     ` Johnny Billquist
2010-04-29  7:01                                                                       ` John Wallace
2010-04-29 11:19                                                                         ` Jerome H. Fine
2010-04-29 18:38                                                                           ` glen herrmannsfeldt
2010-04-29 19:53                                                                             ` Jerome H. Fine
2010-04-29 20:35                                                                               ` glen herrmannsfeldt
2010-04-29 21:43                                                                                 ` Bob Eager
2010-04-30  0:23                                                                                 ` Johnny Billquist
2010-04-30  1:39                                                                                   ` glen herrmannsfeldt
2010-04-30  0:19                                                                               ` Johnny Billquist
2010-04-30 15:04                                                                                 ` Bob Koehler
2010-04-30  0:09                                                                           ` Johnny Billquist
2010-04-30  0:51                                                                             ` Johnny Billquist
2010-04-30  0:58                                                                               ` Johnny Billquist
2010-04-30 11:44                                                                                 ` Jerome H. Fine
2010-04-30 14:59                                                                             ` Bob Koehler
2010-04-30 18:34                                                                               ` glen herrmannsfeldt
2010-04-29 15:19                                                                         ` Bob Koehler
2010-04-30  0:42                                                                           ` Johnny Billquist
2010-04-30  0:04                                                                         ` Johnny Billquist
2010-04-29 15:17                                                                     ` Bob Koehler
2010-04-27 15:43                                                             ` jjh
2010-04-27 16:04                                                               ` Richard B. Gilbert
2010-04-28  9:20                                                                 ` Johnny Billquist
2010-04-28 16:12                                                                   ` Richard B. Gilbert
2010-04-27 22:27                                                               ` Bob Koehler
2010-04-28  9:18                                                               ` Johnny Billquist
2011-04-18 13:00                                                           ` Bob Koehler
2011-04-18 15:06                                                             ` Johnny Billquist
2011-04-18 12:56                                                     ` Bob Koehler
2011-04-18 15:07                                                       ` Johnny Billquist
2011-04-18 17:26                                                         ` Michael Moroney
2011-04-18 17:53                                                           ` Bob Koehler
2011-04-19  3:35                                                           ` Johnny Billquist
2011-04-19 15:34                                                             ` Michael Moroney
2011-04-19 16:47                                                               ` Johnny Billquist
2011-04-18 17:49                                                         ` Bob Koehler
2011-04-19  3:36                                                           ` Johnny Billquist
2011-04-18 12:52                                   ` Bob Koehler
2011-04-18 15:11                                     ` Johnny Billquist [this message]
2011-04-18 17:51                                       ` Bob Koehler
2011-04-19 10:29                                     ` FTP is 40 years old Paul Sture
2010-04-09 14:39         ` QBUS Prototyping Bob Koehler
2010-04-09 16:00           ` Bill Gunshannon
2010-04-09 23:16             ` John E. Malmberg
2010-04-15  6:12           ` Antti Louko
2010-04-15 16:24             ` Run.PDP
2010-04-15 16:46               ` Al Kossow
2010-04-15 17:24                 ` glen herrmannsfeldt
2010-04-15 17:20               ` glen herrmannsfeldt
2010-04-16 23:54                 ` Johnny Billquist
2010-04-16 21:59               ` Bob Koehler
2010-04-16 23:56                 ` Johnny Billquist
2010-04-17  9:24               ` jjh
2010-04-17  9:56                 ` glen herrmannsfeldt
2010-04-17 21:04                   ` Johnny Billquist
2010-04-24 15:54                   ` Bill Gunshannon
2010-04-24 15:52                 ` Bill Gunshannon
2010-04-25  4:00                   ` Johnny Billquist
2010-04-25  6:29                     ` glen herrmannsfeldt
2010-04-25  7:42                       ` Wilm Boerhout
2010-04-25 19:57                         ` Antti Louko
2010-04-25 11:40                       ` Johnny Billquist
2010-04-25 21:47                         ` John Wallace
2010-04-26  0:32                           ` Johnny Billquist
2010-04-15 17:19         ` Scott Dorsey
2010-04-09  1:00       ` Richard
2010-04-09 11:34         ` David Riley
2010-04-09 21:24           ` Richard
2010-04-08 20:18 ` JF Mezei
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