September 25, 2001 22:00 GMT ------------------------------- - Released version 1.10.0 - Changed safe mode to timed mode. - Made named pipe mode a separate mode. - Made the default mode one where the .signature file is checked on every so often to see if the access time has changed. If it has, then it writes out a new sig. - Minor other changes. May 1, 2001 04:03 GMT ------------------------------- - Added the MAIL_QUOTING_LOCALDOMAIN variable that allows you to remove certain domains from the quoted name when using the MAIL_QUOTING function. - Moved the mutation code into the line_add function so that it doesn't affect quote files. - Changed some regular expression variables values in the sample .randomsigrc file to use single quotes instead of double. April 30, 2001 15:16 GMT ------------------------------- - Doh! I forgot to put the $MAIL_QUOTING variable part back into the sample .randomsigrc file that comes with the program. April 30, 2001 05:56 GMT ------------------------------- - Released version 1.9.9 April 29, 2001 05:02 GMT ------------------------------- - Fixed \n parsing problem on lines smaller than the $WRAP_AT variable. April 28, 2001 23:01 GMT ------------------------------- - Cleaned up how Maildir/ mailboxes are handled. - Joe Bowman gave me a patch to randomsig that would give it gzipped mbox support. Upon looking at this patch I realized that randomsig wasn't written very well for this in the current way it deals with files. So what I did was make a separate line_add() function that looks through an array to match lines. This makes it much much easier to add additional mailbox formats in the future. Maildir/ and mbox format are now using this method too. So to make a long story short, randomsig now supports gzipped files. April 26, 2001 17:32 GMT ------------------------------- - Thanks to Joe Bowman for catching a bug with the cancel file reading code. The cancel file is now read in and ignores all lines that start with a # or lines that are blank or just have spaces in them. If you want to match spaces, put this in your cancel file explicitly: [ ]* - Added some generic Maildir reading functionality. It's really not done very well though because I'm just adding all the maildir files to the files_array, which will eat up memory, etc. I'll fix this later. April 24, 2001 21:45 GMT ------------------------------- - Added a feature where signatures are removed from the line array as they are used up. When all the signatures have been used, the array will be replentished by re-reading the files that they came from. Periodic(time oriented) signature replentishment will still happen unless you set - Updated the default .randomsigrc file to reflect the new options. Also clarified the $UPDATE_TIME value a bit more. April 24, 2001 04:50 GMT ------------------------------- - Changed the syntax of the matching expression in the if expressions September 6, 2000 05:17 GMT ------------------------------- - Fixed the define lasttime bug where it wasn't setting the lasttime variable again after setting it to zero. I can't believe I forgot about that. :-( - Fixed the calculate time subroutine so that it doesn't shift the argument twice and also so that it uses shorter regular expressions. It now only looks for the first letter of the time words. Which works because they all have different first letters. September 2, 2000 23:20 GMT ------------------------------- - Fixed the word wrap problem so that it uses the Text::Wrap::wrap function to properly wrap the text. September 2, 2000 21:56 GMT ------------------------------- - Released version 1.9 September 2, 2000 16:47 GMT ------------------------------- - Fixed the system('mknod', $SIGPIPE, 'p') call. I was using an 'or' instead of an 'and'. :-( - Changed most of the print statements to print out only if the -V option is specified. This will keep the program running nice and quiet unless there is a fatal error. I may add a -D option in the future for a debug mode so that you can choose how much output you want to see. - Took the read_config call out the main loop, you must now HUP the program if you want to re-read the config. - Added the calculate_time() function in the proper places in the program so that it will actually work. - Made the program copy a .randomsigrc file from /usr/local/etc/randomsig if they didn't have a config file already. - Fixed some things in the default .randomsigrc file. - Added a default signature output branch if the SIGREAD specified file doesn't exist. August 30, 2000 01:17 GMT ----------------------------- - Added a calculate_time function that will allow users to use string based times such as "1 week 3 days 2 hours and 45 seconds" for their update_time and reread_time values instead of having to calulate the actuall number of seconds. - Added a -V option for turning on some extra verbosity. Right now it's not very verbose though. :-( - Added some more variable and file existance checks so that we are not assuming too much. - Changed all currently required to be set variables to be in all caps so that people editing the .randomsigrc file know what variable names they should not change. - Added some comments to the default .sigcancel file. - Created a BUGS file for known bugs and issues. August 28, 2000 04:51 GMT ---------------------------- - Made a "safe mode" for the randomsig to potentially run in so that people who don't want to mess around with the named pipe have another alternative. - Took out the intermediary $FIFO variable. Now $sigfile is used directly. - Made it so that the $sigfile is not removed if the program is terminated in safe mode. August 26, 2000 23:59 GMT ---------------------------- - Made a SIGPIPE signalhandler that will alert when clueless programs like pine try to stat the file and read 0 bytes from it instead of just read from it. - Took the -l option parsing part of the code out of the while loop for the FIFO. - Added a simple check for a named pipe file called .signature to make sure a second randomsig process isn't started without terminating the first one. - Changed the name of the variable that holds the random line value from $theline to $randomline. August 25, 2000 04:33 GMT ---------------------------- - Added a .sigread file variable that will be read in every time the signature is output. - The program now forks away from the shell unless the -f option is used. - A better random line matching regular expression is used. - The $wrap_at variable has been added to wrap longlines. - Separated the configuration into a .randomsigrc file. - Made the matching regular expression configurable from the config file. - Cancel file can now contain comments that start with the # character. - Now files are not read in until their timestamp has been updated since the lasttime each file was read. And only files that have been updated will be re-read. - The config file is now re-read whenever you send a HUP signal to the program or after $update_time seconds have passed since the last read. April 20, 2000 18:27 GMT ---------------------------- - Added a '--' at the beginning of the output so that by default the signature will be ignored on newsgroup postings, etc. April 19, 2000 03:00 GMT ---------------------------- Initial Release v1.0