Termcap code in Phil's BASIC
Douglas H. Price
dhp at ihlpa.UUCP
Thu Dec 18 04:25:24 AEST 1986
> 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
More information about the Comp.sources.bugs
mailing list