[comp.windows.x] Xmh and Mail

razdan@chanakya.oakhill.uucp (Anshuman Razdan) (02/09/90)

 I finall got Xmh up and running(sort of), thanks to
advice from Donna Converse to compile using cc and not gcc

It does not reflect my incoming mail nor can I send mail
out side.  I want it to look in mail folder which is 
/var/spool/mail/razdan on my machine so I set the Path variable
in $(HOME)/.mh_profile 

Path: /var/spool/mail   -- Did not work
It complains:
	xmh: Execvp failed!
	errno = 2; No such file or directory
	exiting.

I tried xmh -initail /var/spool/mail/razdan and xmh -path /var/spool/mail -initial razdan

That still does not work. 
Am I doing something wrong?  
How do I make it to read my mail?

Please answer on the net or e-mail

Anshuman Razdan

oakhill!chanakya!razdan@cs.utexas.edu

converse@EXPO.LCS.MIT.EDU (Donna Converse) (02/13/90)

> It [xmh] does not reflect my incoming mail nor can I send mail
> out side.  I want it to look in mail folder which is 
> /var/spool/mail/razdan on my machine so I set the Path variable
> in $(HOME)/.mh_profile 
> 
> Path: /var/spool/mail   -- Did not work

To specify the spool file from which to retrieve incoming mail, see the
xmh man page, "Application-Specific Resources", InitialIncFile resource.
You could try something like 

	Xmh*InitialIncFile: /var/spool/mail/razdan

The MH Path variable is something else.  MH will store mail in a hierarchy of
folders in the directory given by the Path.  Once mail has been read from 
your incoming mail drop, it is not returned there.  Read the description of
the application-specific resource MailPath in the xmh man page.

> I tried xmh -initail /var/spool/mail/razdan 

The -initial option takes the following argument to be the name of a mail
folder to display upon startup, and which receives new mail from the 
system.  See InitialFolder.

> and xmh -path /var/spool/mail -initial razdan

The biggest thing that you don't understand is that your mail isn't kept
in /var/spool/mail/razdan after you use xmh.   This wouldn't work either. 

> Anshuman Razdan
> oakhill!chanakya!razdan@cs.utexas.edu

Donna Converse
converse@expo.lcs.mit.edu