Heysigs
From Support
This page describes a User Script. Scripts are simple programs that do cool and/or useful stuff. This is not an official Netsoc script, use it at your own risk.
Heysigs is a wrapper around hey to allow signatures to span multiple heys to the same user. This script was written by Brian Brazil. It is located at ~bbrazil/bin/heysigs on Spoon.
Contents |
Signature Setup
First, you must setup your .heysigs to contain all your signatures with a Text Editor. A sample file is
%%1 Did you try to understand him his feelings? I used to try Are you running away from the truth becaues its ugly? %%3 As if you could kill time without injuring eterntiy No exertion of the legs can bring two minds much nearer to one another %%4 Where do these people come from, and why haven't they been shot yet?
Here the lines beginning with %% seperate the groups of signatures. Each group must be given a unique name. The name itself has no meaning. I just use numbers.
To convert an existing .heymessages to this format you can use
awk '{print "%%"NR;print}' $HOME/.heymessages > $HOME/.heysigs
Usage
You use heysigs similar to hey.
For example,
~bbrazil/bin/heysigs bbrazil
would send a hey to me.
There is also reysigs, which is equivilent to rey.
Replacing hey and rey
To use heysigs and reysigs instead of hey and rey run the following:
mkdir $HOME/bin ln -s ~bbrazil/bin/heysigs $HOME/bin/hey ln -s ~bbrazil/bin/reysigs $HOME/bin/rey
If you didn't already have a bin directory, you will have to logout and back in again for this to take effect.
