[comp.mail.mush] How to Configure header information

tran@na.EXCELAN.COM (Tony Tran) (07/26/89)

How does one tailor the Header information in Mush?
Specifically, what I would like to see in my mail message is:

Organization:  Excelan Corp.
Group:	CIS
Telephone: xxxxxxxx

I know that Elm can do it with a file $HOME/.elm/elmheaders,
but I wonder how one could accomplish the same with Mush.

Your help/pointer would be greatly appreciated.

Tony Tran
UUCP:	{leadsv,versatc,cae780,mtxinu}!excelan!tran    Tony Tran
Barrnet: tran@excelan.com  
Tel: 	 (408) 473-8723

argv%eureka@Sun.COM (Dan Heller) (08/08/89)

In article <3589@excelan.UUCP> tran@na.EXCELAN.COM (Tony Tran) writes:
> How does one tailor the Header information in Mush?
> Specifically, what I would like to see in my mail message is:
> 
> Organization:  Excelan Corp.
> Group: CIS
> Telephone: xxxxxxxx
> 
> I know that Elm can do it with a file $HOME/.elm/elmheaders,
> but I wonder how one could accomplish the same with Mush.

my_hdr Organization:  Excelan Corp.
my_hdr Group: CIS
my_hdr Telephone: xxxxxxxx

put these in your .mushrc

dan <island!argv@sun.com>
-----
My postings reflect my opinion only -- not the opinion of any company.

rock@SUN.COM (Bill Petro - GSG Marketing) (08/08/89)

[On Jul 26,  7:30am, Tony Tran wrote:
> Subject: How to Configure header information
>
>How does one tailor the Header information in Mush?
>Specifically, what I would like to see in my mail message is:
>
>Organization:  Excelan Corp.
>Group:	CIS
>Telephone: xxxxxxxx
>
>I know that Elm can do it with a file $HOME/.elm/elmheaders,
>but I wonder how one could accomplish the same with Mush.
>
>Your help/pointer would be greatly appreciated.
>
>Tony Tran
>UUCP:	{leadsv,versatc,cae780,mtxinu}!excelan!tran    Tony Tran
>Barrnet: tran@excelan.com  
>Tel: 	 (408) 473-8723
>
>-- End of excerpt from Tony Tran]

This is what I do in my $HOME/.mushrc file:

#
# mail headers for outgoing mail
#
my_hdr Mail-Stop: "..... 12-33"
my_hdr Extension: "..... x65568"
my_hdr Phone-Number: ".. (415) 336-5568"
my_hdr Organization: ".. Sun GSG Marketing"

This works particularly well if you work for Sun Microsystems :-)
Note however, for reasons unknown to modern man, that these are displayed in my
headers in reverse order.  So you would do something like this:

my_hdr Telephone: "xxxxxxxx"
my_hdr Group: "CIS"
my_hdr Organization: "Excelan Corp."

Note, that white space is eaten up, including tabs.  So if you want to left
justify your headers, you must use some delimiter.  I use dots (universally
available on most computer keyboards ;-), but you might use "_____" as well.

Bill Petro - Sun Microsystems GSG Marketing