Re: Signature

Troy Piggins <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
* Ivan Popovski is quoted & my replies are inline below :
> On Mon, Feb 11, 2008 at 09:43:15PM -0500, John E. Davis wrote:
> > I would rather do this via a signature hook.  Then a slang-script
> > could use popen/pclose etc to create the appropriate signature string.
> > However, that is a new feature that will have to wait until after the
> > 0.9.9 release.
> 
> Finally found some time to play with this, cause I m in middle of exams.
> 
> Ok hooks are great :) really nice stuff, but I realised it is even
> simpler, just need to make slang script and register as hook :))
> No need to mess with hooks.c or interp.c, just little script :)
> 
> Its wasnt problem cause slang is similar to C. All I did is
> string_match_nth ;) '|' from signature, clear it, popen and write it
> to '.sigtmp' and at the end set_string_variable("signature", ".sigtmp").
> 
> Piece of cake :)
> 
> Only need to polish script and if somebody wants it, just ask :)
> 
> Thank you all on help ;)

I'd be interested to see what you've come up with.  Please post to the list.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.