Re: [gtk-list] Re: New key-binding system
- From: George <jirka 5z com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: New key-binding system
- Date: Thu, 9 Jul 1998 16:55:39 -0700
On Thu, Jul 09, 1998 at 03:54:06PM -0700, matt wrote:
> That is kind of what i was thinking except there needs to be a way to
> handle
> when the user hits the <esc> key. in this case if the user is in
> insertmode
> then they drop to command mode. BUT, if they are in command mode the
> <esc>
> is sent to the handler. NOTICE this is differnt then the example
> above, which
> is why i think i have problems with the proposed methodology.
the esc is allways ignored by the keypress ... and would be sent directly
to whatever is bound to the esc key ... the bindings would have to be state
specific, but this should be childsplay to implement .... the state flag
does no harm for other then vi bindings, since those bindings would never
change the flag from insert to command ...
George
--
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
The following implements RSA in perl and is illegal to export from the US:
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]