From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43DB8745.4000309@free.fr> Date: Sat, 28 Jan 2006 16:01:25 +0100 From: Philippe Anel User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Special keys ... References: <20060128141251.CEB401E8C29@holo.morphisms.net> In-Reply-To: <20060128141251.CEB401E8C29@holo.morphisms.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: eb9c01fc-ead0-11e9-9d60-3106f5b1d025 Russ Cox a =E9crit : >>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 ? >> =20 >> > >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. > > =20 > I understand, but it doen't help. I'd like to use the shift in combination with the arrow keys (for a vnc=20 server running under windows) to select some text. Philippe >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 > > > =20 >