Re: [Evolution] Scripting signatures



I am trying to get a signature block script working in Evo2.0.1 under
SuSE9.2 using Bash 3.00.1(1) (Evolution Menu > Tools > Settings:
Evolution Settings window, Composer Preferences, Signatures tab, Add
script button).

What I am seeing is that when I apply the command "printf" in the script
it doesn't pass the newline (\n) or linefeed (\f) options back to the
signature block of Evo. Using the "echo" command shows the same traits.

for example:
printf "Hello \n\n World"

shows... 
      Hello World 
in the sig block not...
      Hello

      World

Thanks for any help you can give.

Script signatures are evaluated as HTML always, even if you are
composing text/plain mails.

That means, you need to insert "<br>" instead of "\n".

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]