Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!husc6!rutgers!clyde!cuae2!ihnp4!ihlpa!dhp
From: dhp@ihlpa.UUCP (Douglas H. Price)
Newsgroups: comp.sources.d,net.sources.bugs
Subject: Re: Termcap code in Phil's BASIC
Message-ID: <2537@ihlpa.UUCP>
Date: Wed, 17-Dec-86 13:25:24 EST
Article-I.D.: ihlpa.2537
Posted: Wed Dec 17 13:25:24 1986
Date-Received: Thu, 18-Dec-86 06:51:06 EST
References: <447@moncol.UUCP>
Organization: AT&T Bell Labs, Naperville, IL
Lines: 16
Xref: mnetor comp.sources.d:84 net.sources.bugs:914

> Has anyone else had luck bringing up the recently-posted BASIC interpreter
> (Phil's BASIC) on a machine other than the four mentioned in the posting?

Yes.  It turns out that Phil implemented two routines which hose up System V
machines.  One is setupterm(), which is found in the Sys V terminfo library.
I renamed it to bsetupterm().  The other is strcpy().  This is the one that
really hangs up terminfo.  Phil's  version (which I assume was implemented
before the advent of the standard strings library) has the arguments in the
reverse order, and has a different return value.  Simply rename all references
to bstrcpy() and the problem goes away.

-- 
						Douglas H. Price
						Analysts International Corp.
						@ AT&T Bell Laboratories
						..!ihnp4!ihlpa!dhp