🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin
Article #4076

Re: uuhosts and mod.map

#4076
From: root
Date: Thu, 12 Feb 1987 05:23
36 lines
2052 bytes
In article <2413@mtgzy.UUCP> ecl@mtgzy.UUCP writes:
>I have installed netnews 2.11 with all three (and a half) patches. [...]
>[...] I ran "uuhosts -setup" and got messages like the following:
>> x - d.att
>> /usr/lib/news/mapsh: syntax error at line 1: `(' unexpected
>> /usr/lib/news/mapsh: syntax error at line 1: `abflx' unexpected
>> ...
>> /usr/lib/news/mapsh: syntax error at line 1: `ucbvax' unexpected
>> /usr/lib/news/mapsh: !Funky!Stuff!: not found
>
>I am running UTS SVR2 on an Amdahl.  /usr/lib/news/mapsh looks like:
>
>       [ Lots of un-needed stuff deleted ]
>
>Can anyone explain why these two pieces of software don't seem to fit together
>here?  Has anyone else seen this problem?  I have included all information I
>thought might be important.

From the above, it looks like:
	1) mapsh is a 'shar' file (an archive set up as a Bourne Shell script)
	    - and -
	2) your system is trying to use csh to unshar it.

The cause may be that you have SHELL=/bin/csh in your environment
   (do you have a "setenv SHELL /bin/csh" in your .loguin or .cshrc files?)
You can change this in one of 2 ways:
	1) before doing "uuhosts -setup", type "setenv SHELL /bin/sh"
	  - or -
	2) edit /usr/lib/news/mapsh and make sure the first line is:
		4.xBSD, or derivations   : "#! /bin/sh"
		System 5, USG, V7, XENIX : ":"
	These changes force the system to use the Bourne Shell (/bin/sh)
	to unshar the mapsh file.

Hope this helps!  Good luck!
  John
Technical Details
Message-ID: <112@hobbes.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!uwvax!uwmacc!hobbes!root
References: <2413@mtgzy.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!uwvax!uwmacc!hobbes!root
From: root@hobbes.UUCP
Newsgroups: news.admin,news.software.b
Subject: Re: uuhosts and mod.map
Message-ID: <112@hobbes.UUCP>
Date: Thu, 12-Feb-87 00:23:30 EST
Article-I.D.: hobbes.112
Posted: Thu Feb 12 00:23:30 1987
Date-Received: Fri, 13-Feb-87 00:02:28 EST
References: <2413@mtgzy.UUCP>
Reply-To: root@hobbes.UUCP (0000-Admin(0000))
Organization: /usr/lib/news/organization
Lines: 36
Keywords: incompatible?