From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <16274ba3-67d5-43ef-b741-722f2398ffa2@googlegroups.com> <874nmmgm5n.fsf@gmail.com> Date: Wed, 26 Sep 2012 00:19:03 +0530 Message-ID: From: Jiten Pathy To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d0438eba700866b04ca8b296b Subject: Re: [9fans] p9p backspace/delete in osx Topicbox-Message-UUID: bbb368de-ead7-11e9-9d60-3106f5b1d025 --f46d0438eba700866b04ca8b296b Content-Type: text/plain; charset=ISO-8859-1 Not surprisingly i have 15+ threaded mail relted to osx. On Tue, Sep 25, 2012 at 10:15 PM, erik quanstrom wrote: > 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 > > --f46d0438eba700866b04ca8b296b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Not surprisingly i have 15+ threaded mail relted to osx.

On Tue, Sep 25, 2012 at 10:15 PM, erik quanstrom <qua= nstro@quanstro.net> wrote:
On Tue Sep 25 11:44:21 EDT= 2012, chneukirchen@gmail.com= wrote:
> khm-9@intma.in (Kurt H Maier) wr= ites:
>
> > 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 key= board
> >> on this machine?
> >>
> > delete to kill a program is a function of rio/9term/acme, not a f= unction
> > of rc.
>
> Not true. =A0It's a feature of the terminal line discipline.
>
> (The problem is that this only allows single c= hars as special keys,
> so you can't bind '^[[3~'.)
>
> (Actually, p9p 9term always sends the current intr-char on Delete, whi= le
> 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


--f46d0438eba700866b04ca8b296b--