On Thursday 15 November 2001 14:36, Scott Moynes wrote:
> * Roman Neuhauser ([EMAIL PROTECTED]) wrote:
> >     To answer my own question, and so that it's archived:
> >     the keymap file (.bbkeysrc) is not the same as the style file
> >     (bbtools/bbkeys.bb). Looks like the -c switch is meant for the latter
> >     one, and bbkeys doesn't respond to any mapped keypresses if you point
> >     it at .bbkeysrc with -c.
>
> A few days ago I created just such a patch, and should be in the
> mailing list archives by now. It has been accepted for inclusion in
> the next release of bbkeys which, from what I hear, should happen any
> day now. If you can't wait, it's in the CVS tree, which seems to be
> pretty stable right now, so feel free to grab the newest tree.

As Scott said above, this has been included in bbkeys-0.8.4.  BBkeys will now 
allow command-line configurability of where its look-and-feel config file 
comes from as well as where its keybindings config file comes from.  I'm not 
quite done with what I want in there for 0.8.4 yet, so if you're so inclined, 
please pull bbkeys down from CVS and give it a whirl.   One thing to be 
noted, though, is that this will most probably cause some issues down the 
road when blackbox has rudimentary keybindings built into it, as blackbox 
proper will by default look in ~/.bbkeysrc for its own limited keybindings.

>
> >     There is one glitch I can see: currently, bbkeysconf and the like
> > don't have to look where the actual keymap file resides: it's hardcoded
> > as ~/.bbkeysrc. This could be solved like this: the path to the keymap
> > file would be specified in the style file, and bbkeysconf would look for
> > it there. If the style file doesn't contain the directive, just dump it
> > to the standard place.
>
> vanRijn, the author of bbkeys, told me he was in the process of
> changing that. However, I don't think it will be changed in
> bbkeysconf. I think that configurator has been superceded by bbconf;
> look for the changes there.

Um.  There's no way I want to even think about putting bbkeys.conffile: into 
style files.  bbkeys will look for its keybindings in two places: either you 
tell it otherwise in the command line with "-rc <filename>" or it looks in 
~/.bbkeysrc.  Either way, if it can't open it, you'll hear about it in 
STDERR.  

Also, bbkeysconf (the QT bbkeys-only configurator) has been dropped from my 
list of things I care about.  It's dead.  So is bbkeysConfigGtk.  So is 
bbkeysConfigC, thank God.  Going forward from the 0.8.4 release of bbkeys, 
bbkeys will have a very nifty perl script (correctly auto-detected of 
course), thanks to Damien Tougas, that does a MUCH better job of 
interactively configuring your bbkeys file.   And the bbconf plugin for 
blackbox keybindings will also be kept up-to-date with these changes as well. 
And you're right--bbkeysconf.pl and bbconf will have to have some smarts 
added for "open another file" and "save as" for its settings. 

>
> >     Oh, the bbkeys docs are full of stuff like "the other config file".
> > As you might have noticed, changing the terminology to "keymap file" and
> > "style file" could help get rid of this confusion.
>
> This, perhaps, is the reason why the newest release of bbkeys hasn't
> hit the press yet. Feel free to modify the docs if you like, and
> submit the changes. I'm sure every developer would like to see the
> contribution of documentation. :)
>
> scott

Actually, it's other reasons, but by ALL means, I'd love patches to the 
man-pages and documentation.  Hell, just send me the new files and I'll pull 
them in, most probably.

-- 
----%<----------%<----
Jason Kasper (vanRijn)
bash$ :(){ :|:&};:
Numbers 6:24-26

Reply via email to