* jack wallen jr ([EMAIL PROTECTED]) wrote:
> anyone know how to do the same in Pine?
Yeah. Same way.
(I used to use Pine before I discovered mutt)
Press S for setup, then C for configure.
Go to the signature-file option, and enter:
uptime|
Here's an excerpt from Pine's online help (press ? on the sig option)
> If the filename is followed by a vertical bar (|) then instead of reading
> the contents of the file the file is assumed to be a program which will
> produce the text to be used on its standard output. The program can't have
> any arguments and doesn't receive any input from Pine, but the rest of the
> processing works as if the contents came from a file.
If you just want uptime, do the "uptime|" thing, otherwise, use a
script to combine text and output, such as:
#!/bin/bash
echo "-- "
echo "This is my funny quote:"
fortune
echo "This is my uptime:"
uptime
Call the script mysig, and put the value "mysig|" in the
signature-file option in Pine.
Try not to create appawlingly huge .sigs this way, for fortune, try
using the -n option to restrict the length.
Tom.
--
.-------------------------------------------------------.
.^. | Tom Gilbert, England | [EMAIL PROTECTED] |
/V\ |----------------------| www.tomgilbert.freeserve.co.uk |
// \\ | Sites I recommend: `--------------------------------|
/( )\ | www.freshmeat.net www.enlightenment.org slashdot.org |
^^-^^ `-------------------------------------------------------'
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.