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,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18400 invoked from network); 25 Jul 2020 02:47:35 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 25 Jul 2020 02:47:35 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id C4EB89C9DC; Sat, 25 Jul 2020 12:47:28 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 5BEC09C8B1; Sat, 25 Jul 2020 12:46:06 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=fastmail.com header.i=@fastmail.com header.b="RjNob5bu"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="O5ON9g2b"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id CD1BD9C8B1; Sat, 25 Jul 2020 12:46:00 +1000 (AEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by minnie.tuhs.org (Postfix) with ESMTPS id 6DE7D9BA4F for ; Sat, 25 Jul 2020 12:45:59 +1000 (AEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5FBD45C0134; Fri, 24 Jul 2020 22:45:58 -0400 (EDT) Received: from imap35 ([10.202.2.85]) by compute1.internal (MEProxy); Fri, 24 Jul 2020 22:45:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=6aiVClg6AsupBTKqog/zRBmDnkT6DZj iwJaylF7TXY8=; b=RjNob5bu5xpGVVtKERIsIVnsO0A0riduKbmuq9QbbjHN+h6 Ny1hYiZbYkeTxCfBI6xw//IVQUv6l5eneu/8EO0R0kvy06vc0QVBAMNVo5AQrVZC 7bxyW1aID3QbB888hpO1k193WjRETuHeXaJ/OP5MTmg0CEu/hvop0nsEqsozoxRQ 7mpcclt9/AeUv2owvFv3vHyYkMg2QymnBKxsRd/cdoTYqHxuFvXYirN+Ebqvo7aJ 4Mth6bzkwwyKF+Wb2odC2OLYF0aSdd+YLMyMnonvffLuv9xy7gRgnfUcPJAR0wbR ZGQN6OKyGiwiAmkyTErsiquosguKDDIOx15Pb8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=6aiVCl g6AsupBTKqog/zRBmDnkT6DZjiwJaylF7TXY8=; b=O5ON9g2bGbiavHr7CiaWfW jlHqBPsQraqmjGSWhpIzkRJ0V6tYEYF4NzxY03r69xNBkBPT3bTHhtDW4YjD4HwO 8qwKy7E4Y1/0t1i/gD4SexynpS2uBz67c+jKbgWATPGZq+QGM5U3yozfV4Sm0ZEg Ja1o94D5NPPIZiAKqL4/3OJ0iTK+iSVuomyEHcJcysdD5Tc0uxopSLOCXSZY6f+c o3cfEV0QKtgb9f5WgcK5LOLj8vZxD423snnJmhG4mGuyV/9LWIo92Or+gVpnnvfq XTW7wsdksjNMRAu1oNAhcMDDfo6VexJlUkdqc0k/c1kyLKpuHzbNzNlt1C8xQrZg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrheeggdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpeftrghnugho mhekfedvuceorhgrnhguohhmkeefvdesfhgrshhtmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpeekjeduhfduuefftedthfeftdelueeiudeukeeiheehhfektedvgedufeet ffefveenucffohhmrghinheptggrthdqvhdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrrghnughomhekfedvsehfrghsthhmrghi lhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C91F014C008D; Fri, 24 Jul 2020 22:45:57 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-92-g11c785d-fm-20200721.004-g11c785d5 Mime-Version: 1.0 Message-Id: <6cb00586-aa3b-434a-b3d7-5ec5b5315672@www.fastmail.com> In-Reply-To: References: <20200724022807.D9E1E18C073@mercury.lcs.mit.edu> <3b4e50f0-5ab9-4726-99a3-b39568b2a7bb@www.fastmail.com> Date: Fri, 24 Jul 2020 22:45:34 -0400 From: Random832 To: "Clem Cole" Content-Type: text/plain 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: TUHS Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Fri, Jul 24, 2020, at 13:15, Clem Cole wrote: > On Fri, Jul 24, 2020 at 12:39 PM Random832 wrote: > > 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 ;-) my mistake, though that does mean the rest of my point definitely stands: the program will need to have some other way (either a sequence of characters input or e.g. some amount of time passing with no input - did v6 have any mechanism like alarm?) to make the program recognize the end of its input.