Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #54508

Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)

From Dan Purgert <dan@djph.net>
Newsgroups alt.os.linux
Subject Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.)
Date 2019-03-20 10:17 +0000
Organization A noiseless patient Spider
Message-ID <slrnq944qm.n0k.dan@djph.net> (permalink)
References (4 earlier) <q6oh6k$icd$1@news.xmission.com> <slrnq91gi1.n0k.dan@djph.net> <v1v6mf-ee5.ln1@Telcontar.valinor> <slrnq91ot2.n0k.dan@djph.net> <aep7mf-mf.ln1@Telcontar.valinor>

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Carlos E.R. wrote:
> On 19/03/2019 13.42, Dan Purgert wrote:
>> Carlos E.R. wrote:
>>> On 19/03/2019 11.19, Dan Purgert wrote:
>>>> Kenny McCormack wrote:
>>>>> In article <q6o2vc$ieb$1@gioia.aioe.org>,
>>>>> Java Jive  <java@evij.com.invalid> wrote:
>>>>>> [...]
>>>>>> remembering to use the /B switch will tell you.  The default mode of 
>>>>>> COPY was ASCII or text mode, as if the /A switch had been specified, so 
>>>>>> if the binary file happened to contain a byte value 0x1A  -  <ctrl-Z>, 
>>>>>> commonly used as to mark the end of a text file  -  the copy would be 
>>>>>> truncated at that point.  I've been caught out by this comparatively 
>>>>>> recently, copying an audio file using a command prompt in W7.
>>>>
>>>>> [...]
>>>>
>>>>> The way it should have been designed is that it is *always* binary unless
>>>>> there is an explicit /A switch present.
>>>>
>>>> Yeah, but when you can save sending 1 bit / character on systems that
>>>> were based on the ASCII characterset, you can eke out a bit more
>>>> transfer speed.
>> 
>>> I don't know if they did that: the char set on the original IBM-PC was 8
>>> bit, and there were many users on other languages, like Spanish, that
>>> needed text characters over the 127. The default character set (USA)
>>> included the 'ñ' and accented vowels like 'áéíóú'. All those needed in
>>> Spanish were contemplated, I don't know about other languages. Some
>>> certainly needed changing the char map. And then there were the box
>>> drawing chars.
>> 
>> Yeah, and if they were using the ASCII character set, the 8th bit
>> would've always been zero.
>> 
>> So, when we're transferring in ASCII mode, we can cheat and simply not
>> send that leading zero (since it's never used).  Makes things a slight
>> bit faster.
>> 
>> Quick example -- the response you quoted was ~2500 characters (including
>> headers and signature, before PGP signing), or ~20,000 bits.
>> 
>> So, it's 1980 and we've only got a 300 baud modem, and want to download
>> that message:
>> 
>>   FTP, IMAGE (binary) mode -> approx. 1 minute, 20 sec
>>   FTP, ASCII mode -> approx. 58 seconds
>
> Are you sure that the modem would switch to 7 bit?  :-?
>
> I did not have a modem those years. I got one around 1992, perhaps 95,
> and I think we always used 8 bits. Nor did I have any unix or linux till
> the 98.

Hardware wasn't switching mode.

Trying to find the reference in the (original) RFC, but it's god-awful
to read. Keeps referring the reader to the TELNET spec (ugh).

I could've sworn the behavior was noted in there somewhere.


-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlySE1QACgkQjhHd8xJ5
ooHx2AgAjAj9xsg1Mdz+Knt1i0FpqBNDQYg2xS+WxPbmgGrImIMhLeN1Y72a9EXZ
Plu/oPLBRVQmbnZPX5mDjZ0XBU9x6pX0P/6r3Ubu7/YeM2KjNlcTYHCLjgz9ZLiJ
8tVRdu8q7fNnXlC2MbJ5dIc51VlhdtacVe3h01u1vPWDy4aM33E1dMEkO/4Tsbcp
DwujSM3wwo6hDbCGgAjP8cunYmdvkFZJbyMc8DrX8tyA5PyXQ5Td1vQrqH0e/N38
84HL7NhlTjBZEmZm+ozp97ohnm5jIB0vVQh6b0ZJb+naLWbLaidA6OgaJDp5VUQi
JtpJJ8BYbaCF9uo5KkeYprdNJFmKIQ==
=sXfV
-----END PGP SIGNATURE-----

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-15 18:19 +0000
  Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-15 19:06 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:13 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 16:40 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-19 10:24 +0000
  Re: Remote backups with rsync - discussion / tutorial, I guess. Mike Easter <MikeE@ster.invalid> - 2019-03-15 16:17 -0700
  Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-16 10:14 +0100
    Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-16 09:26 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-16 16:54 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-16 16:57 +0000
  Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-16 11:06 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-17 12:52 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Allodoxaphobia <trepidation@example.net> - 2019-03-17 17:32 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Java Jive <java@evij.com.invalid> - 2019-03-18 12:29 +0000
        DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-18 16:32 +0000
          Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Java Jive <java@evij.com.invalid> - 2019-03-18 16:40 +0000
          Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "R.Wieser" <address@not.available> - 2019-03-18 17:59 +0100
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Adrian Caspersz <email@here.invalid> - 2019-03-18 17:51 +0000
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "R.Wieser" <address@not.available> - 2019-03-18 19:00 +0100
          Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 20:16 +0100
          Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-19 10:19 +0000
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 12:06 +0100
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-19 12:42 +0000
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:36 +0100
                Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Dan Purgert <dan@djph.net> - 2019-03-20 10:17 +0000
            Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) Java Jive <java@evij.com.invalid> - 2019-03-19 13:24 +0000
              Re: DOS/Windows "COPY" command (Was: Remote backups with rsync - discussion / tutorial, I guess.) "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:38 +0100
        Re: Remote backups with rsync - discussion / tutorial, I guess. Adrian Caspersz <email@here.invalid> - 2019-03-18 17:47 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-19 00:29 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-19 09:02 +0000
            Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 12:07 +0100
              Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-19 13:57 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 19:45 +0100
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 08:52 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-20 11:24 +0100
                Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 11:31 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 15:03 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 17:05 +0000
                Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 12:08 +0000
                Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) Chris Elvidge <chris@mshome.net> - 2019-03-20 13:04 +0000
                Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 13:47 +0000
                Re: Why I don't like "rsync"... "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:41 +0100
                Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 09:36 +0000
                Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 09:59 +0000
                Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 10:36 +0000
                Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 11:12 +0000
                Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 11:29 +0000
                Re: Why I don't like "rsync"... Richard Kettlewell <invalid@invalid.invalid> - 2019-03-24 13:04 +0000
                Re: Why I don't like "rsync"... gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-24 13:16 +0000
                Re: Why I don't like "rsync"... Dan Purgert <dan@djph.net> - 2019-03-25 10:37 +0000
                Re: Why I don't like "rsync"... (Was: Remote backups with rsync - discussion / tutorial, I guess.) William Unruh <unruh@invalid.ca> - 2019-03-20 15:19 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-20 12:44 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 13:58 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-20 15:00 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 15:49 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 17:57 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 23:39 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-21 08:15 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 09:00 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-21 13:11 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-21 14:03 +0000
                rsync --archive Ivan Shmakov <ivan@siamics.net> - 2019-03-21 18:10 +0000
                Re: rsync --archive Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 21:42 +0000
                Re: rsync --archive "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:54 +0100
                Re: rsync --archive Ivan Shmakov <ivan@miko.siamics.net> - 2019-03-23 04:32 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-21 18:54 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-22 10:03 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-21 18:50 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-21 21:31 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-22 19:48 +0100
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 15:07 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 14:57 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Richard Kettlewell <invalid@invalid.invalid> - 2019-03-20 15:54 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 17:49 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-21 08:21 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 20:50 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 02:40 +0000
                Re: Remote backups with rsync - discussion / tutorial, I guess. gazelle@shell.xmission.com (Kenny McCormack) - 2019-03-20 08:19 +0000
              Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-20 02:37 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 19:53 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-19 21:25 +0100
          Re: Remote backups with rsync - discussion / tutorial, I guess. Java Jive <java@evij.com.invalid> - 2019-03-19 22:04 +0000
    Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:20 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 13:07 +0100
        Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 12:43 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 14:32 +0100
            Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 16:44 +0000
  Re: Remote backups with rsync - discussion / tutorial, I guess. Daniel60 <daniel47@eternal-september.org> - 2019-03-16 23:52 +1100
    Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 11:49 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. "Carlos E.R." <robin_listas@es.invalid> - 2019-03-18 13:11 +0100
        Re: Remote backups with rsync - discussion / tutorial, I guess. Dan Purgert <dan@djph.net> - 2019-03-18 12:45 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. William Unruh <unruh@invalid.ca> - 2019-03-18 18:12 +0000
        Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-18 19:12 +0000
          Re: Remote backups with rsync - discussion / tutorial, I guess. Chris Elvidge <chris@mshome.net> - 2019-03-18 19:19 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. Daniel60 <daniel47@eternal-september.org> - 2019-04-02 22:37 +1100
  Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-19 12:49 +0100
    Re: Remote backups with rsync - discussion / tutorial, I guess. Jasen Betts <jasen@xnet.co.nz> - 2019-03-19 21:08 +0000
      Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 12:51 +0100
  Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 10:37 +0100
    Re: Remote backups with rsync - discussion / tutorial, I guess. jjb <invalid@invalid.nl> - 2019-03-20 12:53 +0100

csiph-web