The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Will Senn <>
To: Seth Morabito <>,
Subject: Re: [TUHS] svr2 delete behavior
Date: Mon, 27 Dec 2021 08:39:44 -0600	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

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.


[-- Attachment #2: Type: text/html, Size: 2712 bytes --]

  reply	other threads:[~2021-12-27 14:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27  0:31 Will Senn
2021-12-27  1:24 ` Seth Morabito
2021-12-27 14:39   ` Will Senn [this message]
2021-12-27 14:37 Noel Chiappa
2021-12-27 14:56 ` Will Senn
2021-12-27 23:52   ` John Cowan

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:

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

  git send-email \ \ \ \ \

* 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).