[comp.sys.hp] biff/comsat not in HP-UX???

tpc@bnr-fos.UUCP (Thomas Chmara) (02/17/90)

Now I AM puzzled.  We've got a number of HP machines here, currently running
HP-UX 6.5 (they're pretty much exclusively 350s & 360s).  I was providing
a friend with some X software, including xbiff.  He tried it; xbiff displayed
its icon, but didn't notify him of incoming mail.  I tried poking around
the HP environment, and can't find any mention of comsat, the program from
which xbiff would get its notification.  Why NOT?  It seems pretty silly
to provide mailx, but not comsat.  Is it available in HP-UX 7.0?
	Sigh.  Thanks for any help...
		---tpc---
-- 
I am sole owner of the above opinions. Licensing inquiries welcome.
-------------------------------------------------------------------------------
Tom Chmara	|  UUCP:  ..uunet!bnrgate!bnr-fos!tpc	|  Fone:  (613)765-2925
BNR Ltd.	|  BITNET: TPC@BNR.CA			|  FAX:   (613)763-2626

edwin@praxis.cs.ruu.nl (Edwin Kremer) (02/19/90)

In article <2441@bnr-fos.UUCP> tpc@bnr-fos.UUCP (Thomas Chmara) writes:

  | Now I AM puzzled.  We've got a number of HP machines here, currently running
  | HP-UX 6.5 (they're pretty much exclusively 350s & 360s). I was providing
  | a friend with some X software, including xbiff. He tried it; xbiff
  | displayed its icon, but didn't notify him of incoming mail.

Hmm, now I am also somewhat puzzled... I have a version of xbiff,
which is just a simple wrapper around the Xaw mailbox widget. It does 
not require comsat, it simply checks the mail-folder itself...

Anyway, there's something else you might have ran into. Since Xaw is not
supported in de HP-UX6.5 X11 release, I had to port the Xaw and Xmu
libraries from the X11R3 release. The Xaw mailbox widget uses the
mailbox-directory "/usr/spool/mail", which should be "/usr/mail" in
HP-UX (and other SysV alikes). There is a define for this in the
X11 include files "MailboxP.h", change this to:

	#define MAILBOX_DIRECTORY	"/usr/mail"

and recompile the libraries. Hope this is of any help...


					--[ Edwin ]--
--
Edwin Kremer (SysAdm), Dept. of Computer Science, Utrecht University
Padualaan 14,   P.O. Box 80.089,  3508 TB  Utrecht,  The Netherlands
Telephone: +31-30-534104  | UUCP: ...!uunet!mcsun!hp4nl!ruuinf!edwin
Telefax  : +31-30-513791  | Email: edwin@cs.ruu.nl    [131.211.80.5]

wunder@hp-ses.SDE.HP.COM (Walter Underwood) (02/20/90)

   ...  There is a define for this in the X11 include files "MailboxP.h",
   change this to:

        #define MAILBOX_DIRECTORY       "/usr/mail"

   and recompile the libraries.

Overkill.  Use the resources.  Here are my Xt resources for xbiff:

  XBiff*file:		/usr/mail/wunder
  XBiff*update:		3
  XBiff*foreground:	LightSteelBlue
  XBiff*background:	MidnightBlue
  XBiff*reverseVideo:	True

wunder

wunder@hp-ses.SDE.HP.COM (Walter Underwood) (02/20/90)

Another approach is to make /usr/spool/mail a symbolic link to
/usr/mail.

wunder

tpc@bnr-fos.UUCP (Thomas Chmara) (02/20/90)

In article <2453@ruuinf.cs.ruu.nl> edwin@praxis.cs.ruu.nl (Edwin Kremer) writes:
>Hmm, now I am also somewhat puzzled... I have a version of xbiff,
>which is just a simple wrapper around the Xaw mailbox widget. It does 
>not require comsat, it simply checks the mail-folder itself...

	See the egg on my face?  Yep, it's there, alright.  I've been informed
through several mechanisms that xbiff stats the mailbox itself, and doesn't
use the facilities of comsat.  The thing that confused me was that I also tried
to find "biff", which of course does use comsat, and discovered it also was
absent.  I mistakenly thought that the xbiff used the same mechanism; I don't
have the sources immediately available, and didn't worry about that.  After
all, *I* have comsat, so doesn't everyone? :-) (some Suncentrism, here, I
suppose..:-))
	Thanks for all the help
		---tpc---
-- 
I am sole owner of the above opinions. Licensing inquiries welcome.
-------------------------------------------------------------------------------
Tom Chmara	|  UUCP:  ..uunet!bnrgate!bnr-fos!tpc	|  Fone:  (613)765-2925
BNR Ltd.	|  BITNET: TPC@BNR.CA			|  FAX:   (613)763-2626

tomg@hpcvlx.cv.hp.com (Thomas J. Gilg) (02/21/90)

Real simple approach:

  xbiff -file /usr/mail/tomg

Thomas Gilg
tomg@cv.hp.com

cheeks@edsr.eds.com (Mark Costlow) (02/21/90)

In article <920055@hp-ses.SDE.HP.COM>, wunder@hp-ses.SDE.HP.COM (Walter
Underwood) writes:
> Another approach is to make /usr/spool/mail a symbolic link to
> /usr/mail.

R4's Mailbox widget is ifdef'd on SYSV to use /usr/mail instead of
/usr/spool/mail. 

>>Chx

cheeks@edsr.eds.com    or     ...uunet!edsr!cheeks