From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] p9p backspace/delete in osx
Date: Tue, 25 Sep 2012 12:45:43 -0400 [thread overview]
Message-ID: <daf68608a3b0ceccbeb6b2fd559f2b42@ladd.quanstro.net> (raw)
In-Reply-To: <874nmmgm5n.fsf@gmail.com>
On Tue Sep 25 11:44:21 EDT 2012, chneukirchen@gmail.com wrote:
> khm-9@intma.in (Kurt H Maier) writes:
>
> > On Tue, Sep 25, 2012 at 08:52:40AM +0000, Christopher Hobbs wrote:
> >> Being that macs don't have a proper delete key, how can I get delete
> >> behavior to kill a program in rc short of slapping a real keyboard
> >> on this machine?
> >>
> > delete to kill a program is a function of rio/9term/acme, not a function
> > of rc.
>
> Not true. It's a feature of the terminal line discipline.
>
> (The problem is that this only allows single chars as special keys,
> so you can't bind '^[[3~'.)
>
> (Actually, p9p 9term always sends the current intr-char on Delete, while
> acme/win and matty's 9term always send ^?.)
the interrupt is delivered through the star wars-vintage
imperial garbage chute known as the tty subsystem, but
when i start 9term, stty intr is reset from ^C to ^?.
and if i change it back, then the fn+delete generates
escape codes, rather than an interrupt.
- erik
next prev parent reply other threads:[~2012-09-25 16:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 8:52 Christopher Hobbs
2012-09-25 9:06 ` erik quanstrom
2012-09-25 9:22 ` Bakul Shah
2012-09-25 9:26 ` erik quanstrom
2012-09-25 9:39 ` andrey mirtchovski
2012-09-25 9:47 ` Bakul Shah
2012-09-25 9:50 ` andrey mirtchovski
2012-09-25 10:07 ` Bakul Shah
2012-09-25 10:51 ` hiro
2012-09-26 7:21 ` Yaroslav
[not found] ` <CAK4xykU+ZgTKa-enOhAJKDp3=+sT-T-v+6QJY_fa1a87gKMf2Q@mail.gmail.c>
2012-09-25 9:42 ` erik quanstrom
2012-09-25 9:49 ` andrey mirtchovski
2012-09-25 11:04 ` Kurt H Maier
2012-09-25 11:28 ` Bruce Ellis
2012-09-25 15:33 ` Christian Neukirchen
2012-09-25 16:45 ` erik quanstrom [this message]
2012-09-25 18:49 ` Jiten Pathy
2012-09-26 8:35 ` Christian Neukirchen
2012-09-26 11:43 ` erik quanstrom
2012-09-26 15:50 ` Christian Neukirchen
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=daf68608a3b0ceccbeb6b2fd559f2b42@ladd.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/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).