From: Matt Pharr <mmp@Graphics.Stanford.EDU>
Subject: Re: uptime in my sig
Date: 19 Feb 1999 16:48:38 -0800 [thread overview]
Message-ID: <kh0ogmpoq6x.fsf@lux.Stanford.EDU> (raw)
In-Reply-To: Bud Rogers's message of "19 Feb 1999 18:22:07 -0600"
Bud Rogers <budr@sirinet.net> writes:
> I have thought for a while that it would be cool to append system uptime to
> my sig with gnus-posting styles, but I haven't figured out how to call
> uptime. It looks like there should be a way to do it with
> view-process-mode.el, but so far nothing I've tried has worked.
I used to have the following in my .gnus.el file to do that sort of thing.
(defun mmp:248-sig()
(with-temp-buffer
(insert-file "/u/mmp/.sig")
(goto-char (point-max))
(delete-backward-char 1)
(insert-string " ")
(call-process "/u/mmp/bin/hfrac" nil t)
(buffer-string)))
(setq gnus-posting-styles
'(("^nnml:mail.cs248tas"
(signature mmp:248-sig))))
-matt
--
Matt Pharr mmp@graphics.stanford.edu
<URL:http://graphics.stanford.edu/~mmp>
prev parent reply other threads:[~1999-02-20 0:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-20 0:22 Bud Rogers
1999-02-20 0:48 ` Hrvoje Niksic
1999-02-22 1:07 ` Bud Rogers
1999-02-22 1:33 ` Jeremy D. Zawodny
1999-02-22 1:39 ` Bud Rogers
1999-02-20 0:48 ` Matt Pharr [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=kh0ogmpoq6x.fsf@lux.Stanford.EDU \
--to=mmp@graphics.stanford.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).