siggen is a cool email signature generator for encrypted ansi c
(confused)
and brainf*ck signatures. Use it in combination with vi(m), emacs,
mutt,
pine, or what ever. (tested on Solaris, Linux and Windoze)
################################ INFORMATION ################################
(c)2004 by Philippe Stellwag <linux[at]mp3s[dot]name>
* download page of siggen is http://www.sourceforge.net/projects/siggen/
* the license of siggen is GPL v2
* perhaps you must type your correct compiler into "Makefile"
* tested on linux, solaris, hpux, beos, freebsd, openbsd, windows,
qnx, mac
REPORT BUGS DIRECTLY TO ME.
############################ EXAMPLE SIGNATURES #############################
***** my cool signature *****
--
int main(){int O=0,s[]={218,242,'@',198,222,222,216,'@',230,210,206,2\
20,194,232,234,228,0};while(O<17){(s[O]==0)?printf("%c\n",(101<<2)>>2\
):printf("%c",s[O]>>/*****my damn comment*****/1);++O;}return s[--O];}
***** foo *****
--
int main(){int O=0,s[]={0xcc,0xde,0x0};\
while(O<3){(s[O]==0)?printf("%c\n",(111\
<<2)>>2):printf("%c",s[O]>>/***********\
*bar************/1);++O;}return s[--O];}
***** linux[at]mp3s[dot]name *****
--
int main(){int O=0,s[]={0xd8,0xd2,0xdc,0xea,0xf0,0x80,0xda,0xe0,014\
6,0xe6,'\\',0xdc,0xc2,0xda,0x0};while(O<15){(s[O]==0)?printf("%c\n"\
,(101<<2)>>2):printf("%c",s[O]>>/**mailto:**/1);++O;}return
s[--O];}
***** foobar *****
>++++++++++[<++++++++++>-]<++.>+++[<+++>-]<..>+++[<---->-]<-.-.>+++
+[<++++>-]<+.
################################# ONLINE HELP ###############################
siggen -- the ansi c and brainf*ck signature generator for cool
emails
(c)2004 by Philippe Stellwag; report bugs to linux@mp3s.name (
EN | DE )
USAGE: siggen <-mVvhH> <-t LANG> <[-c COMMENT]|[-n]> <-l LenOfLine> [SIGNATURE]
-c COMMENT : type your comment without
comment tags;
comment tags are '//','/*' and '*/' (ANSI_C only;
default: "mailto:")
-n
: means no comment in source code
-l LenOfLine : value of max. characters per source
code line (range: 2-200;
default: 68)
-m
: add standard mail signature seperator "-- "
-t [LANG] : specify the programing
language in which your
signature should be converted (currently supported
languages are BF (brainf*ck) and ANSI_C (ANSI C89)
(default: ANSI_C)
-V -v -h -H : show this help here
RETURN VALUES:
0 siggen successfully returned
1 less arguments then 2
2 flag -n used in combination with flag
-c [COMMENT]
3 flag -l out of range (range must be
between 2 and 200)
4 wrong combination of flags used
5 NULL for [SIGNATURE] not allowed
6 entered [LANG] isn't supported
7 len of [COMMENT] too big (max. 2000)
8 len of [SIGNATURE] too big (max. 4000)
9 [COMMENT] only supported for ANSI_C
10 in brainf*ck special characters not allowed
EXAMPLES:
for signatures in vi(m) type:
i-- [ESC]:r!siggen -c "my damn comment" "my cool signature"
or for signatures in (x)emacs type:
C-u M-! siggen -t ANSI_C -m -c "my damn comment" "my cool signature"
and get following output:
--
int main(){int O=0,s[]={0xda,0xf2,0100,0xc6,0xde,0xde,0xd8,0100,0xe\
6,0xd2,0xce,0xdc,0xc2,0xe8,0xea,0xe4,0x0};while(O<17){(s[O]==0)?pri\
ntf("%c\n",(101<<2)>>2):printf("%c",s[O]>>/************************\
**my damn comment***************************/1);++O;}return
s[--O];}
note that you also can use the -m flag instead of "i--
"
for signatures on stdout on your shell type:
siggen -n -l 65 -t BF foo
and get following brainf*ck output:
>++++++++++[<++++++++++>-]<++.>+++[<+++>-]<..
for testing ANSI_C signature type (Linux):
siggen -c comment -l 50 foo_sig
> mysig.c
gcc -o mysig mysig.c
./mysig
and get following output:
foo_sig
################################### END #####################################
----> email bugs, improvments, or what ever to <linux[at]mp3s[dot]name> <----