From: SourceForge.net <no...@so...> - 2005-04-20 21:53:52
|
Plugins item #943957, was opened at 2004-04-28 15:46 Message generated for change (Comment added) made by tak_tak You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390395&aid=943957&group_id=235 Category: None Group: None Status: Open Priority: 5 Submitted By: Levi Bard (tak_tak) Assigned to: Nobody/Anonymous (nobody) Summary: Bangexec - an exec plugin using !command, ala gyach Initial Comment: Bangexec is an exec plugin using !command for public output display or !!command for private display. Maximum output length is configurable (currently hardcoded to 512 chars), and launched commands time out after a configurable period (currently 10s) so they don't tie up your client if they hang. ---------------------------------------------------------------------- >Comment By: Levi Bard (tak_tak) Date: 2005-04-20 17:53 Message: Logged In: YES user_id=644705 1.3.0 released - http://bard.sytes.net/bangexec/ ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2005-03-04 09:46 Message: Logged In: YES user_id=644705 It would probably build/work in a cygwin environment. I highly doubt it would build on a stock win32 system, and I have a difficult time imagining what kind of commands a user of such would want to run. ---------------------------------------------------------------------- Comment By: testic (testic) Date: 2005-03-03 13:12 Message: Logged In: YES user_id=730414 Is it possible to use this plugin in a win32 environment? ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2004-09-19 14:46 Message: Logged In: YES user_id=644705 Updated for GAIM 1.0.0 - get the latest at http://bard.sytes.net/bangexec/ ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2004-06-28 14:40 Message: Logged In: YES user_id=644705 Fixed - good catch! ---------------------------------------------------------------------- Comment By: Stu Tomlinson (nosnilmot) Date: 2004-06-28 12:08 Message: Logged In: YES user_id=309779 fyi, this plugin will not build with gcc 2.9x, this patch fixes it (patch may not apply as it's in a SF comment, but it should let you know what needs to be done) : --- bangexec.c.orig 2004-06-28 16:43:26.000000000 +0100 +++ bangexec.c 2004-06-28 16:43:45.000000000 +0100 @@ -234,9 +234,10 @@ return -1; }else if (pid){ //Parent int rv; + int flags; close (p[1]); - int flags = fcntl (p[0], F_GETFL, 0); + flags = fcntl (p[0], F_GETFL, 0); fcntl (p[0], F_SETFL, flags | O_NONBLOCK); rv=read_nonblock(p[0],strtoul(BANGEXEC_MAXLEN,NULL,10)-chrs,strtoul(BANGEXEC_TIMEOUT,NULL,10),inp); ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2004-06-27 20:59 Message: Logged In: YES user_id=644705 Existing plugin works fine with current CVS. ---------------------------------------------------------------------- Comment By: Luke Schierer (lschiere) Date: 2004-06-27 14:37 Message: Logged In: YES user_id=28833 A new version of gaim has been released. It is likely that your plugin will crash in the new gaim. As per our standard policy, we are only including plugins that we write, being unable to maintain hundreds of plugins as we develop gaim, if you want to continue making your plugin available, please update your plugin and reopen it. If not updated, this will close in 14 days. ---------------------------------------------------------------------- Comment By: Jeff (jeff_sadowski) Date: 2004-06-26 12:02 Message: Logged In: YES user_id=1071563 Has this been submitted to gaim? I really like it. If the author has not, why not? here are the steps I went through to install it. 1. copy bangexec.c gaim's plugins directory 2. added entries to Makefile.am file in plugins directory a. add the line [bangexec_la_LDFLAGS = -module -avoid-version] before the line [autorecon_la_LDFLAGS = -module -avoid-version] b. add the line [bangexec.la \] before the line [autorecon.la \] c. add the line [bangexec_la_SOURCES = bangexec.c] before the line [autorecon_la_SOURCES = autorecon.c] 3. run automake utilities a. change to the gaim base directory b. run [aclocal] c. run [automake] d. run [autoconfig] 4. run ./configure make make install a. run the [./configure] with options you might want b. run [make] c. run [su -c "make install"] ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2004-06-20 23:18 Message: Logged In: YES user_id=644705 i386 binary tarball available at http://bard.sytes.net/bangexec.tar.bz2 for those of you who are having trouble compiling. Just drop bangexec.so and bangexec.la into your gaim plugins directory and (re)start gaim. ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2004-05-25 13:42 Message: Logged In: YES user_id=644705 Looks like your file got corrupted when you downloaded it. `gcharBANGEXEC_ MAXLEN` should be `gchar BANGEXEC_MAXLEN` , `gbooleanrv` should be `gboolean rv` , and so on... Please try again, and remember: right-click, save as... ---------------------------------------------------------------------- Comment By: maelopr (maelopr) Date: 2004-05-25 03:51 Message: Logged In: YES user_id=1049168 bangexec.c:28: warning: type defaults to `int' in declaration of `gcharBANGEXEC_ MAXLEN' bangexec.c:29: warning: type defaults to `int' in declaration of `BANGEXEC_TIMEO UT' bangexec.c:50: warning: type defaults to `int' in declaration of `intlookup_ampc ode' bangexec.c: In function `get_config_frame': bangexec.c:93: error: `BANGEXEC_MAXLEN' undeclared (first use in this function) bangexec.c:93: error: (Each undeclared identifier is reported only once bangexec.c:93: error: for each function it appears in.) bangexec.c:100: warning: passing arg 2 of `gtk_entry_set_text' from incompatible pointer type bangexec.c: In function `init_plugin': bangexec.c:141: error: `BANGEXEC_MAXLEN' undeclared (first use in this function) bangexec.c:142: warning: passing arg 1 of `strcpy' from incompatible pointer typ e bangexec.c: In function `substitute': bangexec.c:171: error: `gbooleanrv' undeclared (first use in this function) bangexec.c:197: error: `rv' undeclared (first use in this function) bangexec.c: In function `handle_exec_command': bangexec.c:242: error: `BANGEXEC_MAXLEN' undeclared (first use in this function) bangexec.c:242: warning: passing arg 1 of `strtoul' from incompatible pointer type bangexec.c: In function `strip_markup': bangexec.c:286: error: `gchartmpc' undeclared (first use in this function) bangexec.c:309: error: `tmpc' undeclared (first use in this function) bangexec.c:312: warning: implicit declaration of function `lookup_ampcode' bangexec.c: At top level: bangexec.c:333: warning: return type defaults to `int' bangexec.c: In function `update_conf': bangexec.c:404: error: `BANGEXEC_MAXLEN' undeclared (first use in this function) bangexec.c:408: warning: passing arg 1 of `strcpy' from incompatible pointer type bangexec.c: In function `load_conf': bangexec.c:462: error: `BANGEXEC_MAXLEN' undeclared (first use in this function) bangexec.c:465: warning: passing arg 1 of `strcpy' from incompatible pointer type bangexec.c: In function `save_conf': bangexec.c:497: error: `BANGEXEC_MAXLEN' undeclared (first use in this function) bangexec.c:498: warning: char format, different type arg (arg 4) /usr/include/bits/socket.h: At top level: bangexec.c:28: warning: `gcharBANGEXEC_MAXLEN' defined but not used bangexec.c:333: warning: `intlookup_ampcode' defined but not used make: *** [bangexec.so] Error 1 ---------------------------------------------------------------------- Comment By: Levi Bard (tak_tak) Date: 2004-04-29 16:25 Message: Logged In: YES user_id=644705 Output length and command timeout are no longer hardcoded, and are persistent between sessions. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390395&aid=943957&group_id=235 |