Re: [gnome-mud] Multi-line Input Plugin

I haven't taken a look at your stuff yet, but I don't suppose there is any possibility of configuring the keybindings used by the input window? In particular I'm rather fond of the Emacs-style (up (Ctrl-p), down (Ctrl-n), home (Ctrl-a), end (Ctrl-e), clear (Ctrl-u), etc.) navigation key bindings.

I had to hack support into the old input window (I never did it properly though, so I never posted a patch) and I'd love to be able to do it easily (via a python plugin? or a dialog?).


Les Harris wrote:
Hi all,

First off, sorry if this isn't the right place for this but there aren't
alot of gnome-mud forums etc in existence.

I made a little plugin that pops up a multi-line input window that you
can use to do things like softcode (on MUSHes for example).
Since plugin_register_menu() is b0rked the only interface I could expose
is a text-based one.
The commands are:
/mi - Shows the multi-line input window
/miabout - Shows my cheesy about dialog.

You will need the pcre library ( installed to
compile.  Also, the modules_api.h file is out of date with the
implementation and you will have to change:

Line 31: extern void plugin_connection_send(gchar *text);


Line 31: extern void plugin_connection_send(CONNECTION_DATA
*connection,gchar *text);

Unless you like gnome-mud crashing hard that is ;-)

I'm working on another plugin using libpcre that will add trigger/alias
support to gnome-mud and once I get some wacky GHashTable weirdness
fixed I'll post that here too (assuming I'm not flamed into oblivian
from this one).

Grab the source here:

Move the tarball to (gnome-mud root)/plugins
Extract said tarball
make install (Just copies the plugin to ~/.gnome-mud/plugins for you)

Note: I'm using the 0.10.7 release, if the plugin interface has changed
in the CVS this will probably die.

Hopefully it'll be of some use to any of you who use gnome-mud for
well... mudding :)

gnome-mud-list mailing list
gnome-mud-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]