On 29 Sep 2004 00:22:11 -0400, Jim Houston <[EMAIL PROTECTED]> wrote: >On Tue, 2004-09-28 at 23:31, Keith Owens wrote: >> On 28 Sep 2004 13:11:22 -0400, >> Jim Houston <[EMAIL PROTECTED]> wrote: >> >Hi Keith, >> > >> >The kdb symbol completion code is broken (at least in kdb-v4.4-2.6.8). >> >For example, if you enter timer_int and hit TAB, Kdb should >> >recognize that there is only one possible symbol and complete >> >the name as timer_interrupt. >> >> It works for me, you have to press tab twice to get the symbol >> completion. > >Hi Keith, > >Have a look at Sonic Zhang's description of this feature here: > > http://oss.sgi.com/archives/kdb/2002-12/msg00047.html > >A single TAB should complete the partial symbol if it uniquely matches >a single symbol. If there are several symbols which match the >prefix the first TAB will add the common portion of the symbol >names. Its all about not having to type long symbol names.
Unfortunately Sonic Zhang's had a nasty bug in it - the tab completion overwrote the current buffer without checking if they buffer was long enough to hold the result. In 2.4 that could sometimes result in oops during tab completion. If you have a patch that maintains the tab completion without buffer overruns, I will take it. --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
