The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: crossd@gmail.com (Dan Cross)
Subject: [TUHS] BSD/v8 TCP/IP
Date: Mon, 12 Sep 2016 19:49:58 -0400	[thread overview]
Message-ID: <CAEoi9W7fp1Wxd=eB6dSAV_y20kKczK1t3z7sGt2jSJjhsuWAGQ@mail.gmail.com> (raw)
In-Reply-To: <57d723e9.8xNcmlVDu6NtFK0V%schily@schily.net>

On Mon, Sep 12, 2016 at 5:53 PM, Joerg Schilling <schily at schily.net> wrote:

> Doug McIlroy <doug at cs.dartmouth.edu> wrote:
>
> > > Interesting, but then nobody did run a modern shell on one of these
> machines or
> > > everybody did type slowly, so the character lossage problem did not
> occur.
> >
> > I'm afraid I don't get the point, apparently something about the
> > relative performance of stream- and non-stream tty drivers. How
> > do shells get into the act? And didn't uucp, which was certainly
> > not a slow typist, appear like any dial-up connection and thus
> > use /dev/ttyxx? (I cannot recollect, though, when dial-up uucp
> > finally ceased.)
>
> In 1982, I created a conceptional implementation and in 1984, I integrated
> a
> cursor editable history into my shell.
>
> As a result, this shell needed to switch the tty between raw and cooked
> mode.
> With the traditional UNIX tty driver, this was no problem, but with the
> unfixed
> AT&T strams based tty driver, this causes character loss.
>
> With such a shell, the conceptional bug in the original AT&T streams caused
> character loss when you type fast while the last command is going to
> terminate
> and the shell takes the input while switching the tty into raw mode.
>
> With the fix from Sun from around 1989, there is a new streams message that
> informs the lower side of the stream about how many characters re going to
> be
> read in raw mode. This permits to keep the other caracters in the edit
> buffer
> and avoids the character loss seen with the original AT&T streams driver
> concept.
>

AT&T STREAMS and research streams (note difference in case and specificity
of origin) were two separate things. v8 would have had the latter; you are
presumably referring to systems using the former. It is unsurprising that
bugs in the two would, in many cases, be disjoint: that is, the bug you are
referring to in AT&T STREAMS quite possibly wasn't in the research streams.

All modern shells use such an integrated history editor....
>

There is considerable difference on the meaning of "modern" with respect to
this facility in recent shells, but this isn't the place for a holy war.

        - Dan C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20160912/605c1a0b/attachment.html>


  reply	other threads:[~2016-09-12 23:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-12 21:39 Doug McIlroy
2016-09-12 21:48 ` Dave Horsfall
2016-09-12 21:53 ` Joerg Schilling
2016-09-12 23:49   ` Dan Cross [this message]
2016-09-13  9:16     ` Joerg Schilling
2016-09-13  1:52 ` Lyndon Nerenberg
2016-09-13  2:37   ` Larry McVoy
2016-09-13  8:12     ` Brantley Coile
2016-09-13  9:29     ` Joerg Schilling
2016-09-13 14:35       ` Larry McVoy
  -- strict thread matches above, loose matches on Subject: below --
2016-09-12 20:16 Doug McIlroy
2016-09-12 20:27 ` Larry McVoy
2016-09-12 20:36   ` Lyndon Nerenberg
2016-09-12 20:42 ` Joerg Schilling

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='CAEoi9W7fp1Wxd=eB6dSAV_y20kKczK1t3z7sGt2jSJjhsuWAGQ@mail.gmail.com' \
    --to=crossd@gmail.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).