HDTenEightyP/NetNews huggingface dataset:
From: dhuber@autelca.ascom.ch (Daniel Huber)
Subject: A funny problem with UUCP over X.25...PLEASE HELP!
Organization: Ascom Autelca AG, Guemligen, Switzerland
Date: Sat, 3 Oct 1992 14:06:54 GMT

Hi netters,

I have a real funny (well in truth it's not that funny, because I have
to solve it...) problem with UUCP over X.25 between HP systems..
Here is the setup:


HP9000/835 (HP-UX)				HP9000/827 (HP-UX)

MUX ---- HW-PAD ---------- X.25 net ----------- SW-PAD 		(conf 1)

SW-PAD ------------------- X.25 net ----------- SW-PAD 		(conf 2)


The SW-PAD's and the HW-PAD have exactly the same X.25 configuration (l2 & l3),
except the I-Framesize (level 2) is 131 bytes on the HW-PAD and 149 bytes in
the SW-PAD. Well this should not cause the problem I have...

Ok. UUCP transfers with the 'f' protocol over the second configuration 
(conf 2) works without any problem. I can follow the X.25 traces (with an X.25
analyzer on the cable, or the debug output of Uutry) according Ian Lance 
Taylor's UUCP FAQ (very well done Ian! It helps me a lot!)...

Now here's the problem. When I transfer files over the first configuration
(conf 1), everything works great from the 827 to the 835. But transfering
files from the 835 to the 827 has a little gap... Just files smaller than 751
bytes are transfered correctly. If I try to copy a file of 752 bytes or
greater, the following happens: After the sender sent the last few bytes (the
checksum, e.g. ~~2caf<CR> ) there should be an answer from the receiver (eg. a
"G" for correct checksum). Well, I get NOTHING! The protocol times out and
tries to resend the file...same happens again. After that, the connection is
cancelled.
I have to say, that the last <CR> (the one after the checksum) appears in an
own X.25 packet...and the data fills 6 packets a 128 bytes (there are some by
the 'f' protocol mapped <CR> included in the data). 

I have some ideas, but I cannot prove them, because I do not know the UUCP 'f'
protocol very good, nor do I know the UUCP over X.25 implementation from HP in
detail...

X.25 l2		windowsize 7, the frame size is 131 (HW-PAD), 149 (SW-PAD)
X.25 l3		windowsize 2, the packet size is 128

The framesize is the only difference I can find in the setup, so my assumption
is that there must be an error in the UUCP over X.25 implementation of HP, or
in the 'f' protocol (well, the first assumption has better chances...)

Can anybody outther help me, or could give me a pointer how to solve?


-- 
Daniel J. Huber, AIN1 / Ascom Autelca AG / CH-3073 Guemligen / Switzerland
SMTP: dhuber@autelca.ascom.ch / Voice: +41 31 9996664 / Fax: +41 31 9996751 
X.400: /G=Daniel/S=Huber/OU=Autelca/O=Ascom/P=EUnet/A=Arcom/C=ch/
UNIX is the answer....what was the question?
From: faust@x1sun13.ccl.itri.org.tw (Jiunn-Chen Lin X-terminal)
Newsgroups: comp.mail.mh
Subject: post: problem initializing server; [BHST] no servers available ????
Date: 1 Oct 92 14:03:31 GMT
Distribution: world
Organization: The Internet

Hi,

	I use MH for a long time. It works well. Recently when I try to send a mail to someone, it shows the following message:
	post: problem initializing server; [BHST] no servers available
        send: message not delivered to anyone


	Any clue ? THanks in advances.


-Faust
Newsgroups: comp.mail.mh,comp.unix.ultrix
From: smccoy@dw3g.ess.harris.com (Scott McCoy)
Subject: SOLUTION: scan sometimes ignores the '-file' parameter
Followup-To: comp.mail.mh
Date: Tue, 6 Oct 1992 19:49:45 GMT
Organization: Harris Corporation Information Systems Division
Keywords: scan, mh, fix, workaround

Summary:
	The problem I requested help on had to deal with the scan
	command sometimes ignoring the '-file' parameter.  

	The problem is apparently a bug in scan itself, so there
	is no fix to the problem, but there is a fix to the symptom,
	as exhibited by xlbiff.

	The fix for xlbiff (I think) is to modify the scanCommand
	as Jerry Peek (below) has stated.  To wit, in my
	~/.Xdefaults file:

	XLbiff.scanCommand:  scan -file /usr/spool/mail/myuserid +inbox

	Note that in my case, +inbox always has messages in it.

The responses I received are below.

----Response #1

Hi,

I saw your question on comp.mail.mh.  I've seen the problem myself, and
believe it's actually due to the reason you dismissed, that is, drafts
being the last accessed folder.  scan seems to fail if the current folder
is empty.  The reason for that is beyond me.  To see if this is your
problem, you can type 'rsh mailsrvr folder' and see what it comes up with.

The only way I've managed to fix it is to keep a dummy file ~/Mail/drafts/1
containing:

	From: esm
	Subject:
	--------

What it contains probably isn't very important; but you must make sure it's
not empty.  An empty file in drafts will causes problems on inc.  Again,
the reason for that isn't clear to me.

Hope this works for you,
^E (xlbiff author and user)
-- 
Ed Santiago, Software Type				esm@Auspex.com
Auspex Systems, Inc.    Santa Clara, CA, USA

----Response #2

In article <1992Oct2.150010.10645@mlb.semi.harris.com> smccoy@dw3g.ess.harris.com (Scott McCoy) writes:
> 	Sometimes, when I issue the scan command with a '-file' 
> 	parameter like so:
> 		rsh mailsrvr scan -file /usr/spool/mail/myuserid
> 	scan returns the following:
> 		scan: no messages in drafts
> 	Note that I get this error regardless of whether there actually
> 	is mail in the /usr/spool/mail/myuserid file or not.

That's a bug in scan.  Before it does anything about the -file switch,
scan silently looks in your *current folder* (in this case, on the
"mailsrvr" host).  I don't know why.  If the folder is empty, scan
complains and quits.

A shorter workaround than yours is to add the name of a folder that
has a message in it--along with the -file switch:

	rsh mailsrvr scan -file /usr/spool/mail/myuserid +inbox

Or, if your current folder on mailsrvr is always "drafts", you can leave
a single message in drafts/1.  (BTW, that also solves a problem with
"xmh" where it complains when you open an empty drafts folder.)
-- 
Jerry Peek, O'Reilly & Associates, jerry@ora.com, (617)354-5800

----
Scott McCoy	Harris ISD	Opinions expressed are my own.
Staff Eng - SW	Internet: 	smccoy@dw3g.ess.harris.com
Newsgroups: comp.mail.mh
From: obi@gumby.ocs.com (Obi Thomas)
Subject: Re: using fullname in scan
Reply-To: obi@gumby.ocs.com
Organization: Online Computer Systems, Inc.
Date: Mon, 5 Oct 1992 04:26:41 GMT

In article <48269@shamash.cdc.com>, larimer@zeus.cdc.com (Mark D. Larimer)
answers a question by Eric Tholome (tholome@bangalore.esf.de) on how to
display "proper names" instead of email addresses in the output of scan.

I'd like to add that you must also have compiled mh *without* the BERK
option. With the BERK option, the code to parse proper names from mail
headers is disabled.

To see the options used to compile scan, use the command

	scan -help

and you'll see a line that looks like this, listing all the options set at
compile time:

options: [BSD42] [BSD43] [DUMB] [FOLDPROT='"0700"'] [MSGPROT='"0600"']
         [SBACKUP='"#"'] [SENDMTS] [SUN40] [SUN41] [TYPESIG=void]
From: jerry@ORA.COM (Jerry Peek)
Newsgroups: comp.mail.mh
Subject: Re: .mh_sequences is poorly formatted
Date: 2 Oct 92 12:37:09 GMT
Distribution: world
Organization: The Internet

> Has anyone fixed mh (6.7.2) to correct this error?
> 
>   % inc
>   inc: /usr1/jdh/mh/inbox/.mh_sequences is poorly formatted

I haven't seen any replies to your question.  So here's a copy of the
part of the MH Nutshell Handbook I wrote, in Section 7.3.4, that
explains the problem and a workaround.  This talks about the
"Previous-Sequence:" MH profile entry and the "pseq:" entry in your
.mh_sequences file, but the problem can happen in *any* sequence:

A Previous-Sequence: entry can cause trouble if your folders have
hundreds or thousands of messages with gaps in the numbering.  If you
run a command like "scan" or "refile all" in those folders, MH tries to
put a complete listing of all the folder's message numbers on a single
line in the .mh_sequences file.  If the line gets too long, you'll see
the error message "xxx/.mh_sequences is poorly formatted".

To prevent this, keep big folders packed with "folder -pack."

If it happens anyway, use the following five commands to delete the
long line from the .mh_sequences file and pack the folder (these
commands assume that your previous sequence is named "pseq"):

	% cd `mhpath`
	% mv .mh_sequences temp_sequences
	% sed /pseq:/d temp_sequences > .mh_sequences
	% folder -pack
	% rm temp_sequences

(If you aren't confident about this, check with an expert first.)
I used the command "sed /pseq:/d" instead of "grep -v pseq:"
because some versions of "grep" truncate long lines.
--
Jerry Peek, O'Reilly & Associates, jerry@ora.com, (617)354-5800
From: adamm@inset.com (Adam S. Moskowitz)
Newsgroups: comp.mail.mh
Subject: How do I . . .?
Date: 27 Sep 92 04:18:55 GMT
Organization: The Instruction Set, Waltham, MA

I'm in the process of switching to MH, and there are a few things I'd
like to do but can't quite figure out. If anyone can help, I'd sure
appreciate it.

I'm using MH on AIX v3.2; here's what I get for version info:

	MH [6.6 UCI] [RAND] [IBM AIX 3.1]

Yeah, I know, I should be using 6.7.2, but after beating my head against
a wall for a week trying to get it to compile under AIX, I gave up.
Besides, my boss was starting to wonder why I wasn't getting any real
work done. :-) If the answer to any of these questions is, "It's fixed
in 6.7.x," well, I'll have to beat harder on IBM.

Anyway . . .

0) Where are the escapes used in replcomps (such as lit, formataddr,
   putaddr, nonnull, void, etc.) documented? I know about the stuff
   in mh-format(5), but these aren't there. Yes, I've R'd TFM.

1) Is there a way to get formataddr (in replcomps) to use
   only the domain name? I want "inset.com" but I get
   "cumin.inset.com".

2) When replying to mail, I'd like to have repl (or a replacement)
   Show each header line, empty or not, and then wait for input.
   Ideally, said program would let me edit the header the way BSD
   Mail does, that is, using ^W, ^H, ^U, etc. Better still would be
   a program that lets me do ksh-style editting using vi or emacs
   keys. (I don't want much, do I?) Does anyone have such a beast?

3) Is there a way to have repl query for the headers then immediately
   run an editor or some other program (rather than have to type ^D
   and then edit at the What now? prompt)? (I suppose this is really
   an extension of #2.)

If anyone can please help, I'd sure appreciate it. Of course, if folks
email replies to me (adamm@inset.com), I'll summarize to the group.

Thanx,
AdamM
(Almost an MH convert)
-- 
"Frisbeetarianism is the belief that when you die your    | Adam S. Moskowitz
soul goes up on the roof and gets stuck."                 | adamm@inset.com
                                                          | ...!uunet!\
(unknown)                                                 |      usinset!adamm
Newsgroups: comp.mail.mh
From: nick@osf.org (Nick Dokos)
Subject: Re: How can you tell if the current folder exists?
Organization: Open Software Foundation
	<2175.718378517@rubble>
Date: 06 Oct 92 12:20:21 GMT

Don Libes's expect can be used to "cure those uncontrollable fits of
interaction". Here is a stab at it:

----------testfolder---------------
#! /usr/local/bin/expect -f

spawn ksh
expect {\$\ }
send "folder -fast\r"
exec sleep 1
expect {*Create\ folder*\?\ } {
		send "n\r"
		exit 1
	}\
	* {exit 0}
----------------------------------

Invoking this as

testfolder >/dev/null

you can check the exit status ($? in sh and ksh).
If 1, the folder was not there. If 0, it was there.

expect (and some papers on it) can be obtained from
ftp.cme.nist.gov:/pub/expect.

--
Nick Dokos	nick@osf.org	
OSF Systems Engineering

Member of the League for Programming Freedom - write to league@prep.ai.mit.edu
Newsgroups: comp.mail.mh
From: bdale@col.hp.com (Bdale Garbee)
Subject: Re: post: problem initializing server; [BHST] no servers available ????
Date: Fri, 2 Oct 1992 22:20:32 GMT
Organization: HP Colorado Springs Division

pinkas@skywalker.intel.com (Israel Pinkas) writes:
> 	   post: problem initializing server; [BHST] no servers available
> 	   send: message not delivered to anyone
> 
> This is a result of your SMTP daemon dying.  On most Unix platforms, you
> can just restart the sendmail daemon without priveleges.  Talk to your sys
> admin.

On some systems, like HP-UX, where it is possible to restrict inetd connection
based on IP address, it's also common to see this problem when someone forgets
to include 'localhost' aka 127.0.0.1 in the list of allowed hosts for smtp
connection.

Bdale
Newsgroups: comp.mail.mh
From: rhill@dale.ksc.nasa.gov (Russ Hill)
Subject: Need help making a configure script for mh
Organization: NASA
Date: Tue, 6 Oct 1992 13:13:23 GMT


Anyone want to work on a configure script for mh?
I think that is the reason why people do no use mh as much as other tools.

A configure script would prompt the user about how to configure mh and also
automaticly tries to figure out  what type of system the users has and makes 
default answers accordingly.

I have plently of machines to test it out on. (sun,irix,hp-ux,aix,domain/os,
ISC,ultrix,  and many more)

This cannot be too difficult. We could probably use the 
perl or some gnu configure script as a reference.

I think if mh was easy to port with a configure script many more 
people would use it.

any takers. 

I am very willing to help. I just do not know enough about mh to do this alone.  

Russ

-- 

Russ Hill
rhill@dale.ksc.nasa.gov
(407) 633-3950
From: aks%anywhere@HUB.UCSB.EDU (Alan Stebbens)
Newsgroups: comp.mail.mh
Subject: Re: dangerous bug in (x)mh...
Date: 2 Oct 92 03:01:38 GMT
Distribution: world
Organization: The Internet
X-Unparsable-Date: Thu, 01 Oct 92 14:19:12 +22312049

> It seems that .. xmh will send another file to the people you
> specified on the current draft.

I have been using mh (from versions 6.5 through 6.7.2) for almost four
years, *with* a draft folder (lots of drafts) and I've never seen this
symptom, under SunOS4.x nor AIX 3.1, or AIX 3.2.  I also use mh-e in
Emacs to "front-end" mh.  My staff uses mh daily, without Emacs, one
uses xmh, with lots of folders and they haven't experienced this problem
either.

If there is a bug, it may be because of (a) mh-6.6, or (b) an
interaction of xmh with mh-6.6, and it may be peculiar to your
system-type and configuration.  For example, are you using NFS? an
automounter?  is your NFS server heavily loaded?  There are may
considerations which may affect you and not exist elsewhere.  You get
the idea.

I would suggest trying mh-6.7 with drafts again, and then report any
wierdnesses you encounter.

Alan Stebbens        <aks@hub.ucsb.edu>             (805) 893-3221
     Center for Computational Sciences and Engineering (CCSE)
          University of California, Santa Barbara (UCSB)
           3111 Engineering I, Santa Barbara, CA 93106


----------------------------------------
I don't think we ought to judge the whole People's Liberation Army by
 that terrible incident.
                -- President George Bush, four days after the
                   Tiananmen Square massacre.
Newsgroups: comp.mail.mh
From: march@nynexst.com (Gregory March)
Subject: Highlighting
Organization: NYNEX Science & Technology Center, White Plains, N.Y.
Date: 28 Sep 92 10:42:12


Perhaps a dumb question, but I can't seem to find an answer...

Can you tell any of the forms/filters in MH to produce a terminal
"highlight" or other similar escape sequence? I would like to
highlight the "Subject:" line when I do a 'show' and other similar
stuff. (By highlight, I mean something like inverse video, bold,
flash, etc.)

A hack would be fine, but I'd prefer it if it were not terminal
specific, similar to "clearscreen" (which doesn't seem to work on my
xterm).

Thanks...

greg
--

------
Gregory F. March    march@nynexst.com
From: pinkas@skywalker.intel.com (Israel Pinkas)
Newsgroups: comp.mail.mh
Subject: Re: post: problem initializing server; [BHST] no servers available ????
Date: 2 Oct 92 03:23:29 GMT
Organization: Software Technologies, INTeL Corporation, Santa Clara, CA

In article <9210010003.AA00256@x1sun13.ccl.itri.org.tw> faust@x1sun13.ccl.itri.org.tw (Jiunn-Chen Lin X-terminal) writes:

	   I use MH for a long time. It works well. Recently when I try to
	   send a mail to someone, it shows the following message:
	   post: problem initializing server; [BHST] no servers available
	   send: message not delivered to anyone

This is a result of your SMTP daemon dying.  On most Unix platforms, you
can just restart the sendmail daemon without priveleges.  Talk to your sys
admin.

-Israel
--
Israel Pinkas		pinkas@stps18.intel.com		408-765-4210

	"Everybody's askaird of death, until it hits you ...
	 then you don't care"		-Archie Bunker
From: larimer@zeus.cdc.com (Mark D. Larimer)
Newsgroups: comp.mail.mh
Subject: Re: using fullname in scan
Date: 4 Oct 92 22:22:30 GMT
Organization: Control Data Systems, Inc.
X-UserAgent: Nuntius v1.1.1d11
X-XXMessage-ID: <A6F4D8C23E01A11B@larimer.cpg.cdc.com>
X-XXDate: Sun, 4 Oct 92 23:22:10 GMT

In article <9210011523.AA17706@bangalore.esf.de> Eric Tholome, 
tholome@bangalore.esf.de writes:
>
>How do I get scan to use fullnames instead of email addresses when they
are
>available? (e.g. if a message says: "From: John Doe
<doe@whitehouse.gov>", I'd
>like scan to display it as coming from John Doe instead of
doe@whitehouse.gov).

This is how I do it:

  Create a text file called scanForm (or whatever...) containing the
following:

		%(msg)|\
		%(date2local{date})\
		%02(year{date})/\
		%02(mon{date})/\
		%02(mday{date}) \
		%02(hour{date}):\
		%02(min{date})|\
		%(size)|\
		%(friendly{from})|\
		%{subject}

Then from the unix prompt:

	% scan -form scanForm

Let me know if you have problems or questions...

Mark D. Larimer
(Control Data Systems, Inc.) && (University of Minnesota)
Internet: larimer@cdc.com

Go Meanies (3-1) !!
From: tholome@bangalore.esf.de (Eric Tholome)
Newsgroups: comp.mail.mh
Subject: dangerous bug in (x)mh...
Date: 1 Oct 92 15:44:27 GMT

It seems that "sometimes" (once every 20 times, approximately?), when you
"use as composition" a "draft" that you had saved before, xmh will send
another file to the people you specified on the current draft.

This in particular results in sending information to someone though it was
for someone else only. THIS IS VERY ANNOYING.

In case my explanation wasn't clear, here is what sometimes happens:

I hit "compose" and type a mail:
To: dummy

bla bla bla

I then save this, as a draft.

When I go to "drafts" and use this draft as composition, then press
"send", xmh will send another text (which could be highly confidential) to
the user "dummy", though "dummy" was supposed to receive "bla bla bla"
only.

I know this sounds crazy, but I can tell you it happened to us a couple
times. We are not sure what exactly is the bug, but it seems to be limited
to cases when something was saved in "drafts". Therefore, I would
recommend not to use the "drafts" folder, or to simply "copy and paste"
from it (as xmh will keep telling you it sent "bla bla bla" to dummy
though this isn't true!!!).

Is this something well known?
As anyone experienced that?
As anyone identified the bug more precisely?
As anyone found the way to make the bug happen?
As anyone found the way to get around this bug?
Is there a patch for this?

I should add that we are using xmh MIT X Consortium R4, and I believe this bug
was identified with mh version 6.6. We are now using version 6.7 and the bug
might be gone, but I can't tell you because I haven't dared use the drafts
since then. I would *LOVE* to hear that version 6.7 solves it actually...

						Eric

_____________________________________________________________________________
Eric Tholome       ESF Headquarters             internet: tholome@esf.de
                   Hohenzollerndamm 152         UUCP:     tholome@esf.uucp
                   D-1000 Berlin 33             Ph.:      +49 30 82 09 03 25
                               Germany          Fax:      +49 30 82 09 03 19
From: jerry@ORA.COM (Jerry Peek)
Newsgroups: comp.mail.mh
Subject: Re: How can you tell if the current folder exists?
Date: 6 Oct 92 13:35:17 GMT
Organization: The Internet

> So, is there a way of telling whether the equivalent of
> 
> 	mhpath `folder -fast`
> 
> exists and is a directory without having to answer a question (i.e. what I'm
> really asking for is a folder -nocreate switch or the equivalent).

I've wanted a -nocreate switch for a long time, too.

The folder(1) manpage for 6.7 says:  "When standard input is not a tty,
the folder is created without any query."  Sigh.  "inc" and "refile"
have the same problem as "folder" does, BTW.  So things like this
*will* create the folder; there's no prompt and the "n" is ignored:

	echo n | folder <foldername>

> A last minute test indicate that 'mhpath new' just fails - is this the only
> way to go?

Using "mhpath new" (or "mhpath <any-message>") seems like a good kludge.
The workaround I suggest in the "MH & xmh" Nutshell Handbook is in Section
12.17.11 (11.17.10 in the first edition).  The Bourne shell code is:

	if test -d `mhpath $folderarg`
	then
		# do whatever you want to do with $folderarg folder
	else
		# the $folderarg folder doesn't exist...
	fi
--
Jerry Peek, O'Reilly & Associates, jerry@ora.com, (617)354-5800
From: obrien@AERO.ORG (Michael O'Brien)
Newsgroups: comp.mail.mh
Subject: Need current "vmh", or pointer to a replacement
Date: 1 Oct 92 17:47:15 GMT
Organization: The Aerospace Corporation

I'm looking for a recent version of "vmh", or something like it, to use
as a mail reader.  Copies of "vmh" turned up by "archie" seem rather
old, and sure don't go together very well when compiled against MH 6.7
(vmh uses the -lmh library).

Anybody have a more current version, or a pointer to the replacement?
In particular, it's the only public-domain mail reader I know of that
marks messages as seen or unseen in the scan listing.
--
Mike O'Brien
obrien@aero.org
Newsgroups: comp.mail.mh
From: tchrist@convex.com (Tom Christiansen)
Subject: $TZ not honored?
Date: Wed, 7 Oct 1992 01:06:54 GMT
Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

Is there any known problem with post not putting the right Date: line if
$TZ is set?  I send mail from a machine in CDT with $TZ set to MST7MDT,
and if I post it at 2 MDT, which is 3 CDT, but it comes our saying it was
sent at 2 CDT, which is wrong.  Clues?

--tom
-- 
    Tom Christiansen      tchrist@convex.com      convex!tchrist
If you consistently take an antagonistic approach, however, people are
going to start thinking you're from New York.   :-)
        --Larry Wall to Dan Bernstein in <10187@jpl-devvax.JPL.NASA.GOV>