🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #894

patches for bbn butterfly gp1000

#894
From: Kaveh R. Ghazi
Date: Sat, 15 Aug 1992 22:52
41 lines
1840 bytes
	I got bash-1.12 compiled and working on my BBN Butterfly GP1000 running
Mach 1000 v2.5.  Here is the machines.h diffs:

diff -r bash-1.12/machines.h bbn-bash-1.12/machines.h
1123a1124,1142
> /* ************************ */
> /*                        */
> /*   BBN Butterfly GP1000   */
> /*   Mach 1000 v2.5       */
> /*                        */
> /* ************************ */
> #if defined (butterfly) && defined (BFLY1)
> #define M_MACHINE "BBN Butterfly"
> #define M_OS "Mach 1000"
> #undef HAVE_UNISTD_H
> #define HAVE_SETLINEBUF
> #define HAVE_SYS_SIGLIST
> #define HAVE_GETGROUPS
> #define HAVE_VFPRINTF
> #ifdef BUILDING_MAKEFILE
> MAKE = make
> #endif /* BUILDING_MAKEFILE */
> #endif /* butterfly */

	I also had to tweek builtins/Makefile:
diff -r bash-1.12/builtins/Makefile bbn-bash-1.12/builtins/Makefile
70c70
<       $(SHELL) ./psize.sh > pipesize.h
---
>       @$(SHELL) ./psize.sh > pipesize.h

	I made this change because for some strange reason, the make variable
$(SHELL) evaluated to my environment variable $SHELL (don't ask me why) and
it tried to execute as "/bin/tcsh ./psize.sh > pipesize.h".  This caused
psize.sh to run with csh syntax and it failed.  When I added the @ in the
makefile, it ran with /bin/sh and worked fine.

		--Kaveh
-- 
Kaveh R. Ghazi			CAIP Center, Rutgers University.
ghazi@caip.rutgers.edu		rutgers!caip.rutgers.edu!ghazi
Technical Details
Message-ID: <Aug.15.18.52.32.1992.23625@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!caip.rutgers.edu!ghazi

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!caip.rutgers.edu!ghazi
From: ghazi@caip.rutgers.edu (Kaveh R. Ghazi)
Subject: patches for bbn butterfly gp1000
Message-ID: <Aug.15.18.52.32.1992.23625@caip.rutgers.edu>
Sender: gnulists@ai.mit.edu
Organization: Rutgers Univ., New Brunswick, N.J.
Distribution: gnu
Date: Sat, 15 Aug 1992 22:52:32 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 42