[comp.mail.mh] MH 6.7 on RS/6000: I have it running... sort of

mcuddy@rutabaga.Rational.COM (Mike Cuddy) (04/03/91)

I have MH compiled and 'installed' on my RS/6000 running AIX 3.1 @ 3002.

However, I am still having problems dates of messages are all '01/00' 
Witness....

% scan
... lots of lines deleted ...
1006  Jan00 smc@jazmo            463 new cable for SUN<<Kevin tells me that I n
1010 -Jan00 phil@voyager         416 I need an ethernet address for my workstat

     the entry for scan from my .mh_profile:

scan: -form scan.form

      and the scan.form from my ~/Mail directory...

%4(msg)%<(cur)+%| %>%<{replied}-%| %>\
%(void(rclock{date}))\
%<(gt 15768000)%03(month{date})%02(year{date})%|\
%<(gt 604800)%02(mday{date})%03(month{date})%|\
%<(gt 86400) %(day{date}) %|\
%02(hour{date}):%02(min{date})%>%>%>\
%<{date} %|*%>\
%<(mymbox{from})To:%14(friendly{to})%|%17(friendly{from})%>  \
%5(size) \
%{subject}%<{body}<<%{body}%>

	(note that the dates come out all screwed with the standard scan form 
	also.  (i.e.: when I take the scan: line out of my mh_profile))

	mh options:

version: MH 6.7.1 #2[UCI] (oztotl) of Tue Apr 02 16:56:29 PST 1991
options: [AIX] [AIX3_1] [TYPESIG=void] [SYS5] [SYS5DIR] [ATZ] [BIND]
	 [DBM] [MHE] [MHRC] [NETWORK] [NTOHLSWAP] [OVERHEAD] [RPATHS]
	 [SOCKETS] [TZNAME] [WHATNOW] [SBACKUP='"#"'] [MSGPROT='"0600"']
	 [FOLDPROT='"0710"'] [NFOLDERS=500] [SENDMTS] [SMTP]
	 [SPRINTFTYPE=int]

	mtstailor:

I have tracked the problem down to zotnet/tws/dtimep.c (dparsetime()) returning
NULL It appears that the lexer function can't decide that the date it's being
passed is good ;-).

--Mike Cuddy
"...He's a UNIX hack and he's okay, he works all night and he sleeps all day..."
Well, where I come from, we have a saying: "If you're not going to grab the 
bull by the horns while the iron is in the fire, then get off the pot." 
(There are a lot of chemicals in the water where I come from.) -- Dave Barry

jromine@yoyodyne.ics.uci.edu (John Romine) (04/04/91)

mcuddy@rutabaga.Rational.COM (Mike Cuddy) writes:
>I have MH compiled and 'installed' on my RS/6000 running AIX 3.1 @ 3002.
>However, I am still having problems dates of messages are all '01/00'

>I have tracked the problem down to zotnet/tws/dtimep.c (dparsetime()) returning
>NULL It appears that the lexer function can't decide that the date it's being
>passed is good ;-).

It's been reported that on some systems, lex doesn't produce the
output that MH expects.  My source disk is off-line, so I can't
send you the lex output, but I'm sure someone else can volunteer.
--
John Romine