9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lorenzo Bolla <lbolla@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] keyboard events in sam
Date: Mon,  7 Dec 2009 16:49:17 +0000	[thread overview]
Message-ID: <80c99e790912070849t55a06ccas45d49efcbdcbf5af@mail.gmail.com> (raw)
In-Reply-To: <dd6fe68a0912070817k525c9412hc4fcb86022a5520d@mail.gmail.com>

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

On Mon, Dec 7, 2009 at 4:17 PM, Russ Cox <rsc@swtch.com> wrote:

> sam(1) says ``Text may be typed and edited as in rio(1);
> also the escape key (ESC) selects (sets dot to) text typed
> since the last mouse button hit.''
>
> rio(1) has a subsection titled ``Text windows.''
>

This subsection is in 9term(1) in plan9port. Thanks, I hadn't seen it!


>
> Ctrl-0 isn't a real control sequence (if you look at the output
> of "ascii", the valid control characters are A through _).
> What byte are you trying to type?
>

I'm trying to map some simple operations to control-sequences, like jumping
to the command win, flipping between buffers, and so on. I guess I'll have
to do with A.._ chars, avoiding the ones already taken (ctrl-a, ctrl-u,
ctrl-w, etc)


>
> You cannot detect the press of the Alt key - the
> kernel does that as part of its keyboard handling.
>
> Russ
>
>
This is unfortunate.

Thank you very much,
L.

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

  reply	other threads:[~2009-12-07 16:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-07 14:13 Lorenzo Bolla
2009-12-07 14:39 ` Lorenzo Bolla
2009-12-07 16:17 ` Russ Cox
2009-12-07 16:49   ` Lorenzo Bolla [this message]
2009-12-07 17:10   ` Eoghan Sherry

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=80c99e790912070849t55a06ccas45d49efcbdcbf5af@mail.gmail.com \
    --to=lbolla@gmail.com \
    --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).