From: Will Senn <will.senn@gmail.com>
To: Seth Morabito <web@loomcom.com>, tuhs@minnie.tuhs.org
Subject: Re: [TUHS] svr2 delete behavior
Date: Mon, 27 Dec 2021 08:39:44 -0600 [thread overview]
Message-ID: <350ed660-6f96-b30c-7f01-438029a7d703@gmail.com> (raw)
In-Reply-To: <74999131-cf0a-41d1-9625-bc306febc7a8@www.fastmail.com>
[-- 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
> web@loomcom.com
>
>
Got it working:
echo 'stty intr \^c erase \^? kill \^u echoe' >> .profile
relogin, and it works.
Thanks!
[-- Attachment #2: Type: text/html, Size: 2712 bytes --]
next prev parent 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:
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=350ed660-6f96-b30c-7f01-438029a7d703@gmail.com \
--to=will.senn@gmail.com \
--cc=tuhs@minnie.tuhs.org \
--cc=web@loomcom.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).