From: "Russ Cox" <rsc@swtch.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Special keys ...
Date: Sat, 28 Jan 2006 09:12:45 -0500 [thread overview]
Message-ID: <20060128141251.CEB401E8C29@holo.morphisms.net> (raw)
In-Reply-To: <43DB5D06.4010708@free.fr>
> Therefore I'd like to:
> 1) add a control messages to /dev/consctl (ctlkeyon/ctlkeyoff) in port/devcons.c
> 2) modify pc/kbd.c to send KshiftDown, KshiftUp, ... when ctlkeyon has
> been sent to /dev/consctl
> 3) modify rio to handle those control messages (and to redirect read
> control key events only to the right windows).
>
> Do you think it is the right way to patch vncv ?
No, it's not.
You can send those key events by typing Alt Z C, Alt Z S, and Alt Z A
(they are listed in /lib/keyboard) if you really need them.
Control and Shift are already handled properly when you type a control
or uppercase character, so the only time you really need them is to
type Alt or to do fancy mouse clicks with keyboard modifiers.
Plan 9 handles Alt for itself, so that you can type Unicode characters
into every program, not just ones that have been specially coded.
Russ
next prev parent reply other threads:[~2006-01-28 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-28 12:01 Philippe Anel
2006-01-28 14:12 ` Russ Cox [this message]
2006-01-28 15:01 ` Philippe Anel
2006-01-28 15:33 ` Russ Cox
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=20060128141251.CEB401E8C29@holo.morphisms.net \
--to=rsc@swtch.com \
--cc=9fans@cse.psu.edu \
/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).