Re: evolution signature position?

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

 



On Sun, 2006-08-27 at 15:56 -0500, Aaron Konstam wrote:

> The good news is you can get evolution to run a program to create the
> signature as I have doene below using the fortune program.
>
> "Let me guess, Ed. Pentescostal, right?" -- Starcap'n Ra,
> ra@xxxxxxxxxxxxxx "Nope. Charismatic (I think - I've given up on what
> all those pesky labels mean)." -- Ed Carp, erc@xxxxxxxxxxxxxx "Same
> difference - all zeal and feel, averaging less than one working brain
> cell per congregation. Starcap'n Ra, you pegged him. Good work!" -- Kenn
> Barry, barry@xxxxxxxx

Which, because Evolution composes messages in pseudo-HTML, even if you
eventually post as plain text, it ends up all rewrapped, losing the
formatting, which would have looked more like:

----------------- begin example ------------------------
"Let me guess, Ed. Pentescostal, right?"
 -- Starcap'n Ra,ra@xxxxxxxxxxxxxx

"Nope. Charismatic (I think - I've given up on what all those pesky
labels mean)."
 -- Ed Carp, erc@xxxxxxxxxxxxxx

"Same difference - all zeal and feel, averaging less than one working
brain cell per congregation. Starcap'n Ra, you pegged him. Good work!"
 -- Kenn Barry, barry@xxxxxxxx
-------------------- end example ---------------------

Which, dependent on what the fortune cookie was (e.g. quotes, limericks,
etc), is much better (looks better / easier to read).

A way to retain your formatting is to call you fortune through a script
wrapped with the appropriate PRE HTML tags, here's one way how:

--------- begin signature script ---------
#!/bin/bash
echo "<div>-- </div>"
echo "<pre>"
/usr/bin/fortune -s
echo "</pre>"
--------- end signature script ---------

The pre element keeps the original formatting of the fortune, and the
preceding div element gives you the conventional signature separator
character sequence (allowing good mail clients to automatically remove
the signature when replying).

Just stick a script like that somewhere that you, and perhaps others,
can execute scripts, and use that script (rather than the fortune one,
directly), for your signature script.

-- 
(Currently running FC4, in case that's important to the thread)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux