The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: imp@bsdimp.com (Warner Losh)
Subject: [TUHS] Line Terminators in Text Files [Was: Re: Why Pascal is Not My Favorite Programming Language - Unearthed!]
Date: Sun, 3 Sep 2017 20:58:02 -0600	[thread overview]
Message-ID: <CANCZdfr7UefCu1gQBJLL-mZ6Kz4x6u7qoJM9aEN+PBYUv9g00w@mail.gmail.com> (raw)
In-Reply-To: <201709040147.v841l3kf031858@elf.torek.net>

On Sun, Sep 3, 2017 at 7:47 PM, Chris Torek <torek at torek.net> wrote:

> >That's not right.  Yes, the ASR33 runs at 110 baud (10cps), but all -
> >including mine and those of my friends -  take more like half a dozen
> >character times to perform a CR from the right hand side.
>
> Hm, OK.  I recall actually seeing the trick performed on
> *something* though.
>
> (I hooked up an old ASR 33 to someone's system with a current loop
> circuit at one point, plus a bit-bang driver, and I thought I
> remembered it being this particular ASR 33 on which I saw the trick,
> but it might have been something else.)


Time delay for physical movement of the print head is the main reason that
termcap has entries for the number of NUL characters to insert after
carriage return. Not sure it is for the ASR 33, but when it takes a while
for the carriage to return to column 1, you have to insert NULs to wait for
it to be ready to print characters. If it takes 100ms to do the return,
that's still 10 characters of NUL needed...

Warner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20170903/3ad2245e/attachment.html>


  reply	other threads:[~2017-09-04  2:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03  2:08 Nemo
2017-09-03  2:54 ` Dave Horsfall
2017-09-03 15:08   ` Warner Losh
2017-09-03 22:28   ` Steve Johnson
2017-09-03 23:14     ` Chris Torek
2017-09-03 23:37       ` Grant Taylor
2017-09-04  0:31       ` Pete Turnbull
2017-09-04  1:47         ` Chris Torek
2017-09-04  2:58           ` Warner Losh [this message]
2017-09-04  9:05             ` Pete Turnbull
2017-09-04 15:33             ` Chris Torek
2017-09-04 10:07           ` Pete Turnbull
2017-09-05 15:23             ` Paul Winalski
2017-09-05 15:37               ` Clem Cole
2017-09-05 18:55         ` Paul Winalski
2017-09-05 19:13           ` Pete Turnbull
2017-09-04 17:44     ` Paul Winalski
2017-09-04 20:30       ` ron minnich
2017-09-04 20:41         ` Bakul Shah
2017-09-04 22:44 Noel Chiappa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANCZdfr7UefCu1gQBJLL-mZ6Kz4x6u7qoJM9aEN+PBYUv9g00w@mail.gmail.com \
    --to=imp@bsdimp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).