From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17044 invoked from network); 24 Jul 2020 17:17:54 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 24 Jul 2020 17:17:54 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 42A5D9C9E9; Sat, 25 Jul 2020 03:17:53 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 1F97E9C9DD; Sat, 25 Jul 2020 03:16:29 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="iuvhioZl"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id E06AE9C8DE; Sat, 25 Jul 2020 03:16:25 +1000 (AEST) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by minnie.tuhs.org (Postfix) with ESMTPS id 1698E9C8B1 for ; Sat, 25 Jul 2020 03:16:25 +1000 (AEST) Received: by mail-qt1-f173.google.com with SMTP id h21so1023708qtp.11 for ; Fri, 24 Jul 2020 10:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ND2jWmtnYJ/OEyx+woOjaGnoGQXHoVQQp7ZEXugETwA=; b=iuvhioZlfcBr0H8KyY9du/uz9llumWwFqghITWs8rvP3KueDJgI1LOivRh3qOBJ4NM iznwvhwlXkypvWTXwBmGWxtgZMYm2U0+midlSC8AAXRNxKOupdxW3j3umPjFhEM5ik8M g9wwbeBmsNmvFeCSwqKGVjKhlDxNZUsSsq8i8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ND2jWmtnYJ/OEyx+woOjaGnoGQXHoVQQp7ZEXugETwA=; b=HLP5WNcXP3EWEuKzsS0EfPLkBrOF/L7iZVeHGU5AKfwpkt4ZSW26Vbf5Li/Up9pwWn Mo52ELJ6BIrIP1L7XXnLcXp7c3XwmLShYeQakkJzAhqnvkXpwvu8J0fCllam8+mctCCI 7ARUodSWTqxonXMzq0mosNvp09U7wbYUZa7HJT7EG+qP6VK9A4Rs3+GwwVRhRbDfrY0m g6Ak+HWSA8mI1UKcQSM8eSkNTwhUVZHhdm4j13BhsWciGt5yK1ndAsYLTerebD4ikp78 DtehQMuzMCeucQMQ913EwHAbP3OOsGiZA74PJ5gG4wf70ymf3SmsePDNYwP6YtPH9jNI W5sQ== X-Gm-Message-State: AOAM5323wIfA0XKLbqhpKwA7A+gw/RjCCP5F8H1LgWF5t0IJMidhLw9M Yv5l7Ksfht/iVNyShWIBaUIFnvPxVJuWelZwu315ww== X-Google-Smtp-Source: ABdhPJzY7rGP8ri5xKcuKw+dURCHKYPsPEIpiqeqWdEf8+8CqklDn94KxBCW8Jp0D97oB0Ewa3MCiS1s7P7/p4jFudU= X-Received: by 2002:ac8:6f7a:: with SMTP id u26mr10680053qtv.33.1595610984093; Fri, 24 Jul 2020 10:16:24 -0700 (PDT) MIME-Version: 1.0 References: <20200724022807.D9E1E18C073@mercury.lcs.mit.edu> <3b4e50f0-5ab9-4726-99a3-b39568b2a7bb@www.fastmail.com> In-Reply-To: <3b4e50f0-5ab9-4726-99a3-b39568b2a7bb@www.fastmail.com> From: Clem Cole Date: Fri, 24 Jul 2020 13:15:58 -0400 Message-ID: To: Random832 Content-Type: multipart/alternative; boundary="000000000000e831c805ab3321c8" Subject: Re: [TUHS] V6 Console IO X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Grant Taylor via TUHS Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000e831c805ab3321c8 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 24, 2020 at 12:39 PM Random832 wrote: > On Fri, Jul 24, 2020, at 00:54, Paul Riley wrote: > > Noel, > > > > Thanks for your reply. > > > > I had suspected that the Unix behaviour was responsible, and you've > > made that clear with the "line at a time" assertion. I tried removing > > echo in STTY, but haven't tried raw. > > You'll have a hard time exiting your program if you use raw mode - cbreak > should be enough, and in that case ctrl-c will still work [but even in > cbreak mode I believe there is no way to send "EOF".] > There is no such thing as cbreak in sixth edition. http://man.cat-v.org/unix-6th/1/stty It's raw or cooked. Life is more interesting ;-) Good luck --000000000000e831c805ab3321c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Fri, Jul 24, 2020 at 12:39 PM= Random832 <random832@fastmail= .com> wrote:
On Fri, Jul 24, 2020, at 00:54, Paul Riley wrote:
> Noel,
>
> Thanks for your reply.
>
> I had suspected that the Unix behaviour was responsible, and you'v= e
> made that clear with the "line at a time" assertion. I tried= removing
> echo in STTY, but haven't tried raw.

You'll have a hard time exiting your program if you use raw mode - cbre= ak should be enough, and in that case ctrl-c will still work [but even in c= break mode I believe there is no way to send "EOF".]
There is no=C2=A0such thing as cbreak in sixth edition.=C2=A0= =C2=A0http://man.ca= t-v.org/unix-6th/1/stty
It's raw or cooked.=C2=A0 Life is more inte= resting=C2=A0;-)

Good luck

--000000000000e831c805ab3321c8--