Hello list.

I want to forewarn that i will release yet another update to the
v14.9 series by the end of this week.

It happened that i have read a message on bash-bugs@ regarding
shadowed key-bindings, and not only were we incapable also, but
i realized the code had never been reviewed and .. was a piece of
shit, when i looked at it.

We also gain inter-key (as opposed to inter-byte) timeouts, so
that incompletely entered key-bindings as such time out.  All of
the following now work.  Unfortunately we still have no expect-
alike test, so automatized test is not, yet.

  if 0
    set line-editor-no-defaults
    bind base $'\n' mle-commit
    bind base $'\c?' mle-del-bwd
    bind base $'\cE' mle-go-end
    bind base $'\c[' mle-cancel
  else
    \bind base $'\e',d mle-snarf-word-fwd
    \bind base $'\e',$'\c?' mle-snarf-word-bwd
    \bind base $'\e',f mle-go-word-fwd
    \bind base $'\e',b mle-go-word-bwd
    \bind base $'\cL' mle-clear-screen

    \bind default :kf1 Fi%
    \bind default :kf2 Fi'&'
    \bind default :kf3 Fi+download
    \bind default :kf4 Fi+gmane
    \bind default :kf5 Fi+sent
    \bind default :kf12 fi%
    \bind default :kf11 fi'&'
    \bind default :kf10 fi+download
    \bind default :kf9 fi+gmane
    #\bind default :kf8 fi+sent

    \bind compose :kf1 ~v
    \bind compose :kf2 ~p
  endif
  bind base $'\cT' echo one
  bind base $'\cT',$'\cT' echo two
  bind base abc echo 0
  bind base ab,c echo 1
  bind base abc,d echo 2
  bind base ac,d echo 3
  bind base a,b,c echo 4
  bind base a,b,c,d echo 5
  bind base a,b,cc,d echo 6
  bind base d,e,f echo made me not chef@
  bind base d,e,r echo made me chef
  set quiet noheader
  set bind-inter-key-timeout=3000
  set bind-inter-byte-timeout=250

And now, .. for something completely different.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to