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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23076 invoked from network); 27 Dec 2021 14:40:01 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 27 Dec 2021 14:40:01 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 932309CFC9; Tue, 28 Dec 2021 00:40:00 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 8887D9CE84; Tue, 28 Dec 2021 00:39:50 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="CthVYOn6"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 0E9009CE84; Tue, 28 Dec 2021 00:39:48 +1000 (AEST) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by minnie.tuhs.org (Postfix) with ESMTPS id C6D8F9CE58 for ; Tue, 28 Dec 2021 00:39:46 +1000 (AEST) Received: by mail-ot1-f51.google.com with SMTP id n17-20020a9d64d1000000b00579cf677301so20761456otl.8 for ; Mon, 27 Dec 2021 06:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=Cx9JioKCISYAbkZrsS76/p0HBlUvy6BXwsW3UfW0HrU=; b=CthVYOn6uzPJMc6NmC66oxbi7gf0VCjPiakrOXGI7unC2GKflZdv6WzVm+yJ8WvlTz YBWe2QqEVXlGMeWEwnghKMGVOJU8wcG0J9N+Wq3KG6BnhjKX0JhdS6i2WKQA1bhUVY/9 qpbFZegLShzqlQMXQG6wkdGqqZLcsO6pnpGdqzdHc956TVADs+PJjhmPVz8XwNxLcN4G YisNQ6CoLvz+3Ls7xplr4hxgu8SbSvqAXQ1qVR96hjNClfBgYKTmt1b18zssElDzPMJ7 sAmLFy5r+WsvpTjHX6r/pyrzqeUpqSvFav+eZHeYTf1ONh6st2opDadOPbXcPKBpLNrv Y6HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=Cx9JioKCISYAbkZrsS76/p0HBlUvy6BXwsW3UfW0HrU=; b=DVRs4NdQyKyBHbrOe7gIyCVsogal/GlpUyNrY0yimdX511+wxfbITWpGssRt36RWWU MFKxEzXNGemRbAUjd0ew1iTyjBbDo4cWfbtF2QfbVHgcWYcKLEbyyog2sVB2xWNU6uvx /7FDxadE2R+ID439GTc7VLRML/RrtqrYMQcx7lhilobhAPP9Exy68gP5NlS73CzVaYvm BYxjS0iN5+kfTLsZNp96GGMUmSQQrCCGGGx7Z/egenJ8JTyLvBY8M01VYuJZYQWHyKIU 3YJqnvHn2MRSmniXHDl4tM2Y2vJgN6s6FA4SEisUvJIOwAi15oOEbyuCZoG9o1oDyeOR hvsQ== X-Gm-Message-State: AOAM532ljVmdzRHZUTcJHs0ZWoL7IfSB6A8ozMP01fEksK19cxO8OQdz F3MWnrVFwBtulbXugq0hY6HllXfhs7AWZg== X-Google-Smtp-Source: ABdhPJwsKFloQwcFJIR2KZel7u0wermh3AO7kruzHeMTXS78YSE+7hhwHNfFLbHL76Li/jNhzmZbdw== X-Received: by 2002:a9d:69ce:: with SMTP id v14mr12273933oto.312.1640615985982; Mon, 27 Dec 2021 06:39:45 -0800 (PST) Received: from [10.8.0.4] ([185.247.70.61]) by smtp.gmail.com with ESMTPSA id x4sm3331675oiv.35.2021.12.27.06.39.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Dec 2021 06:39:45 -0800 (PST) Content-Type: multipart/alternative; boundary="------------7Vd2R3swpHen5CG1dWCf5aJW" Message-ID: <350ed660-6f96-b30c-7f01-438029a7d703@gmail.com> Date: Mon, 27 Dec 2021 08:39:44 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Content-Language: en-US To: Seth Morabito , tuhs@minnie.tuhs.org References: <509bcd30-d0cb-2d39-3101-5c32ea3a058f@gmail.com> <74999131-cf0a-41d1-9625-bc306febc7a8@www.fastmail.com> From: Will Senn In-Reply-To: <74999131-cf0a-41d1-9625-bc306febc7a8@www.fastmail.com> Subject: Re: [TUHS] svr2 delete behavior 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This is a multi-part message in MIME format. --------------7Vd2R3swpHen5CG1dWCf5aJW Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/26/21 7:24 PM, Seth Morabito wrote: > On Sun, Dec 26, 2021, at 4:31 PM, Will Senn wrote: >> Did svr2 have anything similar to modern behavior when handling the >> delete/backspace key where the character is deleted from the input >> and rubbed out? The default, like in v6/v7 for erase and kill is # >> and @. I can live with this, if I can't get it to do the rubout, >> because at least you can see the # in the input, but if I can figure >> out how to get it to rubout the last character, I'd map erase to DEL, >> which I believe to be ^U (but since it's invisible, it's confusing >> when it doesn't rubout). >> >> Will > > You should be able to do `stty erase \^H` and `stty echoe` to get the > rubout behavior you want with ^H (and of course you can combine them > into one stty line) > > -Seth > -- >   Seth Morabito >   Poulsbo, WA > web@loomcom.com > > Got it working: echo 'stty intr \^c erase \^? kill \^u echoe' >> .profile relogin, and it works. Thanks! --------------7Vd2R3swpHen5CG1dWCf5aJW Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 12/26/21 7:24 PM, Seth Morabito wrote:
On Sun, Dec 26, 2021, at 4:31 PM, Will Senn wrote:
Did svr2 have anything similar to modern behavior when handling the delete/backspace key where the character is deleted from the input and rubbed out? The default, like in v6/v7 for erase and kill is # and @. I can live with this, if I can't get it to do the rubout, because at least you can see the # in the input, but if I can figure out how to get it to rubout the last character, I'd map erase to DEL, which I believe to be ^U (but since it's invisible, it's confusing when it doesn't rubout).

Will

You should be able to do `stty erase \^H` and `stty echoe` to get the rubout behavior you want with ^H (and of course you can combine them into one stty line)

-Seth
--
  Seth Morabito
  Poulsbo, WA


Got it working:
echo 'stty intr \^c erase \^? kill \^u echoe' >> .profile
relogin, and it works.

Thanks!
--------------7Vd2R3swpHen5CG1dWCf5aJW--